        html {
            overflow-x: clip !important;
            max-width: 100% !important;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: var(--font-secondary);
            max-width: 100%;
        }

        :root {
            --font-primary: 'Cormorant Garamond', serif;
            --font-secondary: 'Montserrat', sans-serif;

            --primary-color: #2A2A2A;
            --accent-color: #F28A1D;
            --accent-dark: #D97916;
            --text-color: #4A4A4A;
            --light-bg: #F4F4F4;
            --white: #FFFFFF;
            --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.25);
            --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.1);

            --night-bg: #1a1a1a;
            --night-primary: #252525;
            --night-text: #e0e0e0;
            --night-light-bg: #252525;
        }

        body {
            background-color: var(--light-bg);
            color: var(--text-color);
            overflow-x: clip !important;
            max-width: 100% !important;
            width: 100% !important;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        body.night-mode {
            background-color: var(--night-bg);
            color: var(--night-text);
        }


        .snowflake {
            user-select: none;
            pointer-events: none;
            z-index: 9999;
            color: #a9cce3;
            font-weight: bold;
            font-family: "Arial", sans-serif;
            white-space: nowrap;
            position: fixed;
        }

        .snowflake.night-mode {
            color: #ffffff;
        }

        header {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            max-width: 1400px;
            z-index: 1000;
            transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
            padding: 0;
            background: transparent;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-primary);
            font-weight: 600;
            /* Cormorant headings need a bit more weight */
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            position: relative;
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        .night-mode .header-container {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        /* The Frame Lines (Blueprint Effect) */
        .frame-line {
            position: absolute;
            background: var(--accent-color);
            transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 10;
        }

        .line-top {
            top: 0;
            left: 0;
            width: 0;
            height: 1px;
        }

        .line-right {
            top: 0;
            right: 0;
            width: 1px;
            height: 0;
        }

        .line-bottom {
            bottom: 0;
            right: 0;
            width: 0;
            height: 1px;
        }

        .line-left {
            bottom: 0;
            left: 0;
            width: 1px;
            height: 0;
        }

        .header-solid {
            top: 0;
            width: 100%;
            max-width: 2000px;
        }

        .header-solid .header-container {
            padding: 10px 5%;
            border-left: none;
            border-right: none;
            border-top: none;
            background: rgba(255, 255, 255, 0.9);
        }

        .night-mode .header-solid .header-container {
            background: rgba(15, 15, 15, 0.9);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .logo {
            font-size: 26px;
            font-weight: 800;
            color: var(--white);
            text-decoration: none;
            display: flex;
            align-items: center;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .header-solid .logo {
            color: var(--primary-color);
        }

        .night-mode .logo {
            color: var(--night-text);
        }

        .logo img {
            height: 65px;
            width: auto;
            transition: all 0.5s ease;
        }

        .night-mode .logo img {
            filter: brightness(0) invert(1);
        }

        /* Kinetic Typography Navigation */
        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 5px;
        }

        .nav-item {
            position: relative;
            overflow: hidden;
            padding: 10px 15px;
        }

        .nav-link {
            text-decoration: none;
            display: block;
            position: relative;
            height: 20px;
            overflow: hidden;
        }

        .nav-link span {
            display: block;
            position: relative;
            font-size: 13px;
            line-height: 20px;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--white);
            font-family: var(--font-secondary);
            /* Montserrat for Nav */
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .header-solid .nav-link span {
            color: var(--primary-color);
        }

        .night-mode .nav-link span {
            color: var(--night-text);
        }

        .nav-link span::after {
            content: attr(data-text);
            position: absolute;
            top: 100%;
            left: 0;
            color: var(--accent-color);
            line-height: 20px;
        }

        .nav-item:hover .nav-link span {
            transform: translateY(-100%);
        }

        /* Theme Toggle Customization */
        .theme-toggle-btn {
            width: 50px;
            height: 24px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .header-solid .theme-toggle-btn {
            background: rgba(0, 0, 0, 0.05);
            border-color: rgba(0, 0, 0, 0.1);
        }

        .theme-toggle-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: var(--accent-color);
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .theme-toggle-btn.night::before {
            transform: translateX(100%);
        }

        .theme-icon {
            position: absolute;
            z-index: 2;
            font-size: 11px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .sun-icon {
            left: 8px;
            color: #fff;
        }

        .moon-icon {
            right: 8px;
            color: #fff;
        }

        /* Scroll Progress - blueprint style */
        .scroll-progress-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
        }

        .scroll-progress-bar {
            height: 100%;
            background: var(--accent-color);
            width: 0%;
        }


        .hamburger-menu {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 28px !important;
            height: 14px !important;
            min-width: 28px !important;
            min-height: 14px !important;
            flex-shrink: 0 !important;
            background: transparent !important;
            border: none !important;
            padding: 0;
            cursor: pointer;
            z-index: 2500;
            outline: none;
            transition: opacity 0.25s ease, visibility 0.25s ease;
        }

        .hamburger-line {
            display: block;
            width: 100%;
            height: 1px;
            background-color: #ffffff !important;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .night-mode .hamburger-line {
            background-color: #ffffff !important;
        }

        .header-solid .hamburger-line {
            background-color: var(--primary-color) !important;
        }

        .night-mode .header-solid .hamburger-line {
            background-color: #ffffff !important;
        }

        .hamburger-line.line-1 {
            width: 28px;
        }

        .hamburger-line.line-2 {
            width: 18px;
            align-self: flex-end;
        }

        body.mobile-menu-open .hamburger-menu {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: #070707;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .mobile-menu-inner {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 70%;
            width: 80%;
            max-width: 400px;
            text-align: center;
            z-index: 2;
        }

        .mobile-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .mobile-menu li {
            opacity: 0;
            transform: translateY(20px);
            transition: transform 0.5s ease, opacity 0.5s ease;
        }

        .mobile-menu.active li {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered load of menu links */
        .mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active li:nth-child(4) { transition-delay: 0.4s; }
        .mobile-menu.active li:nth-child(5) { transition-delay: 0.5s; }

        .mobile-menu:not(.active) li {
            transition-delay: 0s;
        }

        .mobile-menu a {
            font-family: 'Cormorant Garamond', serif;
            font-size: 32px;
            font-weight: 300;
            color: #ffffff;
            text-decoration: none !important;
            display: inline-block;
            transition: color 0.3s ease, transform 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .mobile-menu a:hover {
            color: var(--accent-color);
            transform: translateY(-2px);
        }

        .mobile-menu-footer {
            margin-top: 50px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 25px;
            opacity: 0;
            transform: translateY(15px);
            transition: transform 0.5s ease 0.6s, opacity 0.5s ease 0.6s;
        }

        .mobile-menu.active .mobile-menu-footer {
            opacity: 0.4;
            transform: translateY(0);
        }

        .mobile-menu-footer p {
            font-family: 'Outfit', sans-serif;
            font-size: 11px;
            color: #ffffff;
            letter-spacing: 1.5px;
            margin: 5px 0;
            text-transform: uppercase;
        }

        .mobile-menu-close {
            position: absolute;
            top: max(24px, env(safe-area-inset-top));
            right: max(22px, env(safe-area-inset-right));
            width: 42px;
            height: 42px;
            background: transparent !important;
            border: none !important;
            cursor: pointer;
            z-index: 2600;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 0;
            outline: none;
        }

        .close-line {
            width: 24px;
            height: 1px;
            background-color: #ffffff;
            display: block;
            position: absolute;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .close-line.line-1 {
            transform: rotate(45deg);
        }

        .close-line.line-2 {
            transform: rotate(-45deg);
        }

        .mobile-menu-close:hover .close-line {
            background-color: var(--accent-color);
        }


        .header-hidden {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .hero-slider {
            height: 100vh;
            position: relative;
            overflow: hidden;
            background: #000;
        }

        .slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            z-index: 1;
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            transform: scale(1.1);
            transition: transform 8s linear;
        }

        .slide.active .slide-bg {
            transform: scale(1);
        }

        .slide::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .slide-overlay {
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
            z-index: 2;
        }

        .architectural-lines {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 3;
            opacity: 0.3;
        }

        .line-v,
        .line-h {
            position: absolute;
            background: var(--accent-color);
            opacity: 0;
        }

        .line-v {
            width: 1px;
            height: 100%;
            top: 0;
        }

        .line-h {
            height: 1px;
            width: 100%;
            left: 0;
        }

        .slide-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding: 60px;
            max-width: 1000px;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            clip-path: polygon(0 0, 95% 0, 100% 15%, 100% 100%, 5% 100%, 0 85%);
            margin: 0 auto;
        }

        .slide-title-wrapper,
        .slide-desc-wrapper {
            overflow: hidden;
            margin-bottom: 20px;
        }

        .slide-title {
            font-size: 72px;
            /* Increased for Cormorant */
            color: white;
            font-weight: 600;
            font-family: var(--font-primary);
            font-style: italic;
            /* Editorial flair */
            margin: 0;
            text-transform: none;
            /* Serifs look better normal case or substantial caps */
            letter-spacing: 0px;
            /* Serifs usually need less tracking */
            transform: translateY(100%);
            line-height: 1;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            will-change: transform;
            backface-visibility: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .slide-description {
            font-size: 20px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 700px;
            margin: 0 auto;
            transform: translateY(100%);
            font-weight: 300;
            font-family: var(--font-secondary);
            letter-spacing: 1px;
            line-height: 1.6;
            will-change: transform;
            backface-visibility: hidden;
            -webkit-font-smoothing: antialiased;
        }

        .btn {
            display: inline-block;
            padding: 16px 40px;
            background-color: var(--accent-color);
            color: var(--white);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 500;
            font-family: var(--font-secondary);
            /* Montserrat for buttons */
            transition: var(--transition);
            border: 2px solid var(--accent-color);
            font-size: 15px;
            letter-spacing: 1px;
            text-transform: uppercase;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
        }

        .btn:hover {
            background-color: transparent;
            color: var(--accent-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Yeni Animasyon Stilleri */
        .slide-title .letter {
            display: inline-block;
            line-height: 1em;
        }

        .slide-title {
            overflow: hidden;
            display: block;
        }

        .slide-description {
            transition: opacity 0.5s ease;
        }

        /* Buton Draw Efekti */
        .btn {
            position: relative;
            overflow: hidden;
            z-index: 1;
            transition: all 0.4s ease;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(-101%);
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: -1;
        }

        .btn:hover::before {
            transform: translateX(0);
        }

        .project-card,
        .service-card {
            transition: transform 0.65s cubic-bezier(.19, 1, .22, 1), box-shadow 0.65s cubic-bezier(.19, 1, .22, 1), opacity 0.65s ease;
        }

        /* Premium Butonlar (Yandan Kesikli/Trimli) */
        .btn-premium {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 40px;
            font-weight: 600;
            font-family: var(--font-secondary);
            /* Montserrat */
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--white);
            background: transparent;
            border: none;
            cursor: pointer;
            overflow: hidden;
            clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1;
        }

        .btn-premium::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--accent-color);
            transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
            z-index: -1;
        }

        .btn-premium::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            z-index: -2;
        }

        .btn-premium:hover {
            color: var(--white);
            transform: translateX(5px);
            box-shadow: -10px 0 20px rgba(0, 0, 0, 0.2);
        }

        .btn-premium:hover::before {
            left: 0;
        }

        .hero-btn {
            margin-top: 30px;
            opacity: 0;
            transform: translateY(20px);
        }

        /* Daha premium buton stili */
        .btn-cesa {
            overflow: hidden;
            clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
        }

        .section {
            padding: 100px 5%;
            transition: background-color 0.5s ease;
        }

        .night-mode .section {
            background-color: var(--night-bg);
        }

        .section-title {
            text-align: center;
            font-size: 42px;
            /* Increased for Serifs */
            font-family: var(--font-primary);
            font-weight: 500;
            font-style: italic;
            margin-bottom: 60px;
            color: var(--primary-color);
            position: relative;
            text-transform: none;
            /* Editorial style */
            letter-spacing: 0;
            transition: color 0.5s ease;
        }

        .night-mode .section-title {
            color: var(--night-text);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, transparent, var(--accent-color), transparent);
            border-radius: 2px;
        }

        .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
            box-sizing: border-box;
            width: 100%;
        }

        .services {
            background-color: var(--white);
            transition: background-color 0.5s ease;
        }

        .night-mode .services {
            background-color: var(--night-primary);
        }

        .services-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            perspective: 1000px;
        }

        .service-card {
            background-color: var(--light-bg);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: transform 0.65s cubic-bezier(.19, 1, .22, 1), box-shadow 0.65s cubic-bezier(.19, 1, .22, 1), opacity 0.65s ease, background-color 0.5s ease;
            min-height: 550px;
            /* Initial state for animation */
            opacity: 0;
            transform: translateY(30px);
        }

        .night-mode .service-card {
            background-color: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .service-card:hover {
            transform: translateY(-10px) scale(1.015);
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
            opacity: 1;
        }

        .night-mode .service-card:hover {
            box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
        }

        .service-img {
            height: 240px;
            overflow: hidden;
            position: relative;
        }

        .service-img::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: none;
            opacity: 0 !important;
            transition: var(--transition);
        }

        .service-card:hover .service-img::after {
            opacity: 1;
        }

        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .service-card:hover .service-img img {
            transform: none;
        }

        .service-content {
            padding: 30px;
        }

        .service-title {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            transition: color 0.5s ease;
        }

        .night-mode .service-title {
            color: var(--night-text);
        }

        .service-title i {
            color: var(--accent-color);
            margin-right: 15px;
            font-size: 24px;
            background-color: rgba(231, 76, 60, 0.1);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .night-mode .service-title i {
            background-color: rgba(242, 138, 29, 0.2);
        }

        .service-description {
            color: #666;
            line-height: 1.7;
            margin-bottom: 20px;
            transition: color 0.5s ease;
        }

        .night-mode .service-description {
            color: #aaa;
        }

        .service-features {
            list-style: none;
            margin-bottom: 25px;
        }

        .service-features li {
            margin-bottom: 10px;
            color: #555;
            display: flex;
            align-items: center;
            transition: color 0.5s ease;
        }

        .night-mode .service-features li {
            color: #bbb;
        }

        .service-features li i {
            color: var(--accent-color);
            margin-right: 10px;
            font-size: 14px;
        }

        .service-link {
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            transition: var(--transition);
        }

        .service-link i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .service-link:hover i {
            transform: translateX(8px);
        }

        .projects {
            background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            transition: background 0.5s ease;
        }

        .night-mode .projects {
            background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.9)),
                url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
        }





        .project-category {
            color: var(--accent-color);
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
            font-size: 15px;
        }

        .project-description {
            color: #666;
            line-height: 1.5;
            font-size: 14px;
            flex-grow: 1;
            margin-bottom: 10px;
            transition: color 0.5s ease;
        }

        .night-mode .project-description {
            color: #aaa;
        }

        .project-specs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-top: 5px;
            padding-top: 8px;
            border-top: 1px solid #eee;
            transition: border-color 0.5s ease;
        }

        .night-mode .project-specs {
            border-top: 1px solid #333;
        }

        .spec-item {
            display: flex;
            flex-direction: column;
            font-size: 12px;
        }

        .spec-label {
            color: #888;
            margin-bottom: 2px;
            transition: color 0.5s ease;
        }

        .night-mode .spec-label {
            color: #777;
        }

        .spec-value {
            color: var(--primary-color);
            font-weight: 500;
            transition: color 0.5s ease;
        }

        .night-mode .spec-value {
            color: var(--night-text);
        }

        .featured-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--accent-color);
            padding: 6px 14px;
            color: white;
            font-size: 14px;
            border-radius: 6px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
            font-weight: 600;
            z-index: 10;
        }

        .vision {
            background-color: var(--primary-color);
            color: var(--white);
            position: relative;
            overflow: hidden;
            transition: background-color 0.5s ease;
        }

        .vision .section-title {
            color: var(--white);
        }

        .geometric-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            opacity: 0.3;
            pointer-events: none;
        }

        .geometric-bg svg {
            width: 100%;
            height: 100%;
        }

        .geometric-bg svg>* {
            fill: var(--accent-color);
            stroke: var(--accent-color);
            stroke-width: 0.5px;
            opacity: 0;
        }

        .vision-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
            position: relative;
            z-index: 1;
        }

        .masked-reveal {
            overflow: hidden;
            display: block;
            width: 100%;
        }

        .section-title {
            transition: color 0.5s ease;
        }

        /* Titles inside masked-reveal are hidden by default for GSAP entrance */
        .masked-reveal .section-title {
            transform: translateY(100%);
            margin-bottom: 0;
            padding-bottom: 35px;
            /* Increased to ensure absolute positioned underline is within mask bounds */
            position: relative;
            z-index: 1;
        }

        .masked-reveal .section-title::after {
            bottom: 5px !important;
            /* Forces the underline to stay within titles box so overflow:hidden doesn't clip it */
        }

        .masked-reveal {
            margin-bottom: 25px;
            /* Compensate for title padding */
        }

        .vision .section-title {
            color: var(--white);
        }

        .vision-item {
            text-align: center;
            padding: 40px 30px;
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            transition: transform 0.4s ease, background-color 0.4s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(50px) scale(0.9) rotate(2deg);
        }

        .night-mode .vision-item {
            background-color: rgba(255, 255, 255, 0.03);
        }

        .vision-item:hover {
            transform: translateY(-10px);
            background-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .night-mode .vision-item:hover {
            background-color: rgba(255, 255, 255, 0.08);
        }

        .vision-icon {
            font-size: 50px;
            color: var(--accent-color);
            margin-bottom: 25px;
            display: inline-block;
            transition: var(--transition);
        }

        .vision-title {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--white);
            transition: var(--transition);
        }

        .vision-text {
            line-height: 1.7;
            transition: var(--transition);
        }

        .vision-item:nth-child(1) .vision-title,
        .vision-item:nth-child(1) .vision-text {
            transition-delay: 0.1s;
        }

        .vision-item:nth-child(2) .vision-title,
        .vision-item:nth-child(2) .vision-text {
            transition-delay: 0.3s;
        }

        .vision-item:nth-child(3) .vision-title,
        .vision-item:nth-child(3) .vision-text {
            transition-delay: 0.5s;
        }

        footer {
            background-color: #1a252f;
            color: var(--white);
            text-align: center;
            padding: 60px 0 30px;
            transition: background-color 0.5s ease;
            position: relative;
            z-index: 10;
        }

        .footer-content {
            opacity: 0;
            transform: translateY(30px);
        }

        .night-mode footer {
            background-color: #0a0a0a;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .social-icons {
            margin-bottom: 30px;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--white);
            margin: 0 10px;
            font-size: 20px;
            transition: var(--transition);
        }

        .social-icons a:hover {
            background-color: var(--accent-color);
            transform: translateY(-5px);
        }

        .copyright {
            margin-top: 30px;
            color: #aaa;
            font-size: 16px;
        }

        .projects-more-btn {
            text-align: center;
            margin-top: 40px;
        }

        .btn-cesa {
            width: 180px;
            height: 60px;
            cursor: pointer;
            background: transparent;
            border: 1px solid var(--accent-color);
            outline: none;
            transition: 0.8s ease-in-out;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .btn-cesa span {
            color: var(--primary-color);
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 1px;
            z-index: 2;
            transition: color 0.5s ease;
        }

        .night-mode .btn-cesa span {
            color: var(--night-text);
        }

        .btn-cesa svg {
            position: absolute;
            left: 0;
            top: 0;
            fill: none;
            stroke: var(--accent-color);
            stroke-dasharray: 150 480;
            stroke-dashoffset: 150;
            transition: 0.8s ease-in-out;
            z-index: 1;
        }

        .btn-cesa:hover {
            background: var(--accent-color);
            transition: 0.8s ease-in-out;
        }

        .btn-cesa:hover span {
            color: white;
        }

        .btn-cesa:hover svg {
            stroke-dashoffset: -480;
            stroke: white;
        }

        /* Marquee Social Menu Stilleri */
        .social-marquee-container {
            width: 100%;
            max-width: 600px;
            margin: 0 auto 30px;
            overflow: hidden;
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50px;
            padding: 10px 0;
        }

        .marquee-content {
            display: flex;
            gap: 30px;
            width: max-content;
            animation: marqueeScroll 20s linear infinite;
        }

        @keyframes marqueeScroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .marquee-item {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 20px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .marquee-item:hover {
            background: var(--accent-color);
            transform: scale(1.1) rotate(8deg);
            color: white;
        }

        .projects-empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 40px;
            background-color: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            min-height: 420px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: background-color 0.5s ease;
        }

        .night-mode .projects-empty-state {
            background-color: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        }

        .projects-empty-state h3 {
            color: var(--accent-color);
            margin-bottom: 20px;
            font-size: 24px;
        }

        .projects-empty-state p {
            color: var(--text-color);
            font-size: 16px;
            transition: color 0.5s ease;
        }

        .night-mode .projects-empty-state p {
            color: var(--night-text);
        }


        @media (max-width: 1200px) {


            .services-container,
            .vision-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
        }

        @media (max-width: 992px) {
            .nav-menu {
                display: none;
            }

            .hamburger-menu {
                display: flex !important;
                flex-direction: column !important;
                justify-content: space-between !important;
                align-items: stretch !important;
                width: 28px !important;
                height: 14px !important;
                min-width: 28px !important;
                min-height: 14px !important;
                flex-shrink: 0 !important;
            }

            .slide-title {
                font-size: 48px;
            }

            .slide-description {
                font-size: 20px;
            }

            .section-title {
                font-size: 32px;
            }

            .services-container,
            .vision-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }





            .spec-item {
                font-size: 11px;
            }

            .header-left {
                gap: 20px;
            }

            header {
                width: 100% !important;
                max-width: 100% !important;
                left: 0 !important;
                transform: none !important;
                top: 0 !important;
            }

            .nav-menu-container {
                display: none !important;
            }

            .header-container {
                padding: 10px 16px;
                box-sizing: border-box;
                width: 100%;
                overflow: hidden;
            }
        }
        @media (max-width: 768px) {
            .hero-slider {
                height: 72vh !important;
            }

            .section-title {
                font-size: 28px;
            }

            .slide-title {
                font-size: 36px;
            }

            .slide-description {
                font-size: 18px;
            }

            .service-card {
                max-width: 100%;
                margin: 0 auto;
            }

            .services-container,
            .vision-container {
                grid-template-columns: 1fr;
                gap: 20px;
            }



            .mobile-menu a {
                font-size: 24px;
                padding: 16px 30px;
            }

            .mobile-menu li {
                margin-bottom: 20px;
            }

            .header-left {
                gap: 15px;
            }

            .theme-toggle-btn {
                width: 50px;
                height: 25px;
            }

            .theme-toggle-btn.night::before {
                transform: translateX(25px);
            }

            .theme-toggle-btn::before {
                width: 20px;
                height: 20px;
            }

            .theme-icon {
                font-size: 14px;
            }

            .sun-icon {
                left: 8px;
            }

            .moon-icon {
                right: 8px;
            }

            .logo img {
                height: 60px !important;
                max-width: 150px !important;
                object-fit: contain;
                margin-right: 0;
            }

        }

        @media (max-width: 480px) {
            .slide-title {
                font-size: 32px;
            }

            .btn {
                padding: 14px 30px;
                font-size: 16px;
            }

            .section {
                padding: 80px 5%;
            }

            .slide-title {
                font-size: 32px;
            }

            .slide-description {
                font-size: 18px;
                padding: 0 20px;
            }

            .project-card {
                height: 360px;
            }

            .project-specs {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 4px;
                margin-top: 4px;
                padding-top: 6px;
            }

            .spec-item {
                font-size: 9px;
            }

            .spec-label {
                font-size: 8px;
            }

            .spec-value {
                font-size: 9px;
            }

            .project-content {
                padding: 3px 6px 2px 6px;
            }

            .project-title {
                font-size: 18px;
                margin-bottom: 6px;
            }

            .project-category {
                font-size: 13px;
                margin-bottom: 6px;
            }

            .mobile-menu a {
                font-size: 20px;
                padding: 14px 25px;
            }

            .mobile-menu li {
                margin-bottom: 15px;
            }

            .close-menu {
                top: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 24px;
            }

            .header-left {
                gap: 10px;
            }

            .theme-toggle-btn {
                width: 45px;
                height: 22px;
            }

            .theme-toggle-btn.night::before {
                transform: translateX(23px);
            }

            .theme-toggle-btn::before {
                width: 18px;
                height: 18px;
                left: 2px;
            }

            .theme-icon {
                font-size: 12px;
            }

            .sun-icon {
                left: 6px;
            }

            .moon-icon {
                right: 6px;
            }

            .logo img {
                height: 45px;
            }
        }

        /* --- Subpage Header --- */
        .page-header {
            height: 70vh;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            margin-top: 0;
            padding-top: 150px;
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            position: relative;
        }

        .page-header::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
            z-index: 1;
        }

        .page-header-content {
            width: 100%;
            max-width: 1200px;
            padding: 0 20px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .page-title {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.3s forwards;
            width: 100%;
            font-family: 'Cormorant Garamond', serif;
        }

        .page-description {
            font-size: 20px;
            max-width: 800px;
            line-height: 1.6;
            text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            padding: 0 20px;
            margin: 0 auto;
            font-family: 'Montserrat', sans-serif;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* --- Process Section --- */
        .process {
            background-color: var(--light-bg);
            transition: background-color 0.5s ease;
        }

        .night-mode .process {
            background-color: var(--night-bg);
        }

        .process-steps {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            margin-top: 50px;
            width: 100%;
        }

        .process-step {
            flex: 1;
            min-width: 200px;
            text-align: center;
            padding: 30px 20px;
            margin: 15px;
            background: var(--white);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: var(--transition), background-color 0.5s ease;
            opacity: 0;
            transform: translateY(30px);
            width: 100%;
        }

        .night-mode .process-step {
            background-color: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .process-step:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .night-mode .process-step:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: var(--accent-color);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            margin: 0 auto 20px;
            flex-shrink: 0;
        }

        .step-title {
            font-size: 20px;
            margin-bottom: 15px;
            color: var(--primary-color);
            transition: color 0.5s ease;
        }

        .step-title i {
            margin-right: 10px;
            color: var(--accent-color);
        }

        .night-mode .step-title {
            color: var(--night-text);
        }

        .step-description {
            color: #666;
            line-height: 1.6;
            transition: color 0.5s ease;
        }

        .night-mode .step-description {
            color: #aaa;
        }

        /* --- CTA Section --- */
        .cta {
            background: linear-gradient(rgba(42, 42, 42, 0.9), rgba(42, 42, 42, 0.9)),
                url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            text-align: center;
            padding: 100px 5%;
            width: 100%;
            max-width: 100%;
            transition: background 0.5s ease;
        }

        .night-mode .cta {
            background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.9)),
                url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
        }

        .cta-title {
            font-size: 36px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.3s forwards;
            width: 100%;
        }

        .cta-description {
            font-size: 18px;
            margin-bottom: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 16px 40px;
            background-color: var(--accent-color);
            color: var(--white);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid var(--accent-color);
            font-size: 18px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.9s forwards;
        }

        .btn:hover {
            background-color: transparent;
            color: var(--accent-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* --- Media Queries for Subpages --- */
        @media (max-width: 1100px) {
            .process-steps {
                justify-content: center;
            }

            .process-step {
                min-width: 250px;
                margin: 15px 10px;
            }
        }

        @media (max-width: 992px) {
            .page-header {
                height: 50vh;
                padding-top: 120px;
            }

            .page-title {
                font-size: 36px;
            }

            .page-description {
                font-size: 18px;
            }

            .process-step {
                min-width: 220px;
            }
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 32px;
            }

            .process-step {
                min-width: 100%;
                margin: 10px 0;
            }

            .process-steps {
                gap: 20px;
            }
        }

        @media (max-width: 576px) {
            .step-title {
                font-size: 18px;
            }

            .step-description {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            .page-title {
                font-size: 28px;
            }

            .cta-title {
                font-size: 28px;
            }

            .cta-description {
                font-size: 16px;
            }

            .btn {
                padding: 14px 30px;
                font-size: 16px;
            }
        }

        /* --- Projects Page Filters --- */
        /* --- PROJECT CARDS V5 (ARCHITECTURAL JOURNEY / HOTEL LUXURY) --- */
        .projects-container {
            display: flex;
            flex-direction: column;
            gap: 120px;
            /* High-end spaciousness */
            padding: 60px 0 100px 0;
            max-width: 100%;
        }

        .project-card {
            display: flex;
            flex-direction: row;
            /* Explicitly set row to override legacy */
            align-items: center;
            justify-content: space-between;
            gap: 80px;
            position: relative;
            opacity: 0;
            /* Managed by GSAP */
            text-decoration: none;
            min-height: 500px;
        }

        /* Alternating Layout */
        .project-card:nth-child(even) {
            flex-direction: row-reverse;
        }

        .project-card:hover .project-img img {
            transform: scale(1.05);
            /* Slow, elegant zoom */
        }

        /* Image Section - The "Showpiece" */
        .project-img {
            flex: 1.2;
            /* Takes up slightly more space */
            min-width: 500px;
            /* Prevent collapse */
            width: 60%;
            /* Explicit width for safety */
            height: 500px;
            position: relative;
            overflow: hidden;
            border-radius: 2px;
            /* Minimal rounding */
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
            /* Important: Do not shrink */
        }

        /* Default: ALL projects start with gray frame */
        .project-img::after {
            content: '';
            position: absolute;
            inset: 20px;
            border: 1px solid rgba(128, 128, 128, 0.7);
            /* Gray border */
            z-index: 2;
            transition: all 0.5s ease;
            opacity: 0.8;
        }

        /* Explicitly ensure NON-FEATURED projects have gray */
        .project-card:not(.featured) .project-img::after {
            border-color: rgba(128, 128, 128, 0.7);
            /* Completely gray */
        }

        /* FEATURED Projects get the Gold Treatment */
        .project-card.featured .project-img::after {
            border-color: rgba(242, 138, 29, 0.8);
            /* Gold accent */
            box-shadow: inset 0 0 30px rgba(242, 138, 29, 0.1);
            opacity: 0.8;
        }

        /* Hover states */
        .project-card:not(.featured):hover .project-img::after {
            inset: 10px;
            border-color: rgba(128, 128, 128, 0.9);
            /* Darker gray on hover */
            opacity: 1;
        }

        .project-card.featured:hover .project-img::after {
            inset: 10px;
            border-color: rgba(242, 138, 29, 1);
            /* Brighter gold on hover */
            opacity: 1;
        }

        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        /* Content Section - The "Narrative" */
        .project-content {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 5;
            background: transparent;
            /* No box, just text in space */
        }

        /* Decorative Line connecting text to image */
        .project-content::before {
            content: '';
            position: absolute;
            top: 50%;
            width: 50px;
            height: 1px;
            background: var(--accent-color);
        }

        .project-card:nth-child(odd) .project-content::before {
            right: 100%;
            /* Line to the left image */
        }

        .project-card:nth-child(even) .project-content::before {
            left: 100%;
            /* Line to the right image */
        }

        .project-category {
            font-family: 'Montserrat', sans-serif;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--accent-color);
            margin-bottom: 20px;
            display: block;
            position: relative;
            padding-left: 0;
        }

        .project-title {
            font-family: 'Cormorant Garamond', serif;
            font-size: 48px;
            /* Huge editorial title */
            font-weight: 400;
            /* Thin, elegant */
            color: var(--primary-color);
            margin-bottom: 30px;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .night-mode .project-title {
            color: var(--white);
        }

        .project-description {
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            line-height: 1.8;
            color: var(--text-color);
            opacity: 0.8;
            margin-bottom: 40px;
            max-width: 90%;
        }

        .night-mode .project-description {
            color: #ccc;
        }

        /* Specs - Vertical Elegant List */
        .project-specs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            padding-top: 30px;
        }

        .night-mode .project-specs {
            border-top-color: rgba(255, 255, 255, 0.1);
        }

        .spec-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .spec-icon {
            font-size: 10px;
            color: var(--accent-color);
            width: 20px;
        }

        .spec-label {
            display: none;
            /* Minimalist - hide label, just show value */
        }

        .spec-value {
            font-family: 'Montserrat', sans-serif;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--primary-color);
        }

        .night-mode .spec-value {
            color: var(--white);
        }

        /* Featured Badge - Gold Stamp Style */
        .featured-badge {
            position: absolute;
            top: -20px;
            right: 40px;
            /* Position varies based on layout? */
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--accent-color);
            color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            text-align: center;
            text-transform: uppercase;
            font-weight: 700;
            line-height: 1.2;
            box-shadow: 0 10px 20px rgba(242, 138, 29, 0.4);
            z-index: 20;
            transform: rotate(15deg);
        }

        /* Even item badge position */
        .project-card:nth-child(even) .featured-badge {
            right: auto;
            left: 40px;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .projects-container {
                gap: 60px;
            }

            .project-card,
            .project-card:nth-child(even) {
                flex-direction: column;
                gap: 30px;
            }

            .project-img {
                width: 100%;
                min-width: 0;
                /* Reset min-width for mobile */
                height: 400px;
                flex: none;
            }

            .project-content {
                width: 100%;
                flex: none;
                padding: 0 20px;
                text-align: center;
                align-items: center;
            }

            .project-content::before {
                display: none;
            }

            .project-title {
                font-size: 36px;
            }

            .project-description {
                text-align: center;
                max-width: 100%;
            }

            .project-specs {
                justify-content: center;
            }

            .featured-badge {
                top: 20px;
                right: 20px;
                left: auto !important;
            }
        }


        /* --- FILTERS V4 (GLASSMORPHIC FLOATING BAR) --- */
        .filters-section {
            position: relative;
            background: transparent;
            padding: 0;
            margin-bottom: 80px;
            width: 100%;
            display: flex;
            justify-content: center;
            z-index: 50;
        }

        .filters-container {
            display: flex;
            align-items: center;
            gap: 0;
            /* Connected elements */
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            padding: 10px;
            border-radius: 50px;
            /* Pill shape */
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            /* Soft floating shadow */
            border: 1px solid rgba(255, 255, 255, 0.4);
            width: auto;
            max-width: 900px;
        }

        .night-mode .filters-container {
            background: rgba(30, 30, 30, 0.8);
            border-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        }

        .filter-group {
            position: relative;
            padding: 0 25px;
            border-right: 1px solid rgba(0, 0, 0, 0.08);
        }

        .night-mode .filter-group {
            border-right-color: rgba(255, 255, 255, 0.1);
        }

        .filter-group:last-child {
            border-right: none;
        }

        .filter-label {
            display: none;
            /* Hide labels for icon-only modern look */
        }

        /* Inputs specialized for bar */
        .search-input {
            border: none;
            background: transparent;
            padding: 10px 0;
            width: 250px;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            color: var(--primary-color);
        }

        .select-input {
            border: none;
            background: transparent;
            padding: 10px 15px 10px 0;
            width: 180px;
            font-family: 'Montserrat', sans-serif;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-color);
            cursor: pointer;
            appearance: none;
            /* Hide default arrow */
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right center;
            background-size: 14px;
        }

        .night-mode .search-input,
        .night-mode .select-input {
            color: var(--white);
        }

        .night-mode .select-input {
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        }

        .search-input:focus,
        .select-input:focus {
            outline: none;
        }

        /* Search Icon fake */
        .filter-group.search::before {
            content: '\f002';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--accent-color);
            margin-right: 10px;
            font-size: 14px;
        }

        /* Filter Actions inside the bar */
        .filter-actions {
            display: none;
            /* Hide default text info */
        }

        .filter-buttons {
            margin-left: 10px;
        }

        .btn-primary {
            border-radius: 30px;
            /* Match pill */
            padding: 12px 25px;
            font-size: 12px;
            letter-spacing: 1px;
            height: 44px;
            /* Fix height */
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-secondary {
            display: none;
            /* Hide reset button for cleaner look */
        }

        /* Responsive */
        @media (max-width: 992px) {
            .filters-container {
                flex-direction: column;
                border-radius: 20px;
                padding: 20px;
                width: 100%;
                gap: 20px;
                align-items: stretch;
            }

            .filter-group {
                border-right: none;
                border-bottom: 1px solid rgba(0, 0, 0, 0.08);
                padding: 10px 0;
            }

            .search-input,
            .select-input {
                width: 100%;
            }

            .projects-container {
                grid-template-columns: 1fr;
                padding: 20px;
                gap: 40px;
            }

            .project-card {
                height: auto;
                min-height: 450px;
            }

            .project-content {
                position: relative;
                bottom: auto;
                left: auto;
                right: auto;
                margin-top: -40px;
                /* Negative margin overlap */
                margin-left: 20px;
                margin-right: 20px;
                transform: none;
            }
        }

        .night-mode .filters-section {
            background-color: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .filters-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
            width: 100%;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
            width: 100%;
        }

        .filter-label {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.5s ease;
        }

        .night-mode .filter-label {
            color: var(--night-text);
        }

        .filter-label i {
            color: var(--accent-color);
        }

        .search-input,
        .select-input {
            padding: 12px 20px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 16px;
            width: 100%;
            background-color: var(--white);
            color: var(--text-color);
            transition: all 0.5s ease;
        }

        .night-mode .search-input,
        .night-mode .select-input {
            background-color: var(--night-primary);
            border-color: var(--night-border);
            color: var(--night-text);
        }

        .search-input:focus,
        .select-input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(242, 138, 29, 0.1);
        }

        .filter-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            width: 100%;
        }

        .results-info {
            font-size: 14px;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.5s ease;
        }

        .night-mode .results-info {
            color: var(--night-text);
        }

        .results-info span {
            color: var(--accent-color);
            font-weight: 600;
        }

        .filter-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn-primary {
            background-color: var(--accent-color);
            color: var(--white);
            border: none;
        }

        .btn-primary:hover {
            background-color: var(--accent-dark);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: var(--light-bg);
            color: var(--primary-color);
            border: 1px solid var(--border-color);
            transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
        }

        .night-mode .btn-secondary {
            background-color: var(--night-primary);
            color: var(--night-text);
            border-color: var(--night-border);
        }

        .btn-secondary:hover {
            background-color: var(--border-color);
            transform: translateY(-2px);
        }

        .night-mode .btn-secondary:hover {
            background-color: var(--night-border);
        }

        /* --- Project Card Extensions --- */
        .project-card.featured {
            position: relative;
            border: 2px solid var(--accent-color);
            animation: glow 2s infinite alternate;
        }

        @keyframes glow {
            from {
                box-shadow: 0 0 15px rgba(242, 138, 29, 0.3),
                    inset 0 0 15px rgba(242, 138, 29, 0.1);
            }

            to {
                box-shadow: 0 0 25px rgba(242, 138, 29, 0.5),
                    inset 0 0 20px rgba(242, 138, 29, 0.15);
            }
        }

        .featured-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--accent-color);
            padding: 8px 16px;
            color: white;
            font-size: 14px;
            border-radius: 20px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
            font-weight: 600;
            z-index: 10;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .view-count {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0, 0, 0, 0.7);
            padding: 6px 12px;
            color: white;
            font-size: 12px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 10;
        }

        .project-specs {
            margin-top: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
            width: 100%;
            transition: border-color 0.5s ease;
        }

        .night-mode .project-specs {
            border-top: 1px solid var(--night-border);
        }

        .spec-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            font-size: 14px;
            width: 100%;
        }

        .spec-icon {
            width: 24px;
            height: 24px;
            background-color: rgba(242, 138, 29, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: var(--accent-color);
            font-size: 12px;
            flex-shrink: 0;
            transition: background-color 0.5s ease;
        }

        .night-mode .spec-icon {
            background-color: rgba(242, 138, 29, 0.2);
        }

        .spec-label {
            flex: 1;
            color: var(--text-color);
            font-weight: 500;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transition: color 0.5s ease;
        }

        .night-mode .spec-label {
            color: var(--night-text);
        }

        .spec-value {
            color: var(--primary-color);
            font-weight: 600;
            margin-left: 10px;
            flex-shrink: 0;
            transition: color 0.5s ease;
        }

        .night-mode .spec-value {
            color: var(--night-text);
        }

        /* --- Pagination --- */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 40px;
            flex-wrap: wrap;
            width: 100%;
        }

        .pagination-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: var(--white);
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: 1px solid var(--border-color);
            transition: all 0.5s ease;
        }

        .night-mode .pagination-link {
            background-color: var(--night-primary);
            color: var(--night-text);
            border-color: var(--night-border);
        }

        .pagination-link:hover,
        .pagination-link.active {
            background-color: var(--accent-color);
            color: var(--white);
            border-color: var(--accent-color);
        }

        .pagination-link.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* --- No Results --- */
        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            background: var(--white);
            border-radius: 15px;
            box-shadow: var(--shadow-soft);
            width: 100%;
            transition: background-color 0.5s ease, box-shadow 0.5s ease;
        }

        .night-mode .no-results {
            background-color: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .no-results i {
            font-size: 60px;
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        /* --- Projects Media Queries --- */
        @media (max-width: 1100px) {
            .filters-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .filters-container {
                grid-template-columns: 1fr;
            }

            .filter-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-buttons {
                justify-content: center;
            }
        }

        /* --- Contact Page Styles --- */
        .contact-section {
            padding: 100px 5%;
            background: var(--white);
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            transition: background-color 0.5s ease;
        }

        .night-mode .contact-section {
            background-color: var(--night-primary);
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
            width: 100%;
            padding: 0 20px;
        }

        .contact-info {
            padding: 40px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #3A3A3A 100%);
            border-radius: 20px;
            color: var(--white);
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .contact-info::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(242, 138, 29, 0.1) 0%, transparent 70%);
        }

        .contact-title {
            font-size: 32px;
            margin-bottom: 30px;
            color: var(--white);
            position: relative;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease 0.3s forwards;
        }

        .contact-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }

        .contact-details {
            margin-bottom: 40px;
            width: 100%;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateX(-20px);
            width: 100%;
        }

        .contact-item.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .contact-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(10px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--accent-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            flex-shrink: 0;
            font-size: 20px;
        }

        .contact-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--accent-color);
        }

        .contact-text p {
            color: #ccc;
            line-height: 1.6;
        }

        .social-links {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            width: 100%;
        }

        .social-link {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: var(--transition);
            border: 1px solid rgba(255, 255, 255, 0.2);
            flex-shrink: 0;
        }

        .social-link:hover {
            background: var(--accent-color);
            transform: translateY(-5px) rotate(5deg);
        }

        .contact-form-container {
            background: var(--light-bg);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            width: 100%;
            transition: background-color 0.5s ease, box-shadow 0.5s ease;
        }

        .night-mode .contact-form-container {
            background-color: var(--night-primary);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        }

        .form-title {
            font-size: 28px;
            margin-bottom: 30px;
            color: var(--primary-color);
            text-align: center;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease 0.3s forwards;
            transition: color 0.5s ease;
        }

        .night-mode .form-title {
            color: var(--night-text);
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 100%;
        }

        .form-group {
            position: relative;
            width: 100%;
        }

        .form-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            background: var(--white);
            font-size: 16px;
            transition: var(--transition);
            outline: none;
            max-width: 100%;
            transition: all 0.5s ease;
        }

        .night-mode .form-input {
            background-color: var(--night-bg);
            border-color: #444;
            color: var(--night-text);
        }

        .form-input:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(242, 138, 29, 0.1);
        }

        .form-textarea {
            min-height: 120px;
            resize: vertical;
            font-family: inherit;
        }

        .form-label {
            position: absolute;
            left: 20px;
            top: 15px;
            background: var(--white);
            padding: 0 8px;
            color: #999;
            transition: var(--transition);
            pointer-events: none;
            transition: all 0.5s ease;
        }

        .night-mode .form-label {
            background-color: var(--night-bg);
            color: #888;
        }

        .form-input:focus+.form-label,
        .form-input:not(:placeholder-shown)+.form-label {
            top: -10px;
            left: 15px;
            font-size: 12px;
            color: var(--accent-color);
            font-weight: 600;
        }

        select.form-input {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1em;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
            color: var(--white);
            border: none;
            padding: 16px 40px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease 0.9s forwards;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(242, 138, 29, 0.3);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        /* --- Map Section --- */
        .map-section {
            padding: 80px 5%;
            background: var(--light-bg);
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            transition: background-color 0.5s ease;
        }

        .night-mode .map-section {
            background-color: var(--night-bg);
        }

        .map-container {
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
            position: relative;
            width: 100%;
            transition: box-shadow 0.5s ease;
        }

        .night-mode .map-container {
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        }

        .map-placeholder {
            width: 100%;
            height: 500px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
            font-size: 18px;
            position: relative;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        .night-mode .map-placeholder {
            background-color: #1a1a1a;
            color: #aaa;
        }

        .map-placeholder i {
            font-size: 48px;
            margin-right: 20px;
            transition: color 0.5s ease;
        }

        .night-mode .map-placeholder i {
            color: #777;
        }

        .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(42, 42, 42, 0.9));
            color: var(--white);
            padding: 40px;
            z-index: 2;
            width: 100%;
        }

        .map-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            width: 100%;
        }

        .map-info-item {
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
        }

        .map-info-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .map-info-icon {
            width: 60px;
            height: 60px;
            background: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-size: 24px;
        }

        .map-info-text h4 {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--white);
        }

        .map-info-text p {
            color: #ccc;
            font-size: 14px;
        }

        /* --- FAQ Section --- */
        .faq-section {
            padding: 100px 5%;
            background: var(--white);
            width: 100%;
            max-width: 100%;
            overflow: hidden;
            transition: background-color 0.5s ease;
        }

        .night-mode .faq-section {
            background-color: var(--night-primary);
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
            padding: 0 20px;
        }

        .faq-title {
            text-align: center;
            font-size: 36px;
            margin-bottom: 60px;
            color: var(--primary-color);
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.3s forwards;
            transition: color 0.5s ease;
        }

        .night-mode .faq-title {
            color: var(--night-text);
        }

        .faq-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(to right, transparent, var(--accent-color), transparent);
            border-radius: 2px;
        }

        .faq-item {
            background: var(--light-bg);
            border-radius: 15px;
            margin-bottom: 20px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
            opacity: 0;
            transform: translateY(20px);
            transition: background-color 0.5s ease, border-color 0.5s ease;
        }

        .night-mode .faq-item {
            background-color: var(--night-primary);
            border-color: #444;
        }

        .faq-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-question {
            padding: 25px 30px;
            background: var(--white);
            border: none;
            width: 100%;
            text-align: left;
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-color);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: var(--transition);
        }

        .night-mode .faq-question {
            background-color: var(--night-bg);
            color: var(--night-text);
        }

        .faq-question:hover {
            background: var(--light-bg);
        }

        .night-mode .faq-question:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .faq-answer {
            padding: 0 30px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            color: #666;
            line-height: 1.6;
            transition: all 0.5s ease;
        }

        .night-mode .faq-answer {
            color: #aaa;
        }

        .faq-item.active .faq-answer {
            padding: 25px 30px;
            max-height: 500px;
        }

        .faq-icon {
            transition: var(--transition);
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        /* --- Contact Media Queries --- */
        @media (max-width: 992px) {
            .contact-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 768px) {

            .contact-info,
            .contact-form-container {
                padding: 30px;
            }

            .map-overlay {
                padding: 30px 20px;
            }

            .map-info {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .faq-question {
                padding: 20px;
                font-size: 16px;
            }

            .faq-answer {
                padding: 0 20px;
            }

            .faq-item.active .faq-answer {
                padding: 20px;
            }

            .contact-item {
                padding: 15px;
            }

            .contact-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
                margin-right: 15px;
            }
        }

        @media (max-width: 576px) {
            .contact-title {
                font-size: 28px;
            }

            .form-title {
                font-size: 24px;
            }

            .faq-title {
                font-size: 28px;
            }

            .map-placeholder {
                height: 400px;
                flex-direction: column;
            }

            .map-placeholder i {
                margin-right: 0;
                margin-bottom: 10px;
                font-size: 36px;
            }
        }

        @media (max-width: 480px) {
            .contact-item {
                flex-direction: column;
                text-align: center;
            }

            .contact-icon {
                margin-right: 0;
                margin-bottom: 15px;
            }

            .social-links {
                justify-content: center;
            }

            .contact-info,
            .contact-form-container {
                padding: 20px;
            }

            .map-info-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
        }

        /* --- About Page Styles --- */
        .about-intro {
            background-color: var(--white);
            transition: background-color 0.5s ease;
        }

        .night-mode .about-intro {
            background-color: var(--night-primary);
        }

        .intro-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            width: 100%;
        }

        .intro-text h2 {
            font-size: 36px;
            margin-bottom: 25px;
            color: var(--primary-color);
            width: 100%;
            transition: color 0.5s ease;
        }

        .night-mode .intro-text h2 {
            color: var(--night-text);
        }

        .intro-text p {
            font-size: 18px;
            line-height: 1.8;
            margin-bottom: 25px;
            color: #666;
            width: 100%;
            transition: color 0.5s ease;
        }

        .night-mode .intro-text p {
            color: #aaa;
        }

        .intro-image {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transform: translateX(50px);
            animation: fadeInRight 1s ease 0.6s forwards;
            width: 100%;
            max-width: 100%;
            transition: box-shadow 0.5s ease;
        }

        .night-mode .intro-image {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        @keyframes fadeInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .intro-image img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            transition: var(--transition);
            max-width: 100%;
        }

        .intro-image:hover img {
            transform: scale(1.05);
        }

        /* --- Stats Section --- */
        .stats {
            background: linear-gradient(rgba(42, 42, 42, 0.9), rgba(42, 42, 42, 0.9)),
                url('https://images.unsplash.com/photo-1541976590-713941681591?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            text-align: center;
            padding: 80px 5%;
            width: 100%;
            max-width: 100%;
            transition: background 0.5s ease;
        }

        /* --- Stats Section --- */
        .section.stats {
            position: relative;
            padding: 80px 0;
            background-attachment: fixed;
            background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            color: var(--white);
            overflow: hidden;
        }

        .stats-bg-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
            z-index: 0;
        }

        /* Night mode specific override if needed */
        .night-mode .section.stats {
            background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
        }

        .stats .section-container {
            position: relative;
            z-index: 2;
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
            padding: 0 20px;
            text-align: center;
        }

        @media (max-width: 768px) {
            .stats-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
                padding: 0 8%;
                justify-items: center;
            }

            .stat-number {
                font-size: 40px !important;
            }

            .stat-text {
                font-size: 13px !important;
            }
        }

        .stat-item {
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .stat-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .stat-number {
            font-size: 56px;
            font-weight: 700;
            color: var(--accent-color);
            margin-bottom: 15px;
            display: block;
            line-height: 1;
            font-family: var(--font-primary);
        }

        .stat-text {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* --- Values Section --- */
        .values {
            background-color: var(--white);
            transition: background-color 0.5s ease;
        }

        .night-mode .values {
            background-color: var(--night-primary);
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            width: 100%;
        }

        .value-item {
            text-align: center;
            padding: 40px 30px;
            background: var(--light-bg);
            border-radius: 15px;
            transition: var(--transition);
            opacity: 0;
            transform: translateY(30px);
            width: 100%;
            transition: all 0.3s ease, background-color 0.5s ease, box-shadow 0.5s ease;
        }

        .night-mode .value-item {
            background: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .value-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .value-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .night-mode .value-item:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .value-icon {
            width: 80px;
            height: 80px;
            background: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            color: var(--white);
            font-size: 32px;
        }

        .value-title {
            font-size: 24px;
            margin-bottom: 15px;
            color: var(--primary-color);
            transition: color 0.5s ease;
        }

        .night-mode .value-title {
            color: var(--night-text);
        }

        .value-description {
            color: #666;
            line-height: 1.6;
            transition: color 0.5s ease;
        }

        .night-mode .value-description {
            color: #aaa;
        }

        /* --- Team Member Styles --- */
        .team {
            background-color: var(--light-bg);
            transition: background-color 0.5s ease;
        }

        .night-mode .team {
            background-color: var(--night-bg);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            width: 100%;
        }

        .team-member {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            width: 100%;
            transition: all 0.3s ease, background-color 0.5s ease, box-shadow 0.5s ease;
        }

        .night-mode .team-member {
            background: var(--night-primary);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .team-member.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .night-mode .team-member:hover {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .member-image {
            height: 300px;
            overflow: hidden;
            width: 100%;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
            max-width: 100%;
        }

        .team-member:hover .member-image img {
            transform: scale(1.1);
        }

        .member-info {
            padding: 30px 25px;
            width: 100%;
        }

        .member-name {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--primary-color);
            transition: color 0.5s ease;
        }

        .night-mode .member-name {
            color: var(--night-text);
        }

        .member-position {
            color: var(--accent-color);
            font-weight: 600;
            margin-bottom: 15px;
            display: block;
        }

        .member-bio {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            transition: color 0.5s ease;
        }

        .night-mode .member-bio {
            color: #aaa;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 15px;
            width: 100%;
        }

        .member-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--light-bg);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            text-decoration: none;
            flex-shrink: 0;
            transition: all 0.3s ease, background-color 0.5s ease, color 0.5s ease;
        }

        .night-mode .member-social a {
            background: var(--night-border);
            color: var(--night-text);
        }

        .member-social a:hover {
            background: var(--accent-color);
            color: var(--white);
            transform: translateY(-3px);
        }

        /* --- Timeline/Journey Styles --- */
        .journey-container {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 60px 20px;
            width: 100%;
            transition: background-color 0.5s ease;
        }

        .journey-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, var(--accent-color), #FFB74D, #FF9800);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .journey-items {
            position: relative;
            z-index: 2;
            width: 100%;
        }

        .journey-item {
            display: flex;
            align-items: center;
            margin-bottom: 80px;
            position: relative;
            opacity: 0;
            width: 100%;
        }

        .journey-item.visible {
            opacity: 1;
        }

        .journey-item:nth-child(odd) {
            flex-direction: row;
            transform: translateX(-50px);
        }

        .journey-item:nth-child(even) {
            flex-direction: row-reverse;
            transform: translateX(50px);
        }

        .journey-item.visible:nth-child(odd),
        .journey-item.visible:nth-child(even) {
            transform: translateX(0);
            transition: transform 0.8s ease;
        }

        .journey-dot {
            width: 20px;
            height: 20px;
            background: var(--accent-color);
            border: 4px solid var(--white);
            border-radius: 50%;
            box-shadow: 0 0 0 3px var(--accent-color), 0 0 20px rgba(242, 138, 29, 0.3);
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            transition: all 0.3s ease;
        }

        .night-mode .journey-dot {
            border: 4px solid var(--night-primary);
        }

        .journey-item:hover .journey-dot {
            transform: translateX(-50%) scale(1.3);
            box-shadow: 0 0 0 4px var(--white), 0 0 30px rgba(242, 138, 29, 0.5);
        }

        .night-mode .journey-item:hover .journey-dot {
            box-shadow: 0 0 0 4px var(--night-primary), 0 0 30px rgba(242, 138, 29, 0.5);
        }

        .journey-content {
            background: var(--white);
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            width: 45%;
            position: relative;
            transition: all 0.4s ease;
            border: 1px solid rgba(242, 138, 29, 0.1);
            transition: all 0.3s ease, background-color 0.5s ease, box-shadow 0.5s ease;
        }

        .night-mode .journey-content {
            background: var(--night-primary);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .journey-item:hover .journey-content {
            transform: translateY(-5px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        .night-mode .journey-item:hover .journey-content {
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
        }

        .journey-content::before {
            content: '';
            position: absolute;
            top: 50%;
            width: 0;
            height: 0;
            border-style: solid;
            transform: translateY(-50%);
        }

        .journey-item:nth-child(odd) .journey-content::before {
            right: -15px;
            border-width: 10px 0 10px 15px;
            border-color: transparent transparent transparent var(--white);
        }

        .journey-item:nth-child(even) .journey-content::before {
            left: -15px;
            border-width: 10px 15px 10px 0;
            border-color: transparent var(--white) transparent transparent;
        }

        .night-mode .journey-item:nth-child(odd) .journey-content::before {
            border-color: transparent transparent transparent var(--night-primary);
        }

        .night-mode .journey-item:nth-child(even) .journey-content::before {
            border-color: transparent var(--night-primary) transparent transparent;
        }

        .journey-year {
            font-size: 14px;
            font-weight: 700;
            color: var(--accent-color);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .journey-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--primary-color);
            line-height: 1.3;
            transition: color 0.5s ease;
        }

        .night-mode .journey-title {
            color: var(--night-text);
        }

        .journey-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
            transition: color 0.5s ease;
        }

        .night-mode .journey-description {
            color: #aaa;
        }

        .journey-milestone {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
            color: var(--white);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 600;
        }

        .journey-milestone i {
            margin-right: 8px;
            font-size: 12px;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(242, 138, 29, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(242, 138, 29, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(242, 138, 29, 0);
            }
        }

        .journey-dot {
            animation: pulse 2s infinite;
        }

        .journey-item:nth-child(2) .journey-dot {
            animation-delay: 0.3s;
        }

        .journey-item:nth-child(3) .journey-dot {
            animation-delay: 0.6s;
        }

        .journey-item:nth-child(4) .journey-dot {
            animation-delay: 0.9s;
        }

        .journey-item:nth-child(5) .journey-dot {
            animation-delay: 1.2s;
        }

        .journey-item:nth-child(6) .journey-dot {
            animation-delay: 1.5s;
        }

        /* --- About Media Queries --- */
        @media (max-width: 1100px) {
            .intro-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .journey-line {
                left: 30px;
            }

            .journey-item {
                flex-direction: row !important;
                justify-content: flex-start;
                padding-left: 80px;
            }

            .journey-content {
                width: 100%;
            }

            .journey-content::before {
                left: -15px !important;
                right: auto !important;
                border-width: 10px 15px 10px 0 !important;
                border-color: transparent var(--white) transparent transparent !important;
            }

            .night-mode .journey-content::before {
                border-color: transparent var(--night-primary) transparent transparent !important;
            }
        }

        @media (max-width: 992px) {

            .team-grid,
            .values-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }

            .intro-text h2 {
                font-size: 32px;
            }
        }

        @media (max-width: 768px) {
            .intro-text h2 {
                font-size: 28px;
            }

            .stats-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .team-grid,
            .values-grid {
                grid-template-columns: 1fr;
            }

            .journey-content {
                padding: 25px;
            }
        }

        @media (max-width: 576px) {
            .intro-content {
                padding: 0 10px;
            }

            .intro-image img {
                height: 400px;
            }
        }

        @media (max-width: 480px) {
            .stats-container {
                grid-template-columns: 1fr;
            }

            .stat-number {
                font-size: 36px;
            }

            .intro-text h2 {
                font-size: 24px;
            }

            .intro-text p {
                font-size: 16px;
            }
        }

        /* --- LEGENDARY PROJECTS PAGE --- */

        /* Hero Section */
        .legendary-hero {
            position: relative;
            height: 100vh;
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
        }

        .hero-bg-parallax {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%;
            /* Taller for parallax */
            z-index: 0;
        }

        .hero-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

        .legendary-hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            padding-top: 60px;
            /* Offset for header */
        }

        .hero-subtitle {
            font-family: var(--font-secondary);
            letter-spacing: 5px;
            font-size: 14px;
            margin-bottom: 20px;
            opacity: 0.9;
            font-weight: 500;
        }

        .hero-title {
            font-family: var(--font-primary);
            font-size: 8vw;
            /* Responsive huge text */
            line-height: 0.9;
            font-weight: 700;
            text-transform: uppercase;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 40px;
        }

        .word-line {
            display: block;
        }

        .word-line.highlight {
            color: transparent;
            -webkit-text-stroke: 2px var(--accent-color);
        }

        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .scroll-text {
            font-size: 10px;
            letter-spacing: 2px;
            opacity: 0.7;
        }

        .scroll-line {
            width: 1px;
            height: 60px;
            background: linear-gradient(to bottom, var(--white), transparent);
            animation: scrollDown 2s infinite;
        }

        @keyframes scrollDown {
            0% {
                transform: scaleY(0);
                transform-origin: top;
            }

            50% {
                transform: scaleY(1);
                transform-origin: top;
            }

            51% {
                transform: scaleY(1);
                transform-origin: bottom;
            }

            100% {
                transform: scaleY(0);
                transform-origin: bottom;
            }
        }

        /* Minimalist Filters */
        .architectural-filters {
            margin-bottom: 60px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .night-mode .architectural-filters {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .filter-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .search-wrap {
            position: relative;
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 5px;
        }

        .search-wrap i {
            color: var(--accent-color);
            margin-right: 10px;
        }

        .minimal-input {
            border: none;
            background: transparent;
            font-family: var(--font-secondary);
            font-size: 14px;
            width: 200px;
            color: var(--text-color);
        }

        .minimal-input:focus {
            outline: none;
        }

        .category-wrap {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .filter-label {
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            color: var(--accent-color);
        }

        .category-options {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cat-link {
            text-decoration: none;
            color: var(--text-color);
            font-size: 14px;
            font-weight: 500;
            position: relative;
            transition: color 0.3s;
        }

        .cat-link.active,
        .cat-link:hover {
            color: var(--accent-color);
        }

        .cat-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--accent-color);
            transition: width 0.3s;
        }

        .cat-link.active::after,
        .cat-link:hover::after {
            width: 100%;
        }

        .minimal-select {
            border: none;
            background: transparent;
            font-family: var(--font-secondary);
            font-size: 14px;
            color: var(--text-color);
            cursor: pointer;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* Masonry Grid */
        .masonry-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 30px;
            padding-bottom: 100px;
        }

        .masonry-item {
            position: relative;
            display: block;
            text-decoration: none;
            color: var(--white);
            overflow: hidden;
        }

        /* Grid Spanning Logic */
        .grid-item-regular {
            grid-column: span 4;
            height: 400px;
        }

        .grid-item-large {
            grid-column: span 8;
            height: 600px;
        }

        .grid-item-tall {
            grid-column: span 4;
            height: 600px;
        }

        .item-inner {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .item-image {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .img-wrapper {
            width: 100%;
            height: 120%;
            /* For parallax */
            position: relative;
            top: -10%;
        }

        .img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .masonry-item:hover .img-wrapper img {
            transform: scale(1.1);
        }

        .item-image .overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            opacity: 0.6;
            transition: opacity 0.5s;
        }

        .masonry-item:hover .item-image .overlay {
            opacity: 0.4;
        }

        .item-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            z-index: 5;
            transform: translateY(20px);
            transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .masonry-item:hover .item-content {
            transform: translateY(0);
        }

        .item-cat {
            display: block;
            font-size: 12px;
            color: var(--accent-color);
            letter-spacing: 2px;
            margin-bottom: 10px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.5s 0.1s;
        }

        .masonry-item:hover .item-cat {
            opacity: 1;
            transform: translateY(0);
        }

        .item-title {
            font-family: var(--font-primary);
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--white);
            line-height: 1.1;
        }

        .item-hover-reveal {
            height: 0;
            overflow: hidden;
            transition: height 0.5s;
        }

        .masonry-item:hover .item-hover-reveal {
            height: 40px;
        }

        .btn-explore {
            font-size: 12px;
            letter-spacing: 2px;
            position: relative;
            padding-bottom: 5px;
        }

        .btn-explore::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--white);
        }

        /* Pagination Minimal */
        .pagination-minimal {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 50px;
        }

        .page-numbers {
            display: flex;
            gap: 10px;
        }

        .page-num {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border-color);
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s;
        }

        .page-num.active,
        .page-num:hover {
            border-color: var(--accent-color);
            background: var(--accent-color);
            color: var(--white);
        }

        .page-link {
            text-decoration: none;
            color: var(--text-color);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: color 0.3s;
        }

        .page-link:hover {
            color: var(--accent-color);
        }

        /* Dark Mode Adjustments */
        .night-mode .minimal-input,
        .night-mode .cat-link,
        .night-mode .minimal-select,
        .night-mode .page-link,
        .night-mode .page-num {
            color: var(--night-text);
        }

        .night-mode .page-num {
            border-color: var(--night-border);
        }

        /* Responsive Grid */
        @media (max-width: 992px) {
            .masonry-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .grid-item-regular,
            .grid-item-large,
            .grid-item-tall {
                grid-column: span 1;
                height: 350px;
            }

            .hero-title {
                font-size: 12vw;
            }
        }

        @media (max-width: 576px) {
            .masonry-grid {
                grid-template-columns: 1fr;
            }

            .grid-item-regular,
            .grid-item-large,
            .grid-item-tall {
                grid-column: span 1;
                height: 400px;
            }

            .filter-row {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .project-specs {
                opacity: 1;
                transform: translateY(0);
                margin-top: 15px;
                padding-top: 15px;
            }

            .project-description {
                display: none;
                /* Hide description on mobile to save space */
            }
        }

        /* ========================================
           PROJECTS CAROUSEL STYLES - HORIZONTAL LAYOUT
           ======================================== */

        .projects-carousel-wrapper {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 80px;
        }

        .projects-carousel-track {
            position: relative;
            width: 100%;
            min-height: 500px;
            overflow: hidden;
        }

        .project-carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
            pointer-events: none;
        }

        .project-carousel-slide.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            position: relative;
        }

        /* Horizontal Card Layout */
        .project-card-horizontal {
            display: flex;
            align-items: stretch;
            gap: 0;
            text-decoration: none;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            min-height: 450px;
        }

        .night-mode .project-card-horizontal {
            background: var(--night-primary);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        }

        .project-card-horizontal:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 60px rgba(242, 138, 29, 0.2);
        }

        /* Image Section - 50% width */
        .project-img-horizontal {
            position: relative;
            width: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .project-img-horizontal img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .project-card-horizontal:hover .project-img-horizontal img {
            transform: scale(1.08);
        }

        .project-img-horizontal .featured-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #D4AF37, #FFD700);
            color: #000;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
            z-index: 10;
        }

        /* Content Section - 50% width */
        .project-content-horizontal {
            width: 50%;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .project-header {
            margin-bottom: 20px;
        }

        .project-content-horizontal .project-title {
            font-size: 32px;
            font-family: var(--font-primary);
            color: var(--primary-color);
            margin-bottom: 10px;
            font-weight: 600;
            line-height: 1.2;
        }

        .night-mode .project-content-horizontal .project-title {
            color: var(--night-text);
        }

        .project-content-horizontal .project-category {
            display: inline-block;
            color: var(--accent-color);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .project-content-horizontal .project-description {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-color);
            margin-bottom: 25px;
        }

        .night-mode .project-content-horizontal .project-description {
            color: var(--night-text);
        }

        /* Horizontal Specs Layout */
        .project-specs-horizontal {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 25px;
        }

        .spec-item-horizontal {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .spec-item-horizontal .spec-icon {
            width: 40px;
            height: 40px;
            background: rgba(242, 138, 29, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .spec-item-horizontal .spec-icon i {
            color: var(--accent-color);
            font-size: 16px;
        }

        .spec-item-horizontal .spec-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .spec-item-horizontal .spec-label {
            font-size: 11px;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 500;
        }

        .spec-item-horizontal .spec-value {
            font-size: 14px;
            color: var(--text-color);
            font-weight: 600;
        }

        .night-mode .spec-item-horizontal .spec-value {
            color: var(--night-text);
        }

        /* Link Arrow */
        .project-link-arrow {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--accent-color);
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: auto;
        }

        .project-link-arrow i {
            transition: transform 0.3s ease;
        }

        .project-card-horizontal:hover .project-link-arrow i {
            transform: translateX(5px);
        }

        /* Alternating Layout */
        .project-carousel-slide.layout-left .project-card-horizontal {
            flex-direction: row;
        }

        .project-carousel-slide.layout-right .project-card-horizontal {
            flex-direction: row-reverse;
        }

        /* Navigation Arrows */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .night-mode .carousel-nav {
            background: rgba(26, 26, 26, 0.95);
            border-color: var(--accent-color);
        }

        .carousel-nav:hover {
            background: var(--accent-color);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(242, 138, 29, 0.4);
        }

        .carousel-nav i {
            font-size: 20px;
            color: var(--accent-color);
            transition: color 0.3s ease;
        }

        .carousel-nav:hover i {
            color: var(--white);
        }

        .carousel-nav-prev {
            left: 0;
        }

        .carousel-nav-next {
            right: 0;
        }

        /* Carousel Indicators */
        .carousel-indicators {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin-top: 40px;
        }

        .carousel-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.2);
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .night-mode .carousel-indicator {
            background: rgba(255, 255, 255, 0.2);
        }

        .carousel-indicator:hover {
            background: rgba(242, 138, 29, 0.5);
            transform: scale(1.2);
        }

        .carousel-indicator.active {
            background: var(--accent-color);
            border-color: var(--accent-color);
            width: 40px;
            border-radius: 6px;
        }

        /* Responsive Carousel */
        @media (max-width: 1200px) {
            .projects-carousel-wrapper {
                padding: 40px 60px;
            }

            .project-content-horizontal .project-title {
                font-size: 28px;
            }

            .project-specs-horizontal {
                gap: 15px;
            }
        }

        @media (max-width: 992px) {
            .projects-carousel-wrapper {
                padding: 30px 20px 80px 20px;
            }

            .project-card-horizontal {
                flex-direction: column !important;
                min-height: auto;
            }

            .project-carousel-slide.layout-left .project-card-horizontal,
            .project-carousel-slide.layout-right .project-card-horizontal {
                flex-direction: column !important;
            }

            .project-img-horizontal,
            .project-content-horizontal {
                width: 100%;
            }

            .project-img-horizontal {
                height: 250px;
                aspect-ratio: 16/9;
            }

            .project-content-horizontal {
                padding: 30px;
            }

            .project-content-horizontal .project-title {
                font-size: 24px;
            }

            /* Hide navigation arrows on mobile */
            .carousel-nav {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .projects-carousel-wrapper {
                padding: 20px 15px 80px 15px;
            }

            .projects-carousel-track {
                min-height: 480px;
                /* Reduced to pull elements up */
            }

            .project-img-horizontal {
                height: 200px;
                aspect-ratio: 16/9;
            }

            .project-content-horizontal {
                padding: 25px;
            }

            .project-content-horizontal .project-title {
                font-size: 22px;
            }

            .project-content-horizontal .project-description {
                font-size: 14px;
            }

            .project-specs-horizontal {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            /* Hide navigation arrows on mobile */
            .carousel-nav {
                display: none;
            }

            .carousel-indicators {
                margin-top: 0px;
                /* Extremely close */
                gap: 8px;
            }

            .projects-more-btn {
                margin-top: 5px;
                /* Extremely close */
            }

            .carousel-indicator {
                width: 10px;
                height: 10px;
            }

            .carousel-indicator.active {
                width: 30px;
            }
        }

        @media (max-width: 576px) {
            .projects-carousel-wrapper {
                padding: 15px 10px 30px 10px;
                /* Minimal bottom padding */
            }

            .projects-carousel-track {
                min-height: 500px;
                /* Reduced to pull elements up */
            }

            .project-img-horizontal {
                height: 180px;
                aspect-ratio: 16/9;
            }

            .project-content-horizontal {
                padding: 20px;
            }

            .project-content-horizontal .project-title {
                font-size: 20px;
            }

            .project-specs-horizontal {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .spec-item-horizontal .spec-icon {
                width: 35px;
                height: 35px;
            }

            .spec-item-horizontal .spec-icon i {
                font-size: 14px;
            }

            .carousel-nav {
                display: none;
            }
        }

        /* ========================================
           PROJELER.PHP MOBILE FIX
           ======================================== */

        @media (max-width: 768px) {
            .projects-container.projects .project-card .project-img {
                height: 200px !important;
                aspect-ratio: 16/9;
            }
        }

        @media (max-width: 576px) {
            .projects-container.projects .project-card .project-img {
                height: 180px !important;
                aspect-ratio: 16/9;
            }
        }

        /* ========================================
           PROCESS SECTION VISIBILITY
           ======================================== */

        .process {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .process-steps {
            display: flex !important;
            visibility: visible !important;
        }


        /* ========================================
           SIMPLE FADE IN ANIMATION
           ======================================== */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        body {
            animation: fadeIn 0.8s ease-in-out;
        }

        /* ========================================
           FOOTER ADDRESS STYLES
           ======================================== */

        .footer-address-container {
            padding: 30px 20px;
            text-align: center;
            background: rgba(255, 255, 255, 0.02);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            margin: 20px 0;
            backdrop-filter: blur(5px);
        }

        .footer-address {
            max-width: 900px;
            margin: 0 auto;
            color: #888888;
            font-family: var(--font-secondary);
            font-size: 15px;
            line-height: 1.6;
            opacity: 1;
            font-weight: 400;
            letter-spacing: 0.5px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .footer-address p {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin: 0;
            text-align: center;
        }

        .footer-contact-row,
        .footer-social-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .footer-contact-item,
        .footer-social-item {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none !important;
            color: #888888 !important;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 5px;
            background: rgba(0, 0, 0, 0.03);
        }

        .night-mode .footer-contact-item,
        .night-mode .footer-social-item {
            color: var(--white) !important;
            background: rgba(255, 255, 255, 0.05);
        }

        .footer-contact-item:hover,
        .footer-social-item:hover {
            transform: translateY(-2px);
            background: var(--accent-color);
            color: var(--white) !important;
        }

        .footer-contact-item i,
        .footer-social-item i {
            font-size: 18px;
            color: var(--accent-color);
            transition: color 0.3s ease;
        }

        .footer-contact-item:hover i,
        .footer-social-item:hover i {
            color: var(--white);
        }

        .footer-social-item.whatsapp i {
            color: #25D366;
        }

        .footer-social-item.instagram i {
            color: #C13584;
        }

        .footer-social-item.whatsapp:hover,
        .footer-social-item.instagram:hover {
            background: var(--accent-color);
            /* Unify hover bg */
        }

        .footer-social-item.whatsapp:hover i,
        .footer-social-item.instagram:hover i {
            color: var(--white);
        }


        .night-mode .footer-address-container {
            background: rgba(0, 0, 0, 0.2);
        }

        .night-mode .footer-address {
            color: var(--night-text);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .footer-address-container {
                padding: 20px 15px;
            }

            .footer-address {
                font-size: 13px;
            }

            .footer-address p {
                flex-direction: column;
                text-align: center;
                gap: 8px;
            }

            .footer-address i {
                margin-bottom: 2px;
                font-size: 20px;
            }
        }
