:root {
    --primary-color: #1a202c;
    --secondary-color: #f7fafc;
    --accent-color: #c09a6d;
    --text-color: #4a5568;
    --light-gray: #edf2f7;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Manrope', sans-serif;
}

/* --- NEW: Branded Text Selection --- */
::selection {
    background-color: var(--accent-color);
    color: white;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    background-color: #f9f9f9;
    background-image: linear-gradient(to bottom, #ffffff, #f7fafc);
    color: var(--primary-color);
    /* UPDATED */
    line-height: 1.6;
}

/* --- NEW: Universal Smooth Transitions --- */
a,
button {
    transition: all 0.3s ease;
}

/* --- Reusable Components --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    /* UPDATED */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
    /* NEW */
    padding-bottom: 1rem;
    /* NEW */
}

/* NEW: Decorative line for titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}


.content-section.visible .section-title {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(247, 250, 252, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    /* For Safari */
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}


/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./assests/bg_image_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-content {
    animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
}

.cta-button:hover {
    transform: translateY(-5px);
    background-color: #a8855d;
}

/* --- Content Sections --- */
.content-section {
    padding: 6rem 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.7;
}

/* --- Product Section --- */
.filter-container {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--light-gray);
    padding: 0.7rem 1.5rem;
    margin: 0.25rem;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
}

.filter-btn:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-image-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.product-image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.img-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(26, 32, 44, 0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
}

.img-nav-btn svg {
    fill: white;
}

.product-card:hover .img-nav-btn {
    opacity: 1;
}

.img-nav-btn:hover {
    background-color: rgba(26, 32, 44, 0.8);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-details {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.price-container {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.price-mrp {
    margin-right: 1rem;
}

.price-bulk {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* --- Contact Section --- */
.contact-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 2rem;
}

.contact-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.contact-info-wrapper {
    flex: 1;
}

.contact-map {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-details {
    text-align: left;
}

.contact-details p {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
}

.contact-details p strong {
    margin-right: 8px;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 150px;
    width: auto;
    opacity: 0.8;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

    .about-text {
        text-align: center;
        /* Revert to center for mobile for aesthetic balance */
    }

    .contact-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-map {
        width: 100%;
        height: 300px;
    }
}