
        * {
            font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
        }
        /* ===== BASE DARK THEME (DEFAULT - UNCHANGED) ===== */
        body {
            background: #050505;
            background-image: radial-gradient(circle at 30% 20%, rgba(180, 70, 20, 0.08) 0%, #020202 100%);
            scroll-behavior: smooth;
            transition: background-color 0.3s ease, color 0.2s ease;
        }
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #1a120c;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: #d96c2b;
            border-radius: 10px;
        }
        .glass-nav {
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(234, 88, 12, 0.25);
        }
        .premium-card {
            background: rgba(15, 15, 15, 0.7);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(234, 88, 12, 0.2);
            transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .premium-card:hover {
            border-color: rgba(234, 88, 12, 0.7);
            background: rgba(25, 20, 18, 0.8);
            transform: translateY(-8px);
            box-shadow: 0 25px 35px -15px rgba(234, 88, 12, 0.3);
        }
        .btn-gradient {
            background: linear-gradient(105deg, #ea580c, #b6410a);
            transition: all 0.3s ease;
        }
        .btn-gradient:hover {
            background: linear-gradient(105deg, #f97316, #c2410c);
            transform: translateY(-3px);
            box-shadow: 0 15px 30px -10px rgba(234, 88, 12, 0.5);
        }
        .gallery-overlay {
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(185, 74, 14, 0.7) 100%);
            transition: all 0.4s ease-out;
            opacity: 0;
        }
        .group:hover .gallery-overlay {
            opacity: 1;
        }
        .gallery-img {
            transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .group:hover .gallery-img {
            transform: scale(1.07);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            --tw-ring-color: #ea580c;
            --tw-ring-offset-width: 0px;
            box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.5);
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            100% { transform: translateY(-5px); }
        }
        .float-badge {
            animation: float 3s infinite alternate ease-in-out;
        }
        /* Gallery filter transition */
        .gallery-item {
            transition: all 0.3s ease-in-out;
        }
        .gallery-item.hide {
            display: none;
        }
        /* Modal Styles (Premium) */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.92);
            backdrop-filter: blur(12px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .modal.show {
            display: flex;
            opacity: 1;
        }
        .modal-content {
            max-width: 90vw;
            max-height: 90vh;
            background: rgba(20, 18, 16, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 2rem;
            border: 1px solid rgba(234, 88, 12, 0.4);
            padding: 1.5rem;
            box-shadow: 0 30px 50px rgba(0,0,0,0.5);
            transform: scale(0.95);
            transition: transform 0.25s ease;
        }
        .modal.show .modal-content {
            transform: scale(1);
        }
        .modal-img {
            border-radius: 1.2rem;
            max-height: 60vh;
            object-fit: cover;
        }
        .modal-close {
            position: absolute;
            top: 20px;
            left: 20px;
            cursor: pointer;
            font-size: 2rem;
            color: #fff;
            background: rgba(0,0,0,0.5);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .modal-close:hover {
            background: #b6410a;
            transform: scale(1.05);
        }
        /* Light theme overrides for modal */
        body.light-theme .modal-content {
            background: rgba(255, 250, 244, 0.96);
            border-color: rgba(177, 98, 44, 0.5);
            color: #2f2118;
        }
        body.light-theme .modal-close {
            background: rgba(0,0,0,0.2);
            color: #2f2118;
        }
        body.light-theme .modal-close:hover {
            background: #b1622c;
            color: white;
        }
        /* Filter Buttons */
        .filter-btn {
            transition: all 0.2s;
        }
        .filter-btn.active {
            background: #ea580c;
            color: white;
            border-color: #ea580c;
        }
        body.light-theme .filter-btn.active {
            background: #b1622c;
            border-color: #b1622c;
        }
        /* rest of light-theme rules are exactly same as previous (already defined in original code) but we must ensure modal styles are compatible */
        /* ===== LIGHT THEME STYLES (existing from previous code - keep as is) ===== */
        body.light-theme {
            background: #fbf6ef;
            background-image: radial-gradient(circle at 20% 10%, rgba(177, 98, 44, 0.10), transparent 32%), radial-gradient(circle at 85% 25%, rgba(120, 70, 35, 0.08), transparent 28%), linear-gradient(180deg, #fbf6ef 0%, #f4eadf 100%);
            color: #2f2118;
        }
        body.light-theme ::-webkit-scrollbar-track { background: #eadccd; }
        body.light-theme ::-webkit-scrollbar-thumb { background: #b1622c; }
        body.light-theme .glass-nav { background: rgba(255, 250, 244, 0.88) !important; border-bottom: 1px solid rgba(139, 83, 43, 0.22) !important; }
        body.light-theme nav a:not(.btn-gradient) { color: #3b281d; }
        body.light-theme nav a:not(.btn-gradient):hover { color: #b1622c; }
        body.light-theme #mobileMenu { background: rgba(255, 250, 244, 0.96) !important; }
        body.light-theme .premium-card { background: rgba(255, 253, 249, 0.82) !important; border: 1px solid rgba(178, 137, 100, 0.38) !important; }
        body.light-theme .premium-card:hover { background: rgba(255, 255, 255, 0.94) !important; border-color: rgba(177, 98, 44, 0.55) !important; }
        body.light-theme .btn-gradient { background: linear-gradient(105deg, #c26a2e, #8f451d) !important; color: #fffaf4 !important; }
        body.light-theme .gallery-overlay { background: linear-gradient(to top, rgba(47, 33, 24, 0.88) 0%, rgba(177, 98, 44, 0.42) 100%) !important; }
        body.light-theme .text-gray-100, body.light-theme .text-gray-200 { color: #2f2118 !important; }
        body.light-theme .border-orange-500\/30 { border-color: rgba(177, 98, 44, 0.28) !important; }
        body.light-theme footer { background: radial-gradient(circle at 15% 10%, rgba(177, 98, 44, 0.10), transparent 26%), linear-gradient(180deg, #f1e4d5 0%, #e8d6c3 100%) !important; border-top: 1px solid rgba(130, 90, 58, 0.22) !important; }
        /* Additional light rules for consistency */
        body.light-theme .bg-black\/30, body.light-theme .bg-black\/70, body.light-theme .bg-black\/90 { background-color: rgba(255, 250, 244, 0.72) !important; }
        body.light-theme .text-orange-400, body.light-theme .text-orange-500 { color: #b1622c !important; }
        .theme-btn { cursor: pointer; transition: all 0.2s; }
        .theme-btn:hover { transform: scale(1.05); }


        /* =========================
           RESPONSIVE FIXES
           Mobile + Tablet
        ========================= */

        html,
        body {
            max-width: 100%;
            overflow-x: hidden;
        }

        img,
        iframe {
            max-width: 100%;
        }

        @media (max-width: 480px) {
            nav .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            nav a.text-2xl,
            nav a.md\:text-3xl {
                font-size: 1.35rem !important;
                line-height: 1.8rem;
            }

            main {
                padding-top: 5.5rem !important;
            }

            #home .container,
            #products .container,
            #gallery .container,
            #about .container,
            #services .container,
            #contact .container,
            footer .container {
                padding-left: 1rem;
                padding-right: 1rem;
            }

            #home h1 {
                font-size: 2.15rem !important;
                line-height: 1.35 !important;
            }

            #home p {
                font-size: 0.95rem !important;
                line-height: 1.9 !important;
            }

            #home .flex.flex-wrap {
                flex-direction: column;
                gap: 0.75rem;
            }

            #home .flex.flex-wrap a {
                width: 100%;
                text-align: center;
            }

            #home .grid.grid-cols-3 {
                grid-template-columns: 1fr !important;
            }

            #home .grid.grid-cols-3 > div {
                padding: 1rem;
            }

            #products h2,
            #gallery h2,
            #about h2,
            #services h2,
            #contact h2 {
                font-size: 1.8rem !important;
                line-height: 1.45 !important;
            }

            #products .grid,
            #services .grid {
                grid-template-columns: 1fr !important;
            }

            #galleryGrid {
                grid-template-columns: 1fr !important;
                gap: 1rem;
            }

            .gallery-item {
                border-radius: 1.25rem !important;
                aspect-ratio: 4 / 3;
            }

            .gallery-overlay {
                opacity: 1 !important;
                background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15)) !important;
                padding: 1rem !important;
            }

            .gallery-overlay h4 {
                font-size: 1.1rem !important;
                line-height: 1.6 !important;
            }

            .filter-btn {
                font-size: 0.82rem;
                padding: 0.45rem 0.8rem;
            }

            .modal {
                padding: 0.75rem;
                align-items: flex-start;
                overflow-y: auto;
            }

            .modal-content {
                width: 100%;
                max-width: 100%;
                max-height: none;
                margin-top: 4rem;
                border-radius: 1.25rem;
                padding: 1rem;
            }

            .modal-img {
                max-height: 42vh;
                width: 100%;
                object-fit: cover;
            }

            .modal-close {
                top: 12px;
                left: 12px;
                width: 42px;
                height: 42px;
                font-size: 1.4rem;
                z-index: 1100;
            }

            #contact .grid {
                grid-template-columns: 1fr !important;
            }

            #contact .premium-card {
                padding: 1rem !important;
            }

            footer .grid {
                grid-template-columns: 1fr !important;
                gap: 1.5rem;
            }

            footer {
                text-align: right;
            }
        }

        @media (min-width: 481px) and (max-width: 767px) {
            #home h1 {
                font-size: 2.7rem !important;
                line-height: 1.35 !important;
            }

            #home .grid.grid-cols-3 {
                grid-template-columns: 1fr 1fr 1fr !important;
            }

            #galleryGrid {
                grid-template-columns: 1fr !important;
            }

            .gallery-overlay {
                opacity: 1 !important;
            }

            .modal-content {
                width: calc(100% - 2rem);
                max-width: 100%;
            }

            .modal-img {
                max-height: 50vh;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            #home .grid {
                grid-template-columns: 1fr !important;
            }

            #home h1 {
                font-size: 3.5rem !important;
            }

            #home .relative.flex.justify-center {
                margin-top: 1rem;
            }

            #products .grid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            #galleryGrid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            #services .grid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            #contact .grid {
                grid-template-columns: 1fr !important;
            }

            footer .grid {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }

            .modal-content {
                max-width: 90%;
            }

            .modal-img {
                max-height: 55vh;
            }
        }

        @media (min-width: 1024px) and (max-width: 1279px) {
            #products .grid {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            }
        }