/* ============================================
   Zuha Perfumes - Standalone CSS
   Design: Luxury, Classic, Clean
   Colors: Deep Forest Green, Luxe Gold, Cream White
   ============================================ */

/* ============================================
   CSS Variables & Color Palette
   ============================================ */

:root {
    /* Primary Colors */
    --primary: #d4af37;
    /* Luxe Gold for headers */
    --primary-light: #e8d4a8;
    /* Lighter Gold */
    --accent: #b58d22;
    /* Deep Gold */
    --accent-light: #c9a227;
    /* Mid Gold */

    /* Sandal Wood Colors */
    --sandal-light: #d4a574;
    /* Light sandal brown */
    --sandal-medium: #a67c52;
    /* Medium sandal brown */
    --sandal-dark: #6b4226;
    /* Dark sandal brown */

    /* Backgrounds */
    --bg-primary: #0a0a0a;
    /* Deep Black */
    --bg-secondary: #121212;
    /* Very Dark Gray */
    --bg-white: #1a1a1b;
    /* Dark Card Background */
    --darker-bg: #050505;

    /* Text Colors */
    --text-dark: #fcfcfc;
    /* White text for dark mode */
    --text-muted: #a0a090;
    /* Muted gold-gray */
    --light-text: #ffffff;
    --gray-text: #a0a090;
    --gold-primary: #d4af37;
    --gold-secondary: #e8d4a8;
    --text-on-gold: #1a1a1b;
    /* Dark text for gold backgrounds */
    --text-on-sandal: #ffffff;
    /* White text for sandal backgrounds */

    /* Borders & Dividers */
    --border-color: #332d20;
    /* Dark border with hint of gold */

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary);
}

p {
    color: var(--text-muted);
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 8rem 0;
    }
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* legacy placeholder for text logo; hidden when using image */
.logo-circle {
    display: none;
}

/* new logo image styling */
.logo-image {
    max-width: 120px;
    height: auto;
    display: block;
}

.logo-text {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.125rem;
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }
}

/* Desktop Menu */
.desktop-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

/* Navigation Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn,
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--primary);
    font-size: 1.5rem;
}

.cart-btn:hover,
.hamburger:hover {
    background-color: var(--bg-secondary);
}

.hamburger {
    display: block;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* Mobile Dropdown */
.mobile-dropdown {
    width: 100%;
}

.dropdown-toggle {
    width: 100%;
    background: none;
    border: none;
    color: var(--primary);
    padding: 0.75rem 0;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-menu {
    display: none;
    background-color: rgba(212, 175, 55, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-menu .dropdown-item {
    padding: 0.75rem 1.5rem;
    border: none;
    display: block;
}

/* ============================================
   Desktop Dropdown
   ============================================ */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Show dropdown when active class is added (for click behavior) */
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0d9ce;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    padding-left: 2rem;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-on-gold);
    /* Dark text on gold background */
}

.btn-primary:hover {
    box-shadow: 0 8px 16px rgba(26, 77, 62, 0.2);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-on-gold);
    /* Dark text on gold background */
}

.btn-accent:hover {
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-on-gold);
    /* Dark text on gold background */
    transform: translateY(-2px);
}

/* Sandal wood themed buttons */
.btn-sandal-light {
    background-color: var(--sandal-light);
    color: var(--text-on-sandal);
    /* White text on sandal background */
}

.btn-sandal-medium {
    background-color: var(--sandal-medium);
    color: var(--text-on-sandal);
    /* White text on sandal background */
}

.btn-sandal-dark {
    background-color: var(--sandal-dark);
    color: var(--text-on-sandal);
    /* White text on sandal background */
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    /* Minimum height for desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
}

/* Tablet responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        height: 80vh;
        min-height: 600px;
    }
}

/* Desktop responsive */
@media (min-width: 1024px) {
    .hero {
        height: 100vh;
        min-height: 700px;
    }
}

/* Large desktop */
@media (min-width: 1440px) {
    .hero {
        height: 100vh;
        min-height: 800px;
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Ensure image covers entire hero section */
    width: 100%;
    height: 100%;
}

/* Mobile specific background positioning */
@media (max-width: 767px) {
    .hero-background {
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
        /* Better performance on mobile */
        background-repeat: no-repeat;
    }
}

/* Tablet specific background positioning */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-background {
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
        /* Fixed iOS bug with fixed attachment */
    }
}

/* Desktop specific background positioning */
@media (min-width: 1024px) {
    .hero-background {
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem 1rem;
    /* Added horizontal padding for mobile */
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile hero content */
@media (max-width: 767px) {
    .hero-content {
        padding: 1rem;
    }
}

/* Tablet hero content */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content {
        padding: 2rem 3rem;
    }
}

/* Desktop hero content */
@media (min-width: 1024px) {
    .hero-content {
        padding: 2rem 4rem;
    }
}

.hero-title {
    font-size: 2.5rem;
    /* Smaller for mobile */
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    /* Reduced letter spacing for mobile */
    color: white;
    line-height: 1.2;
}

/* Tablet title */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 0.03em;
    }
}

/* Desktop title */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
        letter-spacing: 0.05em;
    }
}

/* Large desktop title */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    /* Smaller for mobile */
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: white;
    line-height: 1.4;
}

/* Tablet subtitle */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-subtitle {
        font-size: 1.25rem;
        letter-spacing: 0.03em;
    }
}

/* Desktop subtitle */
@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
    }
}

/* Hero button responsiveness */
.hero .btn {
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.9rem;
    /* Smaller for mobile */
}

/* Tablet button */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero .btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Desktop button */
@media (min-width: 1024px) {
    .hero .btn {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
}

/* ============================================
   Section Headers
   ============================================ */

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

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.gold-line {
    width: 6rem;
    height: 0.25rem;
    background-color: var(--accent);
    border-radius: 9999px;
    margin: 0 auto;
}

/* ============================================
   Category Section
   ============================================ */

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-image {
    height: 16rem;
    overflow: hidden;
    background-color: transparent;
    /* Changed from #e5e5e5 */
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover so the full image is visible */
    transition: var(--transition);
}

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

.category-info {
    padding: 1.5rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-info p {
    margin-bottom: 1.5rem;
}

/* ============================================
   Featured Products Section
   ============================================ */

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

@media (min-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.featured-content h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.featured-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
}

/* ============================================
   Why Choose Us Section
   ============================================ */
/* 
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    text-align: center;
}

.feature-emoji {
    width: 4rem;
    height: 4rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-box p {
    font-size: 0.875rem;
} */




/* ============================================
   Why Choose Us Section
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    text-align: center;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(212, 175, 55, 0.6);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-emoji {
    width: 4rem;
    height: 4rem;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-box:hover .feature-emoji {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-box:hover h3 {
    color: var(--accent);
}

.feature-box p {
    font-size: 0.875rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-box:hover p {
    color: var(--text-dark);
}

/* ============================================
   Reviews Section
   ============================================ */

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.review-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.stars i {
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.review-author {
    font-weight: bold;
    color: var(--primary);
}

/* ============================================
   Instagram Section
   ============================================ */

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

@media (min-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.instagram-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    overflow: hidden;
}

.instagram-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.instagram-cta {
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--primary);
    color: var(--bg-primary);
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    color: var(--bg-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(245, 245, 240, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(245, 245, 240, 0.8);
    transition: var(--transition);
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(245, 245, 240, 0.8);
}

.contact-item i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item.address {
    flex-direction: column;
}

.contact-item.address div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item.address p {
    margin: 0;
    color: rgba(245, 245, 240, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 245, 240, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #1a1a1b;
    ;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-bottom p {
    color: rgba(245, 245, 240, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {

    .navbar,
    .footer {
        display: none;
    }
}