@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --bg-main: #F9F8F6; /* Cream/Alabaster */
    --bg-dark: #0F172A; /* Deep Ocean Blue */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-main: #1E293B;
    --text-light: #F8FAFC;
    --accent-gold: #D4AF37;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.h1, .h2, .h3, .h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.h1 { font-size: clamp(3rem, 5vw, 5rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.kicker {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease;
}
.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.loader-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%;
    width: 0%;
    background: var(--accent-gold);
    animation: load 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes load {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-main);
}
.nav {
    display: flex;
    gap: 2.5rem;
}
.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent-gold);
    transition: var(--transition);
}
.nav a:hover::after, .nav a.active::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
}
.btn-primary {
    background: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--bg-dark);
}
.btn-primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}
.btn-outline:hover {
    background: var(--text-main);
    color: var(--text-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(15,23,42,0.2), transparent);
    pointer-events: none;
}
.hero-img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.8s ease;
}
.hero-img-wrapper:hover .hero-img {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 8rem 0;
}
.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}
.feature-card {
    background: var(--bg-glass);
    padding: 3rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}
.bg-dark .feature-card {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
    aspect-ratio: 3/4;
}
.gallery-wrapper {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}
.gallery-wrapper:hover .gallery-item {
    transform: scale(1.05);
}

/* Editorial Article */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}
.article-content img {
    margin: 3rem 0;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}
.article-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}
.article-content h2 {
    margin-top: 3rem;
}

/* Order Page Details */
.order-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.order-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}
.order-thumb {
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border-radius: 4px;
}
.order-thumb:hover, .order-thumb.active {
    opacity: 1;
}
.price-tag {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--bg-dark);
    display: block;
    margin: 1.5rem 0;
}
.order-card {
    background: #fff;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #CBD5E1;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}
.footer-col p {
    color: #94A3B8;
    font-size: 0.9rem;
}
.footer-col a {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.footer-col a:hover {
    color: var(--accent-gold);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748B;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}
#cookie-banner.show {
    transform: translateY(0);
}
.cookie-btns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.cookie-btns button {
    flex: 1;
    padding: 0.8rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}
#cookie-accept {
    background: var(--accent-gold);
    color: var(--bg-dark);
}
#cookie-reject {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .order-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0; left: -100%;
        width: 80%; height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav.active {
        left: 0;
    }
    .nav a {
        color: var(--text-light);
        font-size: 1.2rem;
    }
    .mobile-menu-btn {
        display: block;
        color: var(--text-main);
    }
    .header.scrolled .mobile-menu-btn {
        color: var(--text-main);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    #cookie-banner {
        bottom: 1rem; left: 1rem; right: 1rem;
        max-width: none;
    }
}
