/* ==========================
   BASE STYLES
========================== */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0d0d1a;
    color: #e6f5ea;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #e6f5ea;
    margin: 0 0 0.5rem 0;
}

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

/* ==========================================
   HERO SECTION - ENHANCED READABILITY
========================================== */
.hero {
    position: relative;
    display: flex;
    align-items: flex-start;       /* vertical centering */
    justify-content: center;
    text-align: center;
    height: 80vh;              /* hero height */
    background-size: cover;
    background-position: center;
    color: #f0f8f5;            /* light text for contrast */
    padding: 3rem 1rem 0 1rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);  /* semi-transparent dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 3rem;
    font-family: 'Merriweather', serif; /* premium serif headline */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-content .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3a2d6b; /* premium deep color */
    color: #f0f8f5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #5e46a6; /* brighter hover effect */
    transform: translateY(-2px);
}

/* ==========================================
   HERO LOGO
========================================== */
.hero-logo {
    display: block;
    margin: 0 auto 1rem auto; /* centers horizontally and adds space below */
    max-width: 150px;          /* adjust size as needed */
    height: auto;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 2rem;
    }
    .hero-logo {
        max-width: 120px;
        margin-bottom: 0.75rem;
    }
}

/* ==========================================
   HERO TEXT SHADOW
========================================== */
.hero-content h1,
.hero-content h2 {
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.75);
}

.hero-content p {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75);
}

/* ==========================
   NAVIGATION
========================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #2a0d3f, #1a0a2a);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
}

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dddd44;
}

.nav-toggle {
    display: none; /* hidden on desktop */
    cursor: pointer;
    color: #7df9a1;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end; /* desktop menu on right */
    gap: 1rem;
}

nav li {
    position: relative;
}

nav li a {
    padding: 0.5rem 1rem;
    display: block;
    color: #e6f5ea;
}

nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a2238;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 6px;
    min-width: 180px;

    /* Fade-in transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

nav li:hover ul {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav li ul li a {
    padding: 0.5rem 1rem;
}

nav li a:hover {
    color: #7df9a1;
}

/* Dropdown arrow for mobile */
.dropdown-arrow {
    display: none; /* hidden on desktop */
    cursor: pointer;
    margin-left: 0.3rem;
    color: #7df9a1;
    font-size: 0.7rem;
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .dropdown-arrow {
        display: inline-block;
    }

    nav ul {
        flex-direction: column;
        background: #1a2238;
        width: 100%;
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        width: 100%;
    }

    nav li ul {
        position: static;
        border-radius: 0;
        background: #1a2238;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none; /* hidden by default */
        flex-direction: column;
    }

    nav li ul.active {
        display: flex;
    }
}

/* ==========================
   SECTIONS
========================== */
.section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

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

/* ==========================
   PRODUCT CARDS
========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #1a2238;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #e6f5ea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
    pointer-events: none;
    transition: background 0.3s ease;
}

.product-card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.00));
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.product-card-content {
    padding: 1rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #7df9a1;
}

.product-card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e6f5ea;
}

/* ==========================
   BUTTONS
========================== */
.btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3a2d6b; /* premium deep color */
    color: #f0f8f5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #5e46a6; /* brighter hover effect */
    transform: translateY(-2px);
}

/* ==========================================
   INTRODUCTION SECTION
========================================== */
.intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem; /* generous vertical spacing */
    background: linear-gradient(135deg, #1f1b2e, #2c2545); /* subtle premium gradient */
    color: #f0f8f5; /* light text for dark background */
    text-align: center;
}

.intro-content {
    max-width: 800px;
}

.intro-section h2 {
    font-family: 'Merriweather', serif; /* premium serif headline */
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.intro-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e6f5ea; /* slightly lighter for readability */
}

.intro-section .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3a2d6b; /* deep complementary color */
    color: #f0f8f5;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.intro-section .btn:hover {
    background-color: #5e46a6; /* slightly brighter on hover */
    transform: translateY(-2px);
}

/* ==========================================
   INTRO IMAGE STRIP
========================================== */

.intro-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.intro-image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

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

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {
    .intro-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .intro-images {
        grid-template-columns: 1fr;
    }

    .intro-section {
        padding: 70px 20px;
    }

    .intro-section h2 {
        font-size: 1.9rem;
    }
}

/* ==========================================
   INTRODUCTION SECTION 2
========================================== */

.intro-section2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem; /* generous vertical spacing */
    background: linear-gradient(135deg, #1b1d2e, #252945); /* subtle premium gradient */
    color: #f0f8f5; /* light text for dark background */
    text-align: center;
}

.intro-content2 {
    max-width: 800px;
}

.intro-section2 h2 {
    font-family: 'Merriweather', serif; /* premium serif headline */
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.intro-section2 p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e6f5ea; /* slightly lighter for readability */
}

.intro-section2 .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3a2d6b; /* deep complementary color */
    color: #f0f8f5;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.intro-section2 .btn:hover {
    background-color: #5e46a6; /* slightly brighter on hover */
    transform: translateY(-2px);
}

/* ==========================================
   INTRODUCTION SECTION 3
========================================== */

.intro-section3 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem; /* generous vertical spacing */
    background: linear-gradient(135deg, #1b232e, #253445); /* subtle premium gradient */
    color: #f0f8f5; /* light text for dark background */
    text-align: center;
}

.intro-content3 {
    max-width: 800px;
}

.intro-section3 h2 {
    font-family: 'Merriweather', serif; /* premium serif headline */
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.intro-section3 p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e6f5ea; /* slightly lighter for readability */
}

.intro-section3 .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3a2d6b; /* deep complementary color */
    color: #f0f8f5;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.intro-section3 .btn:hover {
    background-color: #5e46a6; /* slightly brighter on hover */
    transform: translateY(-2px);
}

/* ==========================
   FOOTER
========================== */
footer {
    background-color: #2b0f52;
    color: #e6f5ea;
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card img {
        height: 150px;
    }
}