@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Scoped gallery typography improvements so write-ups don't feel "pasted".
     These rules center the copy, set comfortable line-lengths, and add a
     subtle typographic hierarchy for leads and small headings. */
.gallery-info,
.gallery-description,
.page-intro {
    max-width: 760px;
    margin: 0 auto 1.25rem auto;
    text-align: center;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #111; /* dark but not pure black */
    line-height: 1.55;
    font-size: 1rem;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
}

.gallery-info p,
.gallery-description p,
.page-intro p {
    margin: 0.6rem 0;
    color: #222;
    font-weight: 400;
}

.gallery-info .lead,
.page-intro .lead {
    font-size: 1.06rem;
    font-weight: 600;
    color: #0f1720;
    margin-bottom: 0.8rem;
}

.gallery-info h3,
.gallery-info h2,
.page-intro h3,
.page-intro h2 {
    margin: 0.6rem 0 0.4rem 0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-info,
    .gallery-description,
    .page-intro {
        padding: 0 18px;
        max-width: 560px;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .gallery-info .lead,
    .page-intro .lead {
        font-size: 1rem;
    }
}

/* Improve typography and mobile legibility using Inter font. Center gallery write-ups and improve spacing */
/* Extra rules to ensure images and overlay text are centered on small screens */
        @media (max-width: 600px) {
        .gallery-img {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            height: auto;
            max-width: 520px;
            object-fit: cover;
        }
        .section-title {
         
          text-align: center;
         align-items: center;
            justify-content: center;
        }
        .gallery-overlay {
            text-align: center;
            padding: 0.75rem 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .gallery-title,
        .gallery-description,
        .section-subtitle {
            text-align: center;
            margin-left: auto;
            margin-right: auto;
        }

        /* Ensure any inline image sizes don't exceed container */
        img[width], img[height] {
            max-width: 100% !important;
            height: auto !important;
        }
    }
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Orange / Black / White theme */
            --primary: #000000;    /* black */
            --secondary: #111111;  /* very dark gray */
            --accent: #ff6a00;     /* vibrant orange */
            --gold: #ff9a00;       /* secondary orange for highlights */
            --white: #ffffff;
            --light-gray: #f7f7f7;
            --dark-gray: #333333;
        }

        body {
            /* Use Inter for improved legibility on mobile, fall back to system fonts */
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--primary);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            text-rendering: optimizeLegibility;
            overflow-x: hidden;
            padding-top: 80px; /* adjust if your navbar height changes */
            box-sizing: border-box;
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.5s ease;
        }

        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .loader-content {
            text-align: center;
            color: var(--white);
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-left: 4px solid var(--gold);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.95);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: rgba(0, 0, 0, 0.98);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 2rem;
            font-weight: bold;
            color: var(--gold);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }



        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gold);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Dropdown menu for Products */
        .nav-links li {
            position: relative;
        }

        .nav-links .has-dropdown > .dropdown-toggle {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            min-width: 240px;
            /* Pale gold card background to contrast the dark navbar */
            background: linear-gradient(180deg, #fff7e0 0%, #fff3d1 100%);
            color: var(--primary);
            border-radius: 10px;
            padding: 0.25rem;
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
            border: 1px solid rgba(0,0,0,0.06);
            list-style: none;
            visibility: hidden;
            opacity: 0;
            transform: translateY(-6px);
            transition: all 220ms ease;
            z-index: 1200;
        }

        .dropdown-menu li a {
            display: block;
            padding: 0.7rem 1rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            white-space: nowrap;
            border-radius: 6px;
            transition: background 180ms ease, color 160ms ease;
        }

        .dropdown-menu li a:hover,
        .dropdown-menu li a:focus {
            background: linear-gradient(90deg, rgba(255,106,0,0.12), rgba(255,154,0,0.06));
            color: var(--primary);
        }

        /* Add a small accent bar on the left of each item when hovered for clarity */
        .dropdown-menu li a:hover::before {
            content: '';
            display: inline-block;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--accent), var(--gold));
            margin-right: 10px;
            vertical-align: middle;
            border-radius: 2px;
        }

        /* Show dropdown on hover or when focused (keyboard accessible) */
        .nav-links li:hover > .dropdown-menu,
        .nav-links li:focus-within > .dropdown-menu {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }

        /* Mobile submenu styles */
        .mobile-submenu { margin-bottom: 0.25rem; }
        .mobile-submenu-toggle {
            background: none;
            border: none;
            color: var(--white);
            font-weight: 600;
            padding: 0.6rem 0.25rem;
            width: 100%;
            text-align: left;
            cursor: pointer;
        }

        .mobile-submenu-list {
            list-style: none;
            /* pale-gold card background to match desktop dropdown */
            background: linear-gradient(180deg, #fff7e0 0%, #fff3d1 100%);
            color: var(--primary);
            border-radius: 8px;
            padding: 0.35rem;
            box-shadow: 0 10px 22px rgba(0,0,0,0.08);
            border: 1px solid rgba(0,0,0,0.06);
            display: none;
            margin-top: 0.5rem;
        }

        .mobile-submenu-list li a {
            display: block;
            padding: 0.7rem 0.75rem;
            /* Force mobile dropdown text to solid black for readability */
            color: #000 !important;
            text-decoration: none;
            font-weight: 600;
            border-radius: 6px;
        }

        .mobile-submenu-list li a:hover,
        .mobile-submenu-list li a:focus {
            background: linear-gradient(90deg, rgba(255,106,0,0.08), rgba(255,154,0,0.04));
            color: var(--primary);
        }

        .mobile-submenu.open .mobile-submenu-list { display: block; }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: var(--white);
            margin: 3px 0;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(45deg) translate(8px, 7px);
        }

        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -5px);
        }

        .mobile-menu {
            position: fixed;
            top: 80px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 80px);
            background: rgba(0, 0, 0, 0.98);
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
            transition: left 0.3s ease;
            z-index: 999;
            padding: 2rem;
        }

        .mobile-menu.active {
            left: 0;
        }

        .mobile-menu ul {
            list-style: none;
            padding: 0;
        }

        .mobile-menu ul li {
            margin: 1.5rem 0;
        }

        .mobile-menu ul li a {
            color: var(--white);
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 500;
            display: block;
            padding: 1rem;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .mobile-menu ul li a:hover {
            background: rgba(255, 215, 0, 0.1);
            color: var(--gold);
        }

        /* Hero Section */
        .hero {
            margin-top: 70px;
            min-height: 60vh;
            padding: 2rem 0 1.5rem 0;
            height: auto;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            display: flex;
            align-items: flex-start;
            position: relative;
            overflow: hidden;
            z-index: 1; /* ensure hero layers correctly */
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,154,0,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
            pointer-events: none;
            will-change: transform;
            transform: translateY(var(--hero-parallax, 0));
        }

        .hero-content {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
            padding: 0 1rem;
            text-align: center;
            width: 100%;
            z-index: 1;
        }

        .hero-text {
            color: var(--white);
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            opacity: 0;
            animation: slideInLeft 1s ease forwards 0.5s;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            opacity: 0;
            animation: slideInLeft 1s ease forwards 0.7s;
        }

        .hero-description {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.8;
            opacity: 0;
            animation: slideInLeft 1s ease forwards 0.9s;
        }
        .cta-buttons {
            display: flex;
            gap: 1rem;
            opacity: 0;
            animation: slideInLeft 1s ease forwards 1.1s;
        }


        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .cta-buttons {
            justify-content: center;
            display: flex;
            gap: 1rem;
            opacity: 0;
            animation: slideInLeft 1s ease forwards 1.1s;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--accent), var(--gold));
            color: var(--white);
            box-shadow: 0 4px 15px rgba(255,106,0,0.28);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255,106,0,0.36);
        }

        .btn-secondary {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--gold);
        }

        .btn-secondary:hover {
            background: var(--gold);
            color: var(--primary);
            transform: translateY(-3px);
        }

        .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            animation: fadeInUp 1s ease forwards 0.5s;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stat-item {
            text-align: center;
            color: var(--white);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            color: var(--gold);
            display: block;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-top: 0.5rem;
        }

        /* Services Section */
        .services {
            padding: 5rem 0;
           
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 1.5rem;
            font-weight: bold;
            display: grid;
            margin-bottom: 4rem;
            color: var(--primary);
            opacity: 0.8;
            background: white;
            padding: 0.5em 1em;
            border-radius: 6px;
        }

        .section-subtitle {
            background: white;
            padding: 0.5em 1em;
            border-radius: 6px;
            text-align: center;
            font-size: 1.2rem;
            color: var(--dark-gray);
            margin-bottom: 4rem;
            opacity: 0.8;
        }

        .services-grid {
            justify-content: center;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .service-card {
            justify-content: center;
            background: var(--white);
            border-radius: 20px;
            padding: 2.5rem;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--accent), var(--gold));
            transition: left 0.3s ease;
        }

        .service-card:hover::before {
            left: 0;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .service-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
            color: var(--accent);
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .service-description {
            color: var(--dark-gray);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .service-list {
            list-style: none;
            text-align: left;
        }

        .service-list li {
            padding: 0.5rem 0;
            color: var(--dark-gray);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .service-list li::before {
            content: "✓";
            color: var(--accent);
            font-weight: bold;
            margin-right: 10px;
        }

        /* Products Section */
        .products {
            padding: 5rem 0;
            background: var(--white);
            position: relative;
            z-index: 0;
            padding-top: 2.5rem; /* add space so products start below hero */
            margin-top: 0;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .product-card {
            cursor: pointer;
            transition: box-shadow 0.2s, transform 0.2s;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 15px;
            padding: 2rem;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .product-card::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,154,0,0.06) 0%, transparent 70%);
            transition: all 0.3s ease;
        }

        .product-card:hover::before {
            top: -20%;
            right: -20%;
        }

        .product-card:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 32px rgba(255,106,0,0.18), 0 2px 8px rgba(0,0,0,0.04);
            border: 2px solid var(--accent);
        }

        .product-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: var(--gold);
        }

        .product-description {
            opacity: 0.9;
            line-height: 1.6;
        }

        /* Gallery Section */
        .gallery {
            padding: 5rem 0;
            background: var(--light-gray);
        }

        .gallery-filter {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.8rem 2rem;
            background: var(--white);
            border: 2px solid var(--primary);
            border-radius: 50px;
            color: var(--primary);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--primary);
            color: var(--white);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            aspect-ratio: 4/3;
            background: var(--white);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.3s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(233, 69, 96, 0.8));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: var(--white);
            opacity: 0;
            transition: all 0.3s ease;
            text-align: center;
            padding: 2rem;
            pointer-events: auto; /* Allow clicking */
            cursor: pointer;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .gallery-description {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        /* Modal for Gallery */
        .gallery-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0; top: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.85);
            justify-content: center;
            align-items: center;
        }

        .gallery-modal.active {
            display: flex;
        }

        .gallery-modal-content {
            position: relative;
            max-width: 98vw;
            max-height: 98vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .gallery-modal-content img {
            max-width: 98vw;
            max-height: 98vh;
            width: auto;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 0 24px #0008;
        }

        .gallery-modal-close {
            position: absolute;
            top: 10px;
            right: 18px;
            font-size: 2.5em;
            color: #fff;
            cursor: pointer;
            z-index: 2;
            background: none;
            border: none;
        }

        .img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.img-modal.active {
    display: flex;
}
.img-modal-content {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 24px #000a;
    background: #fff;
    object-fit: contain;
}
.img-modal-close {
    position: absolute;
    top: 18px;
    right: 32px;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    background: none;
    border: none;
}
.img-modal-prev, .img-modal-next {
    position: absolute;
    top: 50%;
    font-size: 2.5em;
    color: #fff;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    padding: 0 16px;
    background: rgba(0,0,0,0.3);
    border-radius: 30px;
    transform: translateY(-50%);
    z-index: 2;
}
.img-modal-prev { left: 10px; }
.img-modal-next { right: 10px; }

.img-modal-desc {
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 1em 1.5em;
    border-radius: 0 0 10px 10px;
    margin-top: -8px;
    max-width: 80vw;
    text-align: center;
    font-size: 1.1em;
}
@media (max-width: 600px) {
  .hero {
    margin-top: 70px;
    min-height: 60vh;
    height: auto !important;
    padding: 2rem 0 1.5rem 0;
    display: flex;
    align-items: flex-start;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 0 1rem;
    text-align: center;
    width: 100%;
  }
}
        /* E-commerce Store */
        .store {
            padding: 5rem 0;
            background: var(--white);
        }

        .store-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .store-grid {
            display: grid;
             grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-top: 2rem;
        }
    .store-grid img {
        width: 100%;
        height: auto;
        max-width: 200px;
    }
       
    .store-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
        width: 100%;
    }
    .product-card {
        padding: 1rem;
    }

        .product-item {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }

        .product-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .product-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 3rem;
            position: relative;
        }

        .product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--accent);
            color: var(--white);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .product-info {
            padding: 1.5rem;
        }

        .product-name {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .product-price {
            font-size: 1.2em;
    font-weight: bold;
    color: var(--gold);
    margin: 0.5em 0;
        }

        .product-description {
            color: var(--white);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }

        .product-specs {
            list-style: none;
            margin-bottom: 1.5rem;
        }

        .product-specs li {
            font-size: 0.85rem;
            color: var(--dark-gray);
            margin-bottom: 0.3rem;
            padding-left: 15px;
            position: relative;
        }

        .product-specs li::before {
            content: "•";
            color: var(--accent);
            position: absolute;
            left: 0;
        }

        .product-actions {
            display: flex;
            gap: 0.5rem;
        }

        .btn-cart {
            flex: 1;
            background: var(--primary);
            color: var(--white);
            border: none;
            padding: 0.8rem 1rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-cart:hover {
            background: var(--accent);
            transform: translateY(-2px);
        }

        .btn-wishlist {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            width: 45px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-wishlist:hover {
            background: var(--primary);
            color: var(--white);
        }

        /* Shopping Cart */
        .cart-icon {
            position: relative;
            cursor: pointer;
            margin-left: 1rem;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--accent);
            color: var(--white);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -350px;
            width: 320px;
            height: 100%;
            background: #fff;
            box-shadow: -2px 0 16px rgba(0,0,0,0.08);
            z-index: 2000;
            transition: right 0.3s;
            display: flex;
            flex-direction: column;
            padding: 1.5em 1em 1em 1em;
        }

        .cart-sidebar.active {
            right: 0;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1em;
        }

        .cart-close {
            background: none;
            border: none;
            font-size: 1.5em;
            cursor: pointer;
        }

        .cart-items {
            flex: 1;
            overflow-y: auto;
            margin-bottom: 1em;
        }

        .cart-item {
            display: flex;
            align-items: center;
            margin-bottom: 1em;
            border-bottom: 1px solid #eee;
            padding-bottom: 0.5em;
        }

        .cart-item img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
            margin-right: 0.7em;
        }

        .cart-item-title {
            flex: 1;
            font-size: 1em;
        }

        .cart-item-qty {
            margin: 0 0.5em;
        }

        .cart-item-remove {
            background: none;
            border: none;
            color: #c00;
            font-size: 1.2em;
            cursor: pointer;
        }

        .cart-total {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            margin-bottom: 1em;
        }

        .checkout-btn {
            background: linear-gradient(45deg, var(--accent), var(--gold));
            color: #fff;
            border: none;
            padding: 0.8em 0;
            border-radius: 6px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: background 0.2s;
        }
.product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold);
    margin: 0.5em 0;
}
        .checkout-btn:hover {
           transform: scale(1.1) translateY(-2px);
            box-shadow: 0 8px 30px rgba(255,106,0,0.36);
        }

        .cart-fab {
            position: fixed;
            right: 24px;
            bottom: 90px;
            background: linear-gradient(45deg, var(--accent), var(--gold));
            color: #fff;
            border: none;
            border-radius: 50px;
            padding: 0.7em 1.2em;
            font-size: 1.3em;
            box-shadow: 0 4px 16px rgba(0,0,0,0.18);
            z-index: 1500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5em;
        }

        .cart-fab span {
            background: #c00;
            color: #fff;
            border-radius: 50%;
            padding: 0.1em 0.5em;
            font-size: 0.9em;
            margin-left: 0.3em;
        }
        .cart-fab:hover {
            transform: scale(1.1) translateY(-2px);
            box-shadow: 0 8px 30px rgba(255,106,0,0.36);
        }

       

        /* Testimonials */
        .testimonials {
                    justify-content: center;
            padding: 5rem 0;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: var(--white);
        }

        .testimonials-grid {
                  justify-content: center;  
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .testimonial-card {
                    justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .testimonial-author {
            font-weight: bold;
            color: var(--gold);
        }

        .stars {
            color: var(--gold);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        /* Contact Section */
        .contact {
            padding: 5rem 0;
            background: var(--light-gray);
        }

        .contact-grid {
                    justify-content: center;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .contact-info {
            background: var(--white);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, var(--accent), var(--gold));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.2rem;
        }

        .contact-details h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .contact-details p {
            color: var(--dark-gray);
        }

        .contact-form {
            background: var(--white);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--primary);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255,106,0,0.08);
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        /* Footer */
        .footer {
            background: var(--primary);
            color: var(--white);
            padding: 3rem 0 1rem;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .footer-section p,
        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            line-height: 1.6;
        }

        .footer-section a:hover {
            color: var(--gold);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            opacity: 0.7;
        }

        /* Floating Action Button */
        .fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, var(--accent), var(--gold));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 1.5rem;
            text-decoration: none;
            box-shadow: 0 4px 20px rgba(255,106,0,0.28);
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .fab:hover {
            transform: scale(1.1) translateY(-2px);
            box-shadow: 0 8px 30px rgba(255,106,0,0.36);
        }

/* Responsive WhatsApp CTA used across pages. Keeps label on wider screens,
   hides label and moves to bottom-right on very small screens to avoid wrapping. */
.wa-cta {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 0.4em 1em;
    font-size: 0.95em;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1200;
    white-space: nowrap; /* prevent label wrapping */
}
.wa-cta img {
    width: 20px;
    height: 20px;
    display: inline-block;
}
.wa-cta .wa-label {
    display: inline-block;
}

/* On very small screens, move to bottom-right and hide the label to avoid overlap/wrapping */
@media (max-width: 480px) {
    .wa-cta {
        left: auto;
        right: 16px;
        transform: none;
        padding: 0.45em 0.6em;
        font-size: 0.92em;
    }
    .wa-cta .wa-label { display: none; }
}

        section {
            scroll-margin-top: 90px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
    .logo {
        font-size: 0.8rem;
        max-width: 150px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .gallery-filter,
    .store-filters {
        flex-direction: column;
        align-items: center;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    .store-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        width: 100%;
    }
    .product-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 1rem;
        margin-bottom: 1em;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Center products on mobile: single column, centered cards and text */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        justify-items: center; /* center the grid items horizontally */
        gap: 1.25rem;
    }

    .product-card,
    .product-item {
        max-width: 520px; /* limit width so cards don't span edge-to-edge */
        width: 100%;
        margin: 0 auto; /* center card */
        box-sizing: border-box;
    }

    .product-card .product-title,
    .product-item .product-name,
    .product-card .product-description {
        text-align: center;
    }

    /* Ensure images inside product cards are centered */
    .product-card img,
    .product-item img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        height: auto;
    }
}
.admin-edit, .admin-remove {
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.admin-edit:hover {
    background: #148c2b;
}

.admin-remove:hover {
    background: #a00;
}
.product-card {
    position: relative;
    cursor: pointer;
}

.admin-edit,
.admin-remove {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

product-card button {
    pointer-events: auto;
}
/* Removed stray `body { display:flex }` rule that constrained layout on mobile
   It caused product cards to shrink and not center correctly. Keeping body default.
*/
/* Gallery grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
  width: 100%;
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Gallery item/card */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

/* Hover lift */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

/* Image fits the card */
.gallery-img {
  width: 100%;
  height: 220px; /* uniform card height - adjust as needed */
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* subtle zoom on hover */
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

/* Overlay covers the whole card and centers text */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.6) 70%);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.22s ease, background 0.22s ease;
  pointer-events: none;
}

/* show overlay on hover (keeps click handlers working) */
.gallery-item:hover .gallery-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Title inside overlay */
.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  padding: 0 0.5rem; 
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .gallery-img { height: 200px; 
    justify-content: center;             
               }
}
@media (max-width: 600px) {   
   /* Defensive mobile fixes: ensure no horizontal shift and center content */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* prevent accidental horizontal scroll */
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Make images block-level and centered to avoid subpixel overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Center grid items and avoid stretched columns on small screens */
.gallery-grid {
    justify-items: center;
}

.gallery-item {
    width: 100%;
    box-sizing: border-box;
}

/* Ensure section title doesn't overflow */
.section-title {
    margin-left: auto;
    margin-right: auto;
}
         
  .gallery-item {
    width: 100%;
    box-sizing: border-box;
}         
  .gallery-grid { 
               max-width: 100%;
    justify-content: center;         
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem; 
}
  .gallery-img { height: 140px; }
  .gallery-title { font-size: 0.98rem; }
}
/* Defensive mobile fixes: ensure no horizontal shift and center content */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* prevent accidental horizontal scroll */
}

.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Make images block-level and centered to avoid subpixel overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Center grid items and avoid stretched columns on small screens */
.gallery-grid {
    justify-items: center;
}

.gallery-item {
    width: 100%;
    box-sizing: border-box;
}

/* Ensure section title doesn't overflow */
.section-title {
    margin-left: auto;
    margin-right: auto;
}
.more-galleries {
    margin-top: 2rem;
    text-align: center;
}
.more-galleries .filter-btn {
    font-size: 0.9rem; /* slightly smaller than main filter buttons */
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
}

@media (max-width: 420px) {
    .more-galleries .filter-btn {
        font-size: 0.82rem;
        padding: 0.35rem 0.6rem;
    }
}
/* Info block placed under galleries (uses smaller rem sizes for compactness) */
.gallery-info {
    margin-top: 1rem;
    background: var(--white);
    padding: 0.75rem 1rem; /* smaller than before */
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    color: var(--primary);
}
.gallery-info h2 {
    margin-top: 0;
    font-size: 1.125rem; /* 18px */
}
.gallery-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.gallery-info p,
.gallery-info li {
    font-size: 0.95rem; /* slightly reduced text size */
    line-height: 1.45;
}
.gallery-info hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #eee;
}
.gallery-info blockquote {
    background: #f8f8f8;
    padding: 0.5rem;
    border-left: 4px solid var(--gold);
    margin: 0.6rem 0;
}

/* Mobile menu: make scrollable but hide visible scrollbar; enlarge touch targets and animate caret */
.mobile-menu {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
    padding-bottom: 1.25rem;
}
.mobile-menu::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Safari/WebKit */
}

.mobile-menu ul li a {
    font-size: 1.1rem; /* larger tap target on mobile */
    padding: 0.9rem 1rem;
}

.mobile-submenu-toggle {
    font-size: 1.1rem;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-submenu-list {
    max-height: calc(45vh);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-left: 0.25rem;
    margin-bottom: 0.25rem;
}
.mobile-submenu-list::-webkit-scrollbar { display: none; }

/* Animated caret for mobile submenu */
.mobile-submenu-toggle::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease;
}
.mobile-submenu.open .mobile-submenu-toggle::after {
    transform: rotate(-135deg) translateY(1px);
    border-color: var(--gold);
}

/* Slightly increase spacing for mobile menu items to avoid cramped layout */
.mobile-menu ul li { margin: 0.6rem 0; }





















