:root {
    /* Colors */
    --primary: #8B3A3A;
    --primary-dark: #6e2e2e;
    --secondary: #A94442;
    --accent: #E57373;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
}

.logo {
    display: block;
    max-width: 250px;
    /* Increased size based on request */
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 58, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 58, 58, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 15px 0;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    /* Wider than standard container to push logo left */
    margin: 0 auto;
    width: 100%;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: 0.3s;
}

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

.btn-contact {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-contact:hover {
    background-color: var(--primary-dark);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 85vh;
    min-height: 85dvh;
    /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content horizontally */
    position: relative;
    padding-top: 120px;
    /* Adjusted padding */
    padding-bottom: 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url('hero_bg.png');
    /* Darker overlay for better text contrast */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    z-index: 2;
    position: relative;
    margin: 0 auto;
    /* Center the text block */
    text-align: left;
    /* Keep text left-aligned (default, but explicit) */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    /* Increased opacity */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        /* Slightly smaller for better fit */
    }

    .hero {
        padding-top: 110px;
        justify-content: flex-start;
        /* Align content start */
        align-items: center;
        /* Keep vertical center */
    }

    .hero-content {
        text-align: left;
        /* Explicitly align content left */
        margin-left: 0;
        /* Override auto margins if any */
        padding-left: 20px;
        /* Ensure some padding */
    }

    .hero-btns {
        justify-content: flex-start;
        /* Align buttons left */
        flex-direction: column;
        gap: 15px;
    }
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* Allow wrapping */
}

.hero-btns .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-btns .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* About Section */
.about {
    background-color: var(--white);
    /* Force background */
    position: relative;
    z-index: 10;
    /* Ensure it sits on top if needed */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 11;
}

.about-text {
    position: relative;
    z-index: 12;
}

.about-text h2 {
    color: var(--primary);
    position: relative;
    z-index: 12;
}

.about-text p {
    color: #1a1a1a !important;
    /* Force black text */
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 1 !important;
    /* Force opacity */
    position: relative;
    z-index: 12;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-list {
    margin-top: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
    /* Ensure list items are visible */
}

.about-list li i {
    color: var(--primary);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    /* Fallback border */
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card h3 {
    margin-bottom: 5px;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure full height in grid cell */
    justify-content: flex-start;
    /* Start content at top */
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
    /* Allow description to grow to fill space */
}

.add-to-cart {
    width: 100%;
    margin-top: auto;
    /* Push to bottom */
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: 0.3s;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(139, 58, 58, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: 0.3s;
}

.product-card:hover .icon-box {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.product-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #111;
    color: #fff;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Animations */
.animate-up,
.animate-right,
.animate-left {
    opacity: 0;
    transition: 1s;
}

.animate-up {
    transform: translateY(50px);
}

.animate-right {
    transform: translateX(-50px);
}

.animate-left {
    transform: translateX(50px);
}

.animate-up.show {
    opacity: 1;
    transform: translateY(0);
}

.animate-right.show {
    opacity: 1;
    transform: translateX(0);
}

.animate-left.show {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: block;
    }

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

    .hero-btns {
        flex-direction: column;
    }
}

/* Brands Section */
.brands {
    background-color: var(--white);
    padding: 60px 0;
}

.brands-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.brand-item {
    background: var(--bg-light);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.brand-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--white);
}

.brand-item h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: 0.3s;
    margin: 0;
}


.brand-item:hover h3 {
    color: var(--primary);
    opacity: 1;
}


/* ----------------------------------------------------- */
/* SHOPPING CART STYLES */
/* ----------------------------------------------------- */

/* Cart Icon in Navbar */
.cart-icon-container {
    position: relative;
    display: flex;
    align-items: center;
}

#cart-btn {
    font-size: 1.2rem;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Product Card Updates */
.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin: 10px 0;
}

.add-to-cart {
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden via position */
    width: 350px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

#close-cart {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.cart-item-info span {
    font-size: 0.9rem;
    color: #666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    margin-left: 10px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.empty-cart-msg {
    text-align: center;
    color: #999;
    margin-top: 50px;
}

/* Modal and Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    z-index: 2500;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Brands Section */
.brands {
    background-color: var(--white);
    padding: 60px 0;
}

.brands-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.brand-item {
    background: var(--bg-light);
    padding: 30px 60px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.brand-item h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: 0.3s;
}

.brand-item:hover h3 {
    color: var(--primary);
    opacity: 1;
}