/* Typography Specifications */
:root {
    --primary-black: #000000;
    --secondary-gray: #1a1a1a;
    --accent-white: #ffffff;
    --text-gray: #666666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mukta', sans-serif;
    line-height: 1.6;
    color: var(--accent-white);
    background-color: var(--primary-black);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--text-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-white);
}

/* Hero section enhancements */
.hero-bg {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('bg hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: grain 8s linear infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 10%); }
    80% { transform: translate(-15%, 0%); }
    90% { transform: translate(10%, 5%); }
}

/* Navigation enhancements */
nav {
    transition: all 0.3s ease;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav.scrolled {
    background: white !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Typography */
h1 {
    font-weight: 300;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

h2 {
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Navigation Typography - Mukta ExtraLight */
nav .text-2xl {
    font-weight: 200 !important;
    font-size: 18px !important; /* Increased for better readability */
}

nav a {
    font-weight: 200 !important;
    font-size: 14px !important; /* Increased for better readability */
}

/* Hero Description Typography - Mukta ExtraLight */
.hero-description {
    font-weight: 200 !important;
    font-size: 18px !important; /* Increased for better readability */
}

/* Hero Tagline Typography - Mukta Regular */
.hero-tagline {
    font-weight: 400 !important;
    font-size: 16px !important; /* Added specific size */
}

/* Signature Scent Heading - Mukta Regular */
.signature-heading {
    font-weight: 400 !important;
    font-size: 32px !important; /* Increased for better readability */
}

/* Signature Scent Subtitle - Mukta ExtraLight */
.signature-subtitle {
    font-weight: 200 !important;
    font-size: 16px !important; /* Increased for better readability */
}

/* Quiz Button Typography - Mukta Regular */
.quiz-button {
    font-weight: 400 !important;
    font-size: 16px !important; /* Increased for better readability */
}

/* Button styles */
.btn-primary {
    background: transparent;
    border: 2px solid var(--accent-white);
    color: var(--accent-white);
    padding: 12px 32px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-white);
    color: var(--primary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Product cards enhancements */
.product-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary-gray);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.product-card .product-image img {
    transition: transform 0.4s ease;
    will-change: transform;
}

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

.product-card .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    transform: translateX(100%);
}

.product-card h3 {
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: #ffffff;
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }

/* Section spacing */
section {
    position: relative;
}

/* Signature scent section */
.signature-scent {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.signature-scent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="black" opacity="0.05"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
}

/* Crafted section */
.crafted-section {
    position: relative;
    width: 100%;
    background-color: #000000;
    padding: 0;
    margin: 0;
}

.crafted-section img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
}

.crafted-section:hover img {
    transform: scale(1.02);
}

.crafted-section h2 {
    font-family: 'Mukta', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    animation: fadeInScale 1.2s ease-out;
    position: relative;
    z-index: 2;
}

.crafted-section p {
    position: relative;
    z-index: 2;
    animation: fadeInScale 1.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive adjustments for crafted section */
@media (max-width: 768px) {
    .crafted-section {
        height: 50vh !important;
        min-height: 400px !important;
    }

    .crafted-section h2 {
        font-size: 2rem !important;
        letter-spacing: 0.08em;
    }

    .crafted-section p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .crafted-section {
        height: 45vh !important;
        min-height: 350px !important;
    }

    .crafted-section h2 {
        font-size: 1.5rem !important;
        letter-spacing: 0.05em;
    }

    .crafted-section p {
        font-size: 0.875rem !important;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-top: 1px solid #333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-bg h1 {
        font-size: 3rem;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .fade-in {
        transform: translateY(20px);
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}



/* Smooth transitions for all interactive elements */
a, button, .product-card, .quiz-option {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
a:focus, button:focus, .quiz-option:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-bg, nav, footer {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
