/* ===================================
   CELVIAR HOMEPAGE STYLES
   =================================== */

/* Font Faces */
@font-face {
    font-family: 'Ballet';
    src: url('assets/font/H1-Ballet-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville';
    src: url('assets/font/Body-Baskerville.ttc') format('collection');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Color Palette */
    --color-navy: #1a2332;
    --color-blue: #2b3e50;
    --color-burgundy: #6d2e46;
    --color-emerald: #2d5f4f;
    --color-gold: #c9a961;
    --color-grey-dark: #4a5568;
    --color-grey-mid: #718096;
    --color-grey-light: #cbd5e0;
    --color-white: #ffffff;
    --color-off-white: #f7fafc;
    --color-cream: #faf5f0;
    
    /* Typography */
    --font-heading: 'Ballet', serif;
    --font-body: 'Baskerville', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 1.5rem;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-navy);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: center;
}

.nav-pill {
    background: rgba(250, 245, 240, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    pointer-events: all;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .nav-pill {
    background: rgba(250, 245, 240, 0.75);
    border-color: rgba(201, 169, 97, 0.15);
    padding: 0.625rem 1.75rem;
}

.logo {
    height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .logo {
    height: 42px;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-navy);
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    height: 90vh;
    min-height: 700px;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.05) 0%, rgba(26, 35, 50, 0.15) 100%);
}

.hero-brand {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 11rem);
    color: var(--color-white);
    font-weight: normal;
    letter-spacing: 0.05em;
    text-shadow: 
        0 0 40px rgba(113, 128, 150, 0.4),
        0 0 80px rgba(113, 128, 150, 0.3),
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 8px 60px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0 2px 12px rgba(113, 128, 150, 0.5));
}

/* ===================================
   PRODUCT INFORMATION
   =================================== */

.product-info {
    position: relative;
    overflow: hidden;
}

.product-background {
    background: linear-gradient(180deg, var(--color-cream) 0%, #f2ebe3 100%);
    position: relative;
    padding: var(--spacing-xxl) 0;
}

.product-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(45, 95, 79, 0.02) 2px, rgba(45, 95, 79, 0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(45, 95, 79, 0.02) 2px, rgba(45, 95, 79, 0.02) 4px);
    opacity: 0.6;
    pointer-events: none;
}

.product-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

.product-content {
    max-width: 1000px;
    margin: 0 auto;
}

.product-header {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 2px 8px rgba(45, 95, 79, 0.2);
}

.product-heading {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.35;
    color: var(--color-navy);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.product-features-wrapper {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 16px;
    padding: var(--spacing-lg) var(--spacing-md);
    margin: var(--spacing-lg) 0;
    box-shadow: 
        0 8px 32px rgba(26, 35, 50, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(45, 95, 79, 0.1);
    position: relative;
}

.product-features-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.4), transparent);
}

.product-features {
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    margin: var(--spacing-md) 0;
    padding-left: 2.5rem;
    position: relative;
}

.feature-icon {
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(201, 169, 97, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50%;
}

.feature-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    color: var(--color-grey-dark);
    font-weight: 400;
}

.product-description-wrapper {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-emerald);
    background: linear-gradient(90deg, rgba(45, 95, 79, 0.05), transparent);
}

.product-description {
    font-size: clamp(1.125rem, 2.5vw, 1.625rem);
    line-height: 1.85;
    color: var(--color-grey-mid);
    font-weight: 400;
    font-style: italic;
}

/* ===================================
   FOUNDING MEMBER SECTION
   =================================== */

.founding-member {
    padding: var(--spacing-xl) 0;
    background: var(--color-navy);
    text-align: center;
}

.founding-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    font-weight: normal;
    letter-spacing: 0.02em;
}

.founding-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.btn-luxury {
    position: relative;
    display: inline-block;
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
    font-family: var(--font-body);
    color: var(--color-navy);
    background: linear-gradient(135deg, var(--color-gold) 0%, #d4b070 100%);
    border: none;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.3),
                0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, rgba(109, 46, 70, 0.9) 0%, rgba(109, 46, 70, 0.95) 100%);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-luxury:hover .btn-overlay {
    height: 100%;
}

.btn-luxury:hover .btn-text {
    color: var(--color-white);
}

.btn-luxury:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 4px;
}

.btn-luxury:active {
    transform: translateY(0);
}

/* ===================================
   LIFESTYLE SECTION
   =================================== */

.lifestyle {
    padding: 0;
    background: var(--color-white);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.lifestyle-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4/5;
}

.lifestyle-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.lifestyle-item:hover img {
    transform: scale(1.03);
}

/* ===================================
   SOCIAL SECTION
   =================================== */

.social-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--color-off-white) 0%, var(--color-cream) 100%);
}

.social-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.social-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(26, 35, 50, 0.12);
}

.social-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.social-content {
    text-align: center;
}

.social-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    font-weight: normal;
}

.social-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: var(--color-grey-mid);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 400px;
    margin: 0 auto;
}

.social-icon {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
    box-shadow: 
        0 4px 12px rgba(26, 35, 50, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--color-emerald), var(--color-gold));
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
    border-color: var(--color-gold);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-locations {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-grey-light);
}

.separator {
    margin: 0 1rem;
    opacity: 0.5;
}

.footer-contact {
    max-width: 500px;
    margin: 0 auto;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: normal;
    color: var(--color-gold);
}

.footer-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-grey-light);
    margin-bottom: var(--spacing-xs);
}

.footer-link {
    display: inline-block;
    font-size: 1rem;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-logo {
    margin-top: var(--spacing-sm);
    opacity: 0.7;
}

.footer-logo img {
    width: 50px;
    height: auto;
    margin: 0 auto;
}

/* ===================================
   TABLET STYLES (768px+)
   =================================== */

@media screen and (min-width: 768px) {
    .hero-image {
        height: 92vh;
        min-height: 750px;
    }
    
    .lifestyle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo {
        height: 55px;
    }
    
    .header.scrolled .logo {
        height: 46px;
    }
    
    .social-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .social-content {
        text-align: left;
    }
    
    .social-description {
        margin-left: 0;
    }
    
    .social-icons {
        margin-left: 0;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ===================================
   DESKTOP STYLES (1024px+)
   =================================== */

@media screen and (min-width: 1024px) {
    :root {
        --container-padding: 3rem;
        --spacing-xxl: 10rem;
    }
    
    .hero-image {
        height: 95vh;
        min-height: 850px;
    }
    
    .product-heading {
        font-size: 3.875rem;
        line-height: 1.3;
    }
    
    .feature-text {
        font-size: 1.875rem;
    }
    
    .product-description {
        font-size: 1.75rem;
        line-height: 1.9;
    }
    
    .footer-container {
        grid-template-columns: auto 1fr auto;
        text-align: left;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-logo {
        text-align: right;
        margin-top: 0;
    }
    
    .footer-logo img {
        margin: 0 0 0 auto;
    }
}

/* ===================================
   LARGE DESKTOP STYLES (1440px+)
   =================================== */

@media screen and (min-width: 1440px) {
    .hero-brand {
        font-size: 12rem;
    }
    
    .product-heading {
        font-size: 4.25rem;
    }
    
    .feature-text {
        font-size: 2rem;
    }
    
    .product-description {
        font-size: 1.875rem;
    }
}

/* ===================================
   MOBILE STYLES (max 767px)
   =================================== */

@media screen and (max-width: 767px) {
    .lifestyle-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --color-navy: #000000;
        --color-grey-mid: #2d3748;
    }
    
    .btn-luxury {
        border: 3px solid var(--color-navy);
    }
}