/* ===== CSS Variables ===== */
:root {
    --color-bg: #FAF9F7;
    --color-bg-alt: #F5F3EF;
    --color-text: #2D2A26;
    --color-text-muted: #6B6660;
    --color-accent: #C4A77D;
    --color-accent-dark: #A68B5B;
    --color-accent-light: #E8DCC8;
    --color-rose: #D4A5A5;
    --color-sage: #9CAF88;
    --color-cream: #FDF8F3;
    --color-charcoal: #1A1916;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--color-charcoal);
    color: var(--color-cream);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn-secondary:hover {
    background: var(--color-charcoal);
    color: var(--color-cream);
}

.btn-full {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-charcoal);
}

.logo-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text);
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--color-charcoal);
    color: var(--color-cream) !important;
    border-radius: 2px;
}

.btn-nav:hover {
    background: var(--color-accent-dark);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: var(--transition-smooth);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, var(--color-accent-light) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(212, 165, 165, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 60%, rgba(156, 175, 136, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    border: 1px solid var(--color-accent-light);
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--color-accent-dark);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.scroll-indicator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== About Section ===== */
.about {
    padding: 8rem 0;
    background: var(--color-cream);
}

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

.about-image {
    position: relative;
}

.image-frame {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-rose) 50%, var(--color-sage) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.founder-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
}

.founder-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-charcoal);
    color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.founder-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.founder-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent-dark);
}

.feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===== Facility Section ===== */
.facility {
    padding: 8rem 0;
    background: var(--color-bg);
}

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

.facility-header .section-desc {
    margin: 0 auto;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.facility-card {
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition-smooth);
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-accent-light);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    line-height: 1;
}

.facility-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.facility-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== Products Section ===== */
.products {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-cream) 100%);
}

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

.products-header .section-desc {
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.product-image {
    height: 280px;
    overflow: hidden;
}

.product-visual {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.product-visual.essence {
    background: linear-gradient(135deg, #F9E4D4 0%, #E8C8B8 50%, #D4A5A5 100%);
}

.product-visual.serum {
    background: linear-gradient(135deg, #E4E9E0 0%, #C8D4C0 50%, #9CAF88 100%);
}

.product-visual.masks {
    background: linear-gradient(135deg, #F4E9DC 0%, #E8DCC8 50%, #C4A77D 100%);
}

.product-card:hover .product-visual {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-dark);
    background: var(--color-accent-light);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.product-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.product-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.oem-section {
    background: var(--color-charcoal);
    border-radius: 4px;
    padding: 3rem;
    text-align: center;
}

.oem-content h3 {
    color: var(--color-cream);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.oem-content p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 8rem 0;
    background: var(--color-cream);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gi-1::before { background: linear-gradient(45deg, #C4A77D 0%, #E8DCC8 100%); }
.gi-2::before { background: linear-gradient(45deg, #D4A5A5 0%, #F9E4D4 100%); }
.gi-3::before { background: linear-gradient(45deg, #9CAF88 0%, #E4E9E0 100%); }
.gi-4::before { background: linear-gradient(45deg, #A68B5B 0%, #C4A77D 100%); }
.gi-5::before { background: linear-gradient(45deg, #E8C8B8 0%, #D4A5A5 100%); }
.gi-6::before { background: linear-gradient(45deg, #C8D4C0 0%, #9CAF88 100%); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 22, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    background: rgba(26, 25, 22, 0.5);
}

.gallery-item:hover .gallery-overlay span {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 8rem 0;
    background: var(--color-bg);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.quote-icon {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent-light);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-name {
    font-weight: 500;
    color: var(--color-charcoal);
}

.author-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===== Contact Section ===== */
.contact {
    padding: 8rem 0;
    background: var(--color-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-title {
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-accent-dark);
    transition: var(--transition-smooth);
}

.contact-item a:hover {
    color: var(--color-charcoal);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-accent-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(196, 167, 125, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== Footer ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--color-cream);
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-locations {
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 180px);
    }
}

