/* =========================================
   DESIGN SYSTEM GLOBALS - LUXURY DARK
   ========================================= */
:root {
    /* Color Palette */
    --color-bg-dark: #050505;
    --color-bg-panel: #111111;
    --color-gold: #D4AF37;
    --color-gold-bright: #F9D976;
    --color-gold-dark: #997c23;
    --color-text: #E0E0E0;
    --color-text-muted: #999999;
    --color-white: #FFFFFF;

    /* Typography */
    --font-brand: 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cinzel', serif;

    /* Metrics */
    --border-radius-sm: 2px;
    --border-radius-md: 4px;

    --shadow-gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
    --shadow-gold-glow-strong: 0 0 30px rgba(249, 217, 118, 0.6);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.8);

    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =========================================
   BASE RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-dark);
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    overflow-x: hidden;
    font-weight: 600;
    /* Bolder body text */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Maximum boldness for headings */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-gold);
    letter-spacing: 1.5px;
}

a {
    text-decoration: none;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center !important;
}

.mt-4 {
    margin-top: 2rem;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.divider {
    height: 1px;
    width: 80px;
    margin: 1.5rem auto 2.5rem;
}

.gold-bg {
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.gold-text {
    color: var(--color-gold) !important;
}

.gold-text-light {
    color: var(--color-gold-bright) !important;
}

/* Glowing Text Utilities */
.glow-text {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.glow-text-sub {
    text-shadow: 0 0 10px rgba(249, 217, 118, 0.4);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.btn-gold {
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fdbf59);
    background-size: 200% auto;
    color: #000;
    border: none;
    font-weight: 600;
}

.btn-gold:hover {
    background-position: right center;
    color: #000;
    transform: translateY(-2px);
}

.glow-box:hover {
    box-shadow: var(--shadow-gold-glow-strong);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.btn-outline:hover {
    background-color: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) inset;
    color: var(--color-gold-bright);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-brand);
    font-size: 1.4rem;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-img {
    height: 90px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    font-weight: 700;
    /* Bolder nav links */
}

.nav-links a:hover {
    color: var(--color-gold-bright);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-gold);
    cursor: pointer;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.cart-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(249, 217, 118, 0.6));
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    /* Black background to avoid blurring of low-res image */
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.8) 100%);
    z-index: 0;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Above overlay so they shine */
    pointer-events: none;
    /* Let clicks pass through if needed, though interactivity handles it */
}

#particles-js canvas {
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
    /* Glowing golden dust effect */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    /* Above particles */
}

.hero-brand {
    margin-bottom: 2rem;
}

.hero-logo-img {
    height: auto;
    width: 650px;
    max-width: 95vw;
    border-radius: 0;
    object-fit: contain;
    margin: 0 auto 1.5rem;

    /* Professional Blending: Removes the black background of the image */
    mix-blend-mode: lighten;

    /* Feathering: Softens any remaining hard edges */
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    mask-image: radial-gradient(circle, black 60%, transparent 100%);

    /* Subtle depth */
    filter: brightness(1.1) contrast(1.1);
}

.hero h1 {
    font-family: var(--font-brand);
    font-size: 3.5rem;
    letter-spacing: 8px;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    letter-spacing: 2px;
}

.hero-delivery {
    margin-bottom: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1.5rem 0;
    width: 100%;
    max-width: 600px;
}

.hero-delivery h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.hero-delivery p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
}

/* =========================================
   LUXURY DIVIDER IMAGE SECTION
   ========================================= */
.luxury-divider {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    position: relative;
}

.luxury-interior-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* We use the provided room photo or fallback to roses */
    background-image: url('images/product_101_roses_1772925507550.png');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}

.luxury-interior-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #050505 0%, transparent 20%, transparent 80%, #050505 100%);
}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 450px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    background-color: var(--color-bg-panel);
}

.gold-border-hover:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.category-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 0;
}

/* Placeholder images for categories until we get better ones */
.romantic-bg {
    background-image: url('images/product_101_roses_1772925507550.png');
}

.events-bg {
    background-image: url('images/product_luxury_gift_1772925565650.png');
}

.gifts-bg {
    background-image: url('images/product_spring_bouquet_1772925532967.png');
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.4), transparent);
    z-index: 1;
}

.category-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.category-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: var(--font-brand);
}

.category-content span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-card:hover .category-content span {
    opacity: 1;
    gap: 15px;
}


/* =========================================
   FEATURES (WHY US)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.05);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-family: var(--font-brand);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--color-text-muted);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8rem 0;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.cta h2 {
    font-family: var(--font-brand);
    font-size: 2.8rem;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #111111;
    padding-top: 5rem;
    border-top: 2px solid var(--color-gold-dark);
}

.footer-bottom {
    background-color: #111111;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    height: auto;
    width: 160px;
    border-radius: 0;
    object-fit: contain;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-brand);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 300px;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--color-gold);
    color: #000 !important;
}

.social-links a:hover i {
    color: #000 !important;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact i {
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions .btn-outline {
        display: none;
    }

    .header-actions {
        gap: 2rem;
        /* Increased spacing specifically for mobile */
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .categories-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .hero-delivery h2 {
        font-size: 1.4rem;
    }

    /* Force rectangular logos on mobile */
    .logo-img,
    .hero-logo-img,
    .footer-logo-img {
        border-radius: 0 !important;
        object-fit: contain !important;
        height: auto !important;
    }

    .logo-img {
        width: 110px;
    }

    .hero-logo-img {
        width: 75%;
        max-width: 260px;
        margin-bottom: 2rem;
    }

    .footer-logo-img {
        width: 150px;
    }

    .luxury-divider {
        min-height: 250px;
        height: 35vh;
    }

    .luxury-interior-bg {
        background-attachment: scroll;
        background-position: center center;
    }
}