        :root {
            --primary-gold: #D4A04D;
            --primary-dark: #224450;
            --primary-cream: #F5F5F0;
            --accent-olive: #6B7A53;
            --text-charcoal: #3A3A3A;
            --text-warm-gray: #6b6b6b;
            --text-light-gray: #9a9a9a;
            --border-elegant: #e8e3d8;
            --shadow-luxury: 0 8px 32px rgba(212, 160, 77, 0.15);
            --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
            --gradient-gold: linear-gradient(135deg, #D4A04D 0%, #E6B85C 50%, #D4A04D 100%);
            --gradient-dark: linear-gradient(135deg, #224450 0%, #2A5461 100%);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.7;
            color: var(--text-charcoal);
            background: var(--primary-cream);
            overflow-x: hidden;
            min-height: 100vh;
            width: 100%;
        }

        html {
            width: 100%;
            min-height: 100vh;
            scroll-behavior: smooth;
        }

        .font-serif {
            font-family: 'Playfair Display', serif;
        }

        .font-elegant {
            font-family: 'Cormorant Garamond', serif;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a44 50%, var(--primary-dark) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        .loading-screen.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loading-logo {
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            font-weight: 700;
            color: var(--primary-gold);
            letter-spacing: 3px;
            margin-bottom: 2rem;
            text-shadow: 0 0 20px rgba(212, 160, 77, 0.3);
            animation: logoGlow 2s ease-in-out infinite alternate;
        }

        .loading-subtitle {
            font-family: 'Cormorant Garamond', serif;
            font-size: 1.2rem;
            color: var(--primary-cream);
            letter-spacing: 2px;
            margin-bottom: 3rem;
            opacity: 0.8;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(212, 160, 77, 0.2);
            border-top: 3px solid var(--primary-gold);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes logoGlow {
            from {
                text-shadow: 0 0 20px rgba(212, 160, 77, 0.3);
            }
            to {
                text-shadow: 0 0 30px rgba(212, 160, 77, 0.6), 0 0 40px rgba(212, 160, 77, 0.3);
            }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--primary-cream);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-gold);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-bronze);
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 1.5rem 0;
            background: #224550;
            backdrop-filter: blur(20px);
            overflow: visible;
            min-height: 96px;
        }

        .navbar.scrolled {
            background: #224550;
            padding: 1rem 0;
            box-shadow: var(--shadow-soft);
            border-bottom: 1px solid var(--primary-gold);
            min-height: 80px;
        }

        .nav-link {
            position: relative;
            color: var(--primary-cream);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            padding: 0.75rem 1.5rem;
            border-radius: 0;
            letter-spacing: 0.5px;
            cursor: pointer;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--gradient-gold);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

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

        /* Logo */
        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.02);
        }

        .logo.admin-mode::after {
            content: '\f044';
            position: absolute;
            top: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background: linear-gradient(135deg, #3B82F6, #1D4ED8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: white;
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient-gold);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-luxury);
        }

        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-gold);
            letter-spacing: 2px;
        }

        .logo-subtitle {
            font-size: 0.75rem;
            color: var(--text-warm-gray);
            letter-spacing: 3px;
            font-weight: 300;
            margin-top: -5px;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2rem;
            font-weight: 500;
            font-size: 0.95rem;
            border-radius: 0;
            transition: all 0.4s ease;
            text-decoration: none;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .btn-primary {
            background: var(--gradient-gold);
            color: var(--primary-dark);
            box-shadow: var(--shadow-luxury);
            border: 2px solid transparent;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-charcoal);
            border: 2px solid var(--primary-gold);
        }

        .btn-secondary:hover {
            background: var(--primary-gold);
            color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-elegant {
            background: var(--primary-dark);
            color: var(--primary-cream);
            border: 2px solid var(--primary-dark);
        }

        .btn-elegant:hover {
            background: transparent;
            color: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* Hero section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, var(--primary-cream) 0%, #f5f2e8 50%, var(--primary-cream) 100%);
            overflow: hidden;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="luxury-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23luxury-pattern)"/></svg>');
            opacity: 0.6;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-title {
            font-size: clamp(4rem, 10vw, 8rem);
            font-weight: 800;
            line-height: 0.9;
            margin-bottom: 2rem;
            color: var(--primary-gold);
            font-family: 'Playfair Display', serif;
            letter-spacing: 3px;
        }

        .hero-subtitle {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            font-weight: 400;
            color: var(--text-charcoal);
            margin-bottom: 2rem;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            letter-spacing: 1px;
        }

        .hero-description {
            font-size: 1.25rem;
            color: var(--text-warm-gray);
            margin-bottom: 3rem;
            max-width: 650px;
            line-height: 1.8;
            font-weight: 300;
        }

        /* Decorative elements */
        .decorative-line {
            width: 100px;
            height: 2px;
            background: var(--gradient-gold);
            margin: 2rem 0;
        }

        /* Cards */
        .card {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 0;
            padding: 3rem;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--border-elegant);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-gold);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-luxury);
        }

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

        /* Project cards */
        .project-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 0;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            border: 1px solid var(--border-elegant);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-12px);
            box-shadow: var(--shadow-luxury);
        }

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

        .project-video {
            width: 100%;
            height: 320px;
            object-fit: cover;
        }

        .project-card:hover .project-image {
            transform: scale(1.08);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(212, 175, 55, 0.85));
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        /* Category filters */
        .category-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 4rem;
            justify-content: center;
        }

        .category-btn {
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid var(--border-elegant);
            border-radius: 0;
            color: var(--text-charcoal);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.4s ease;
            cursor: pointer;
            position: relative;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .category-btn:hover,
        .category-btn.active {
            background: var(--primary-gold);
            color: var(--primary-dark);
            border-color: var(--primary-gold);
            transform: translateY(-3px);
            box-shadow: var(--shadow-luxury);
        }

        /* Sections */
        .section {
            padding: 8rem 0;
            position: relative;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }

        .section-title {
            font-size: clamp(3rem, 6vw, 5rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 1.5rem;
            color: var(--text-charcoal);
            font-family: 'Playfair Display', serif;
            letter-spacing: 2px;
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.5rem;
            color: var(--text-warm-gray);
            margin-bottom: 5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            font-family: 'Cormorant Garamond', serif;
            font-style: italic;
            line-height: 1.6;
        }

        /* Stats section */
        .stats-card {
            text-align: center;
            padding: 3rem 2rem;
        }

        .stats-number {
            font-size: 4rem;
            font-weight: 700;
            color: var(--primary-gold);
            margin-bottom: 1rem;
            font-family: 'Playfair Display', serif;
        }

        .stats-label {
            font-size: 1.1rem;
            color: var(--text-warm-gray);
            font-weight: 400;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Modal styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 26, 0.9);
            backdrop-filter: blur(15px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 2rem;
            overflow-y: auto;
        }

        .modal.active {
            display: flex;
            animation: modalFadeIn 0.4s ease;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: var(--primary-cream);
            border-radius: 0;
            padding: 4rem;
            max-width: 600px;
            width: 100%;
            position: relative;
            animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-luxury);
            border: 1px solid var(--border-elegant);
            max-height: calc(100vh - 4rem);
            overflow-y: auto;
        }

        /* Upload loading overlay */
        .upload-overlay {
            position: absolute;
            inset: 0;
            background: rgba(245, 245, 240, 0.92);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            border-radius: inherit;
        }

        .upload-overlay-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .upload-spinner {
            width: 48px;
            height: 48px;
            border: 4px solid var(--border-elegant);
            border-top-color: var(--primary-gold);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .upload-overlay-text {
            color: var(--text-charcoal);
            font-size: 0.95rem;
            font-weight: 500;
            text-align: center;
        }

        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: scale(0.95) translateY(30px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        /* Form styles */
        .form-group {
            margin-bottom: 2rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.75rem;
            font-weight: 500;
            color: var(--text-charcoal);
            font-size: 1rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .form-input {
            width: 100%;
            padding: 1.25rem;
            border: 2px solid var(--border-elegant);
            border-radius: 0;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-charcoal);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary-gold);
            box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
        }

        /* Gallery modal */
        .gallery-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(15px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            overflow: hidden;
        }

        .gallery-modal.active {
            display: flex;
        }

        .gallery-content {
            position: relative;
            max-width: 85vw;
            max-height: 75vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-image {
            max-width: 100%;
            max-height: 75vh;
            object-fit: contain;
            border-radius: 0;
            box-shadow: var(--shadow-luxury);
        }

        .gallery-video {
            max-width: 100%;
            max-height: 75vh;
            border-radius: 0;
            box-shadow: var(--shadow-luxury);
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(212, 175, 55, 0.9);
            backdrop-filter: blur(10px);
            border: 2px solid var(--primary-gold);
            color: var(--primary-dark);
            font-size: 1rem;
            padding: 0.75rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-nav:hover {
            background: var(--primary-gold);
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-nav.prev {
            left: -60px;
        }

        .gallery-nav.next {
            right: -60px;
        }

        .gallery-close {
            position: absolute;
            top: -60px;
            right: 0;
            background: rgba(212, 175, 55, 0.9);
            backdrop-filter: blur(10px);
            border: 2px solid var(--primary-gold);
            color: var(--primary-dark);
            font-size: 1rem;
            padding: 0.75rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10001;
        }

        .gallery-close:hover {
            background: var(--primary-gold);
            transform: scale(1.1);
        }

        /* Gallery thumbnails */
        .gallery-thumbnails {
            position: absolute;
            bottom: -90px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            background: rgba(26, 26, 26, 0.9);
            backdrop-filter: blur(10px);
            padding: 12px;
            border-radius: 8px;
            border: 2px solid var(--primary-gold);
            max-width: 85vw;
            overflow-x: auto;
            scrollbar-width: thin;
            z-index: 10001;
        }

        .gallery-thumbnails::-webkit-scrollbar {
            height: 4px;
        }

        .gallery-thumbnails::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 2px;
        }

        .gallery-thumbnails::-webkit-scrollbar-thumb {
            background: var(--primary-gold);
            border-radius: 2px;
        }

        .gallery-thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            flex-shrink: 0;
        }

        .gallery-thumbnail:hover {
            transform: scale(1.1);
            border-color: var(--primary-gold);
        }

        .gallery-thumbnail.active {
            border-color: var(--primary-gold);
            box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
        }

        .gallery-thumbnail.video {
            position: relative;
        }

        .gallery-thumbnail.video::after {
            content: '\f04b';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: white;
            font-size: 16px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        /* Mobile menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(26, 26, 26, 0.98) 100%);
            backdrop-filter: blur(20px);
            transform: translateY(-100%);
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
        }

        .mobile-menu.active {
            transform: translateY(0);
        }

        .mobile-menu-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.5s ease;
            color: var(--primary-cream);
            font-family: 'Playfair Display', serif;
            font-size: 2.5rem;
            font-weight: 400;
            letter-spacing: 2px;
            cursor: pointer;
            text-decoration: none;
        }

        .mobile-menu.active .mobile-menu-item {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu.active .mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-menu-item:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-menu-item:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-menu-item:nth-child(4) { transition-delay: 0.4s; }
        .mobile-menu.active .mobile-menu-item:nth-child(5) { transition-delay: 0.5s; }
        .mobile-menu.active .mobile-menu-item:nth-child(6) { transition-delay: 0.6s; }
        .mobile-menu.active .mobile-menu-item:nth-child(7) { transition-delay: 0.7s; }

        /* Hamburger menu */
        .hamburger {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
        }

        .hamburger span {
            width: 30px;
            height: 3px;
            background: var(--primary-cream);
            margin: 4px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

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

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        /* Page System */
        .page {
            display: none;
            min-height: 100vh;
        }

        .page.active {
            display: block;
        }

        /* Admin styles */
        .admin-panel {
            position: fixed;
            top: 100px;
            right: 20px;
            background: var(--primary-dark);
            color: white;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: var(--shadow-luxury);
            z-index: 1000;
            display: none;
        }

        .admin-panel.active {
            display: block;
        }

        /* Responsive design */
        @media (max-width: 1024px) {
            .section {
                padding: 4rem 0;
            }

            .hero {
                min-height: calc(100vh - 96px);
                padding: 2rem 0;
            }

            .card {
                padding: 1.5rem;
            }

            .hero-title {
                font-size: clamp(2.5rem, 8vw, 6rem);
                line-height: 1.1;
                margin-bottom: 1rem;
            }

            .hero-subtitle {
                font-size: clamp(1.2rem, 3vw, 2rem);
                margin-bottom: 1.5rem;
            }

            .hero-description {
                font-size: clamp(1rem, 2.5vw, 1.25rem);
                margin-bottom: 2rem;
                line-height: 1.6;
            }

            .section-title {
                font-size: clamp(2rem, 5vw, 4rem);
                margin-bottom: 1rem;
            }

            .section-subtitle {
                font-size: clamp(1rem, 2.5vw, 1.5rem);
                margin-bottom: 3rem;
                line-height: 1.5;
            }

            .project-image {
                height: 250px;
            }

            .stats-number {
                font-size: clamp(2rem, 6vw, 4rem);
                margin-bottom: 0.5rem;
            }

            .stats-label {
                font-size: clamp(0.75rem, 2vw, 1.1rem);
            }

            .category-filter {
                gap: 0.75rem;
                margin-bottom: 2rem;
                padding: 0 1rem;
            }

            .category-btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.875rem;
                white-space: nowrap;
            }
        }

        @media (max-width: 768px) {
            .gallery-content {
                max-width: 95vw;
                max-height: 70vh;
            }

            .gallery-image, .gallery-video {
                max-height: 70vh;
            }

            .gallery-nav.prev {
                left: 10px;
            }

            .gallery-nav.next {
                right: 10px;
            }

            .gallery-close {
                top: -50px;
                right: 0;
            }

            .gallery-nav, .gallery-close {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
                padding: 0.5rem;
            }

            .gallery-thumbnails {
                bottom: -80px;
                padding: 8px;
                gap: 6px;
                max-width: 95vw;
            }

            .gallery-thumbnail {
                width: 50px;
                height: 50px;
            }

            .gallery-thumbnail.video::after {
                font-size: 14px;
            }
        }

            .modal {
                padding: 1rem;
                align-items: flex-start;
                padding-top: 2rem;
            }

            .modal-content {
                padding: 1.5rem;
                margin: 0;
                width: calc(100% - 2rem);
                max-height: calc(100vh - 4rem);
                overflow-y: auto;
            }

            .project-image {
                height: 200px;
            }

            .logo-text {
                font-size: 1.5rem;
            }

            .logo-subtitle {
                font-size: 0.6rem;
                letter-spacing: 2px;
            }

            .logo-icon {
                width: 40px;
                height: 40px;
            }
        }

        @media (max-width: 480px) {
            .hero-content {
                text-align: center;
                padding: 0 0.75rem;
            }

            .category-filter {
                gap: 0.5rem;
                padding: 0 0.75rem;
                display: flex;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .category-btn {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
                flex-shrink: 0;
                min-width: fit-content;
            }

            .project-image {
                height: 180px;
            }

            .section {
                padding: 2rem 0;
            }

            .card {
                padding: 1rem;
                margin: 0 0.25rem;
            }

            .btn {
                padding: 0.75rem 1.5rem;
                font-size: 0.875rem;
            }

            .stats-card {
                padding: 1.5rem 1rem;
            }

            .logo-text {
                font-size: 1.25rem;
            }

            .logo-subtitle {
                font-size: 0.5rem;
                letter-spacing: 1px;
            }

            .logo-icon {
                width: 35px;
                height: 35px;
            }

            .modal-content {
                margin: 0.5rem;
                padding: 1rem;
            }
        }
