<?php
/**
 * 100vh Single Page Homepage for Prototype Viewers (Light Mode)
 * Brand Identity: Bowden Works
 *
 * @package Proto_Previewer
 */

if (!defined('ABSPATH')) exit;
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Prototype Viewers by Bowden Works</title>
    <link rel="profile" href="https://gmpg.org/xfn/11">
    <link rel="icon" type="image/jpeg" href="https://bowdenworks.com/wp-content/uploads/2023/07/bowdenworks_square.jpg">
    <link rel="apple-touch-icon" href="https://bowdenworks.com/wp-content/uploads/2023/07/bowdenworks_square.jpg">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Radio+Canada:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">
    <?php wp_head(); ?>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            width: 100%;
            overflow: hidden;
            background-color: #f8fafc;
            color: #0f172a;
            font-family: 'Radio Canada', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        .hero-container {
            height: 100vh;
            width: 100vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 2rem;
            position: relative;
            background: radial-gradient(circle at 50% 38%, rgba(176, 43, 43, 0.05) 0%, rgba(248, 250, 252, 1) 75%);
        }

        .glow-effect {
            position: absolute;
            width: 550px;
            height: 550px;
            background: radial-gradient(circle, rgba(176, 43, 43, 0.08) 0%, rgba(176, 43, 43, 0) 70%);
            border-radius: 50%;
            pointer-events: none;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            filter: blur(50px);
        }

        .brand-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            border-radius: 999px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
            margin-bottom: 2rem;
            text-decoration: none;
            transition: all 0.25s ease;
        }

        .brand-badge:hover {
            border-color: rgba(176, 43, 43, 0.35);
            background: #fbeeed;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(176, 43, 43, 0.08);
        }

        .brand-badge img {
            width: 18px;
            height: 18px;
            border-radius: 4px;
            object-fit: cover;
        }

        .brand-badge span {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #64748b;
            transition: color 0.25s ease;
        }

        .brand-badge:hover span {
            color: #b02b2b;
        }

        h1.main-title {
            font-family: 'EB Garamond', Georgia, serif;
            font-size: clamp(3rem, 7.5vw, 5.5rem);
            font-weight: 700;
            line-height: 1.05;
            color: #0f172a;
            margin-bottom: 0.75rem;
            letter-spacing: -0.025em;
        }

        p.sub-title {
            font-family: 'Radio Canada', sans-serif;
            font-size: clamp(1.15rem, 2.5vw, 1.55rem);
            font-weight: 500;
            color: #64748b;
            letter-spacing: 0.01em;
        }

        p.sub-title strong {
            color: #b02b2b;
            font-weight: 700;
        }

        .bottom-credit {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding-bottom: 3rem;
            text-align: center;
            font-size: 0.8rem;
            color: #94a3b8;
            letter-spacing: 0.04em;
        }

        .bottom-credit a {
            color: #64748b;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .bottom-credit a:hover {
            color: #b02b2b;
        }
    </style>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>

<main class="hero-container">
    <div class="glow-effect"></div>

    <!-- Top Badge -->
    <a href="https://bowdenworks.com" target="_blank" rel="noopener" class="brand-badge">
        <img src="https://bowdenworks.com/wp-content/uploads/2023/07/bowdenworks_square.jpg" alt="Bowden Works Logo">
        <span>Bowden Works Prototyping</span>
    </a>

    <!-- Main 100vh Heading & Subtitle -->
    <h1 class="main-title">Prototype Viewers</h1>
    <p class="sub-title">by <strong>Bowden Works</strong></p>

    <!-- Bottom Tiny Footer -->
    <div class="bottom-credit">
        &copy; <?php echo date('Y'); ?> <a href="https://bowdenworks.com" target="_blank" rel="noopener">Bowden Works</a> • Internal Prototype Review System
    </div>
</main>

<?php wp_footer(); ?>
</body>
</html>
