:root {
    --bg-dark: #25070B;
    --bg-light: #3A0B12;
    --text-main: #E8D5B5;
    --gold: #B89A65;
    --gold-glow: rgba(184, 154, 101, 0.4);
    --font-serif: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    background: radial-gradient(circle at top center, var(--bg-light) 0%, var(--bg-dark) 80%);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.script {
    font-family: var(--font-script);
    color: var(--gold);
    font-size: 1.5em;
    font-weight: normal;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* Layout & Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    background-color: rgba(58, 11, 18, 0.6);
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.btn:hover {
    background-color: var(--bg-light);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.ornament {
    text-align: center;
    color: var(--gold);
    font-size: 2rem;
    margin: 1rem 0;
    opacity: 0.8;
}

.ornament svg {
    width: 60px;
    fill: var(--gold);
}

/* Header */
header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(37, 7, 11, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(184, 154, 101, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo .logo-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
}

.logo .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-top: 0.2rem;
    margin-left: 0.2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Offset for header */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-content .script-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: block;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 90%;
    color: rgba(232, 213, 181, 0.8);
    font-weight: 300;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oval-frame {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3 / 4;
    border-radius: 50%;
    border: 2px solid var(--gold);
    padding: 15px;
    position: relative;
}

.oval-frame::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 1px solid rgba(184, 154, 101, 0.5);
    border-radius: 50%;
}

.oval-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Models Section */
.models {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.models-grid {
    display: grid;
    gap: 3rem;
}

.models-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.models-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.subsection-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--gold);
}

.swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    padding-right: 1rem;
    opacity: 0.7;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.7; }
}

/* Carousel */
.carousel {
    display: flex;
    overflow-x: auto;
    gap: 3rem;
    padding: 1rem 1rem 2rem 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    cursor: grab;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.carousel:active {
    cursor: grabbing;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel .card {
    flex: 0 0 calc(42% - 1.5rem);
    width: calc(42% - 1.5rem);
    scroll-snap-align: center;
    user-select: none;
}

.carousel .card-img {
    -webkit-user-drag: none;
}

.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: 10;
    pointer-events: none;
}

.card:hover::before {
    left: 200%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 154, 101, 0.5);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
}

.card-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(184, 154, 101, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-dark);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
    color: var(--gold);
}

.card-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
}

.card h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card p {
    font-size: 0.9rem;
    color: rgba(232, 213, 181, 0.7);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

.btn-action {
    padding: 0.8rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    flex: 1; /* Makes both buttons take equal space */
}

.btn-action.primary {
    background: var(--gold);
    color: var(--bg-dark);
    border: 1px solid var(--gold);
}

.btn-action.primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-action.secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-action.secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Numbers Section */
.numbers {
    padding: 4rem 0;
    background-color: rgba(58, 11, 18, 0.4);
    border-top: 1px solid rgba(184, 154, 101, 0.2);
    border-bottom: 1px solid rgba(184, 154, 101, 0.2);
    margin-bottom: 8rem;
}

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

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.separator {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* About Section */
.about {
    padding: 4rem 0 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-content .label::after {
    content: '';
    display: inline-block;
    width: 50px;
    height: 1px;
    background-color: var(--gold);
}

.about-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-content .script-title {
    font-size: 4.5rem;
    display: block;
    margin-top: -10px;
}

.about-content p {
    font-size: 1.2rem;
    color: rgba(232, 213, 181, 0.8);
    margin-bottom: 3rem;
    font-weight: 300;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(184, 154, 101, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #1a0507;
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(184, 154, 101, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links a {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-slogan {
    font-style: italic;
    color: rgba(232, 213, 181, 0.6);
    margin-bottom: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .models-grid.grid-3, .models-grid.grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .carousel {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .carousel .card {
        flex: 0 0 75vw;
        width: 75vw;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content .script-title {
        font-size: 3.5rem;
    }

    .about-content .label {
        justify-content: center;
    }

    .about-content .label::after {
        display: none;
    }

    nav {
        display: none;
    }

    .numbers-container {
        flex-direction: column;
        gap: 3rem;
    }

    .separator {
        width: 100px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .models-grid.grid-3, .models-grid.grid-2 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .carousel {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .carousel .card {
        flex: 0 0 80vw;
        width: 80vw;
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .script-title { font-size: 2.8rem; }
    .about-content h2 { font-size: 2.2rem; }
    .about-content .script-title { font-size: 2.8rem; }
}
