:root {
    /* Colors - Midnight Palette (HSL tailored) */
    --color-background: #0a0e1a;
    --color-surface: #111417;
    --color-surface-low: #191c1f;
    --color-surface-lowest: #0c0e12;
    --color-primary: #e9c349; /* Starlight Gold */
    --color-on-background: #e1e2e7;
    --color-on-surface: #e1e2e7;
    --color-secondary: #c6c6c6; /* Ethereal Silver */
    --color-outline: rgba(70, 70, 76, 0.15);
    
    /* Spacing */
    --spacing-16: 5.5rem;
    --spacing-12: 4rem;
    --spacing-4: 1.5rem;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-background);
    color: var(--color-on-background);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Navigation */
.glass-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.5rem 0; /* padding on content instead */
    transition: all 0.4s ease;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(233, 195, 73, 0.3));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 300;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links .cta-link {
    color: var(--color-primary);
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    text-align: center;
    overflow: hidden;
    line-height: 0;
}

.hero-image-container {
    width: 100%;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.45;
    filter: brightness(0.6) contrast(1.2);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
}

.display-lg {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 8rem); /* Slightly reduced max size */
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(233, 195, 73, 0.1);
    font-weight: 400;
    line-height: .9;
    word-break: break-word; /* handle long titles */
}

.subtitle {
    font-size: clamp(0.75rem, 2vw, 1.15rem);
    color: var(--color-secondary);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: clamp(1.5rem, 6vw, 5rem);
    font-weight: 300;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 4rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #f1d372 100%);
    color: #1a1500;
    box-shadow: 0 10px 30px rgba(233, 195, 73, 0.2);
}

.btn.primary:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(233, 195, 73, 0.4);
    filter: brightness(1.1);
}

/* Story Section */
.story-section {
    padding: var(--spacing-16) 0;
    background-color: var(--color-surface);
}

.headline-lg {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 3.5rem;
    color: var(--color-primary);
    font-weight: 400;
}

.story-content {
    max-width: 850px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--color-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    color: var(--color-primary);
    border-left: 1px solid var(--color-primary);
    padding-left: 2.5rem;
    margin-top: 5rem;
    line-height: 1.4;
}

/* Products Section */
.products-section {
    padding: var(--spacing-16) 0;
    background-color: var(--color-surface-low);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5rem;
    margin-top: 5rem;
}

.product-card {
    background-color: var(--color-surface-lowest);
    padding: 0;
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-image-container {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 2.5rem 0;
}

.product-card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-weight: 400;
}

.product-card p {
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.product-card .service-desc {
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
    color: var(--color-on-background);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 300;
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-16) 0;
    background-color: var(--color-surface);
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
    padding: 0 4rem;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-surface-lowest);
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-btn {
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-outline);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: var(--color-background);
    transform: scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Values Section */
.values-section {
    padding: var(--spacing-16) 0;
    background-color: var(--color-background);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.value-item h3 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.2rem;
    font-weight: 600;
}

.value-item p {
    color: var(--color-secondary);
    font-weight: 300;
    font-size: 1.1rem;
}

/* Footer & WhatsApp */
footer {
    padding: var(--spacing-16) 0 5rem;
    background-color: var(--color-surface-lowest);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background-color: #25D366;
    color: white;
    padding: 1.3rem 3.5rem;
    text-decoration: none;
    border-radius: 1px;
    font-weight: 600;
    margin-top: 3.5rem;
    transition: all 0.4s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.25);
}

.footer-bottom {
    margin-top: 8rem;
    font-size: 0.75rem;
    color: rgba(198, 198, 198, 0.3);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .values-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .display-lg {
        font-size: clamp(3rem, 15vw, 4.5rem);
        margin-bottom: 0.5rem;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

    .subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.2em;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.8rem;
        width: auto;
        font-size: 0.8rem;
    }
}
