/* =========================================
   Wheel&Meal Landing Page - Styles
   ========================================= */

/* Font Face - Local Autography */
@font-face {
    font-family: 'Autography';
    src: url('../ASSETS/Autography.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties (Design Tokens from Figma) */
:root {
    /* Colors - Exact from Figma */
    --accent-gold: #bf9903;
    /* Bg/Dark/0, Fg/Positivo/0 */
    --bg-dark: #282828;
    /* Bg/Dark/1 */
    --fg-white: #ffffff;
    /* Fg/Negativo/1 */
    --fg-light: #f9f9f9;
    /* Fg/Negativo/2 */
    --fg-gray: #5c5c5c;
    /* Fg/Positivo/2 */
    --bg-light: #f1f1f1;
    /* Bg/Light/2 */
    --light-gray: #dbdbdb;
    /* Palette/Light-Grey */

    /* Overlay - User specified */
    --overlay-color: rgba(40, 40, 40, 0.85);

    /* Typography - From Figma */
    --font-1: 'Inter', sans-serif;
    /* Caratteri/Font 1 */
    --font-2: 'Josefin Sans', sans-serif;
    /* Caratteri/Font 2 */
    --font-accent: 'Poppins', sans-serif;
    /* Variabili modificabili/Carattere 1 */
    --font-script: 'Autography', cursive;

    /* Font Sizes - From Figma */
    --size-h3: 39px;
    --size-h5: 24px;
    --size-body1: 19px;
    --size-body2: 16px;
    --size-body3: 13px;

    /* Spacing - From Figma */
    --container-width: 1440px;
    --border-radius-btn: 8px;
    /* Attivo/lv1 (bottoni, immagini) */
    --border-radius-sharp: 0;
    /* Tipo di arrotondamento/Spigoloso */

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-1);
    font-size: var(--size-body2);
    font-weight: 400;
    line-height: 1.4;
    color: var(--fg-white);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   Video Background
   ========================================= */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

/* =========================================
   Top Bar (Header)
   ========================================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-gold);
    z-index: 100;
    padding: 10px 0;
}

.top-bar-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-text {
    font-family: var(--font-1);
    font-size: var(--size-body3);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1px;
    color: var(--fg-white);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--fg-white);
    font-size: 13px;
    transition: opacity var(--transition-fast);
}

.social-link:hover {
    opacity: 0.7;
    color: var(--fg-white);
}

/* =========================================
   Page Layout
   ========================================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   Main Content
   ========================================= */
.main-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 60px;
    text-align: center;
    min-height: calc(100vh - 278px);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 90px;
}

.hero-logo {
    width: 100%;
    max-width: 500px;
    margin-bottom: 110px;
}

/* h3 style from Figma */
.hero-title {
    font-family: var(--font-2);
    font-size: var(--size-h3);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -4px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

/* Script subtitle */
.hero-subtitle {
    font-family: var(--font-script);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    color: #fff;
    opacity: 0.6;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    width: 100%;
    max-width: 800px;
}

.cta-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.cta-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 0 40px;
}

/* Vertical separator between columns */
.cta-separator {
    width: 1px;
    background-color: var(--fg-gray);
    align-self: stretch;
}

.cta-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 35px;
}

/* Icon - body2 size, Font Awesome */
.cta-header i {
    font-size: var(--size-body2);
    color: var(--accent-gold);
}

/* h5 CAPS style from Figma - Poppins Bold */
.cta-title {
    font-family: var(--font-accent);
    font-size: var(--size-body2);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--fg-white);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
}

/* =========================================
   Buttons - Outline Style from Figma
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    transition: all var(--transition-fast);
    height: inherit;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--fg-white);
    color: var(--fg-white);
}

.btn-outline:hover {
    background-color: var(--fg-white);
    color: var(--bg-dark);
}

.btn-outline:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* =========================================
   Footer - Solid dark background
   ========================================= */
.footer {
    position: relative;
    z-index: 10;
    width: 100%;
    background-color: var(--bg-dark);
    padding: 80px 0px 24px;
}

/* Bottom Logo inside footer */
.footer-logo-section {
    display: flex;
    justify-content: center;
    padding-bottom: 60px;
}

.footer-logo {
    width: 100%;
    max-width: 420px;
}

/* Footer bar */
.footer-bar {
    border-top: 1px solid var(--fg-gray);
    padding: 20px 40px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* body3 style from Figma - 13px, letter-spacing 1px */
.footer-left p,
.footer-center a,
.footer-right a {
    font-family: var(--font-1);
    font-size: var(--size-body3);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 1px;
    color: var(--fg-white);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--fg-white);
}

.footer-links .separator {
    color: var(--fg-white);
}

.footer-right a:hover {
    color: var(--accent-gold);
}

/* =========================================
   Responsive Styles
   ========================================= */

/* Tablet */
@media (max-width: 1024px) {
    .main-content {
        padding: 100px 30px 40px;
    }

    .hero-logo {
        max-width: 380px;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -3px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .cta-grid {
        gap: 60px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .top-bar-content {
        padding: 0 20px;
        justify-content: center;
    }

    .main-content {
        padding: 80px 20px 30px;
    }

    .hero {
        margin-bottom: 36px;
    }

    .hero-logo {
        max-width: 260px;
        margin-bottom: 32px;
    }

    .hero-title {
        font-size: 26px;
        letter-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .cta-grid {
        flex-direction: column;
        gap: 32px;
    }

    .cta-column {
        padding: 0;
    }

    .cta-separator {
        width: 100%;
        height: 1px;
    }

    .cta-buttons {
        max-width: 280px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-logo-section {
        padding-bottom: 40px;
    }

    .footer-logo {
        max-width: 260px;
    }

    .footer-bar {
        padding: 16px 20px;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-left p,
    .footer-center a,
    .footer-right a {
        font-size: 11px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .cta-title {
        font-size: 14px;
    }

    .btn {
        font-size: 13px;
        padding: 12px 20px;
    }
}