/* General Style Resets and Base Settings */
        body {
            font-family: 'Open Sans', sans-serif;
            background-color: #0A0A0A; /* Deepest black background */
            color: #E0E0E0; /* Light gray text */
            line-height: 1.7;
            scroll-behavior: smooth;
        }

        /* Construction Theme Color Palette */
        .primary-black { color: #000000; } /* Pure Black */
        .primary-black-bg { background-color: #000000; }
        .secondary-gold { color: #FFD700; } /* Bright Gold */
        .secondary-gold-bg { background-color: #FFD700; }
        .tertiary-steel-blue { color: #4682B4; } /* Steel Blue */
        .tertiary-steel-blue-bg { background-color: #4682B4; }
        .light-gray-text { color: #B0B0B0; } /* Light gray text */
        .dark-gray-bg { background-color: #1A1A1A; } /* Dark gray background */
        .medium-gray-bg { background-color: #2A2A2A; } /* Medium gray background */
        .white-text { color: #FFFFFF; } /* White text */

        /* Heading Font */
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            color: #FFFFFF; /* White headings */
        }

        /* General Button Styles */
        .btn-construction {
            @apply inline-flex items-center justify-center px-10 py-4 font-semibold rounded-md shadow-lg transition duration-300 ease-in-out transform hover:scale-105;
            font-family: 'Montserrat', sans-serif;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            border: 2px solid transparent;
            box-shadow: 0 6px 15px rgba(0,0,0,0.4);
            font-size: 1.1rem;
        }
        .btn-primary-construction {
            @apply bg-secondary-gold text-primary-black hover:bg-tertiary-steel-blue hover:text-white-text;
        }
        .btn-outline-construction {
            @apply border-2 border-secondary-gold text-secondary-gold bg-transparent hover:bg-secondary-gold hover:text-primary-black;
        }
        .btn-dark-outline-construction {
            @apply border-2 border-white-text text-white-text bg-transparent hover:bg-white-text hover:text-primary-black;
        }
        .btn-contact-construction {
            @apply bg-tertiary-steel-blue text-white-text hover:bg-secondary-gold hover:text-primary-black;
        }

        /* Header Styles */
        #main-header {
    background-color: #1A1A1A; /* Dark gray background */
    box-shadow: 0 4px 35px rgba(0,0,0,0.6);
    padding: 1rem 0;
    position: fixed; /* Fixed header for better UX */
    top: 0;
    width: 100%;
    z-index: 1000;
}
        #main-header.scrolled {
            padding: 0.75rem 0;
            background-color: rgba(26, 26, 26, 0.98); /* More opaque transparent */
            backdrop-filter: blur(10px);
        }
        .header-link-effect {
            color: #E0E0E0; /* Light gray links */
            font-weight: 500;
            padding: 0.75rem 0;
            position: relative;
            overflow: hidden;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
        }
        .header-link-effect::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background-color: #FFD700; /* Secondary gold */
            transform: translateX(-50%) scaleX(0);
            transition: transform 0.3s ease-out;
        }
        .header-link-effect:hover::before {
            width: 100%;
            transform: translateX(-50%) scaleX(1);
        }
        .header-link-effect:hover {
            color: #FFD700; /* Secondary gold on hover */
        }
        .vertical-divider {
            background-color: #fff;
            width: 2px;
            height: 30px;
        }
        #header-logo {
            filter: brightness(0) invert(1); /* Makes the logo white */
        }
       
        

        /* Mobile Menu Styles */
        #mobile-menu {
            background-color: #1A1A1A; /* Dark gray background */
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        .mobile-menu-link {
            @apply text-white-text hover:text-secondary-gold transition duration-300 font-medium py-3 px-6 rounded-md;
            border-left: 4px solid transparent;
        }
        .mobile-menu-link:hover {
            border-left-color: #FFD700;
        }
        .mobile-submenu-container {
            border-left: 2px solid rgba(255,255,255,0.2);
            padding-left: 1.5rem;
        }

        /* ----- RTL (Sağdan Sola) Özel Stiller ----- */
    /* Bu kurallar sadece <html> etiketinde dir="rtl" varsa çalışır. */

    html[dir="rtl"] body {
        direction: rtl; /* Metin ve blok yönünü sağdan sola ayarla */
        text-align: right; /* Varsayılan metin hizalamasını sağa yasla */
    }

    /* Menünün sağa hizalanması için */
    html[dir="rtl"] .header-nav {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Sosyal medya ikonları için boşlukları tersine çevirir ve artırır */
    html[dir="rtl"] .header-social-icons > * {
        margin-left: 0;
        margin-right: 0.75rem; /* İkonlar arasında boşluk bırakır */
    }

    /* Dikey çizginin kenar boşluklarını tersine çevirir ve artırır */
    html[dir="rtl"] .vertical-divider {
        margin-left: 1rem; /* Sağdaki içeriğe boşluk ekler */
        margin-right: 1rem; /* Soldaki içeriğe boşluk ekler */
    }

    /* Genel boşlukları (margin ve padding) tersine çevir */
    html[dir="rtl"] .space-x-6 > :not([hidden]) ~ :not([hidden]) {
        --tw-space-x-reverse: 1;
        margin-right: calc(1.5rem * var(--tw-space-x-reverse));
        margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
    }
    html[dir="rtl"] .ml-1 { margin-left: 0; margin-right: 0.25rem; }
    html[dir="rtl"] .mr-4 { margin-right: 0; margin-left: 1rem; }
    html[dir="rtl"] .mr-2 { margin-right: 0; margin-left: 0.5rem; }
    html[dir="rtl"] .pr-2 { padding-right: 0; padding-left: 0.5rem; }

    /* Menüdeki ok işaretinin yönünü değiştir */
    html[dir="rtl"] .fa-chevron-right {
        transform: scaleX(-1); /* Ikonu yatayda ters çevir */
    }

    html[dir="rtl"] .fa-chevron-down {
        transform: scaleX(-1); /* Menüdeki okları da yatayda ters çevirir */
    }

    /* Dropdown menülerin açılma yönünü tersine çevir */
    html[dir="rtl"] .first-level-dropdown {
        left: auto;
        right: 0;
    }

    /* İç içe menülerin (nested) açılma yönünü tersine çevir */
    html[dir="rtl"] .nested-level-dropdown {
        left: auto;
        right: 100%; /* Üst menünün soluna doğru açılmasını sağlar */
        margin-left: 0;
        margin-right: 0.5rem; /* ml-2'yi mr-2 olarak değiştirir */
    }

    /* Slider oklarının konumunu tersine çevir */
    html[dir="rtl"] .slider-nav-arrow.left {
        left: auto;
        right: 20px;
    }
    html[dir="rtl"] .slider-nav-arrow.right {
        right: auto;
        left: 20px;
    }

    /* Carousel oklarının konumunu tersine çevir */
    html[dir="rtl"] .carousel-arrow.left {
        left: auto;
        right: 10px;
    }
    html[dir="rtl"] .carousel-arrow.right {
        right: auto;
        left: 10px;
    }

    /* Service card boşluklarını tersine çevir */
    html[dir="rtl"] .services-carousel {
        direction: rtl;
    }
    html[dir="rtl"] .service-card {
        margin-right: 10px;
        margin-left: 10px;
    }

        /* Yeni Hero Banner Stilleri (Service Detail Page) */
        .page-hero-banner {
    position: relative;
    width: 100%;
    height: 400px; /* Daha belirgin yükseklik */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    margin-top: 60px; /* Header yüksekliği kadar boşluk */
}

        .page-hero-banner p{ 

        font-size: 1rem;
        margin-top: 5rem;
        margin-left: 12rem;
       

        }

        @media (max-width: 768px) {
  .page-hero-banner p {
    margin-left: 0 !important;
    margin-top: 4rem; /* isteğe bağlı, biraz boşluk kalır */
  
  }
}

 

        .page-hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)); /* Koyu şeffaf katman */
            z-index: 1;
        }
        .page-hero-content {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: 1.5rem;
        }
        .page-hero-content h1 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            font-size: 4.5rem; /* Daha büyük başlık */
            line-height: 1.1;
            text-shadow: 0 0 15px rgba(255,215,0,0.6), 0 0 25px rgba(255,215,0,0.4); /* Neon effect */
        }
        .page-hero-content p {
            font-size: 1.8rem;
            color: #B0B0B0;
            margin-top: 1rem;
        }

        /* Hizmet Detay Alanı Stilleri */
        .service-detail-section {
            background-color: #1A1A1A; /* Dark gray background */
            border-radius: 1.5rem;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            padding: 5rem; /* Daha fazla padding */
            margin-top: -280px; /* Banner'ın üzerine bindirme */
            position: relative;
            z-index: 10;
            border-top: 8px solid #FFD700; /* Gold üst çizgi */
        }
        .service-detail-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight: 700;
             color: #FFD700; /* Altın renk */
    text-shadow: 0 0 10px rgba(255,215,0,0.5); /* Hafif gölge efekti */
    background: linear-gradient(to right, #FFD700, #4682B4); /* Gradient metin */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
            position: relative;
           
        }
        .service-detail-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 120px;
            height: 6px;
            color: #FFD700; /* Altın renk */
   
            border-radius: 3px;
        }
        .service-detail-section p {
           text-shadow: 0 0 10px rgba(255,215,0,0.5); /* Hafif gölge efekti */
            color: bisque;
            white-space: normal;
    word-wrap: break-word;
    line-height: 1.6;
        }

        .service-detail-content {
            font-size: 1.15rem;
            color: #B0B0B0; /* Light gray */
            line-height: 1.8;
        }
        /* CKEditor İçeriği için Stiller */
        .service-detail-content p {
            margin-bottom: 1.5em; /* Paragraflar arası boşluk */
            font-size: 1.rem;
            line-height: 1.8;
            color: #B0B0B0; /* Koyu gri metin */
        }
        .service-detail-content h2,
        .service-detail-content h3,
        .service-detail-content h4 {
            font-family: 'Montserrat', sans-serif;
            color: #FFFFFF; /* Primary color */
            margin-top: 2.5em; /* Başlıklardan önce boşluk */
            margin-bottom: 1em; /* Başlıklardan sonra boşluk */
            font-weight: 700;
            line-height: 1.3;
            position: relative;
            padding-bottom: 0.5em;
        }
        .service-detail-content h2 {
            font-size: 2.5rem;
            border-bottom: 3px solid #FFD700; /* Secondary color altında çizgi */
            display: inline-block; /* Çizginin sadece metin kadar olmasını sağlar */
            padding-right: 1rem; /* Çizgi ile metin arasında boşluk */
        }
        .service-detail-content h3 {
            font-size: 2rem;
            color: #4682B4; /* Secondary color */
        }
        .service-detail-content h4 {
            font-size: 1.75rem;
            color: #E0E0E0; /* Tertiary color */
        }
        .service-detail-content img {
            max-width: 100%; /* Resimlerin responsive olmasını sağlar */
            height: auto; /* Oranını korur */
            display: block; /* Ortalamak için */
            margin: 2.5rem auto; /* Üstte ve altta boşluk, ortalama */
            border-radius: 1rem; /* Yuvarlak köşeler */
            box-shadow: 0 10px 25px rgba(0,0,0,0.35); /* Hafif gölge */
            border: 3px solid #444444; /* Hafif kenarlık */
        }
        .service-detail-content ul,
        .service-detail-content ol {
            margin-left: 2.5rem; /* Liste öğeleri için girinti */
            margin-bottom: 1.5em;
            list-style-position: outside; /* Madde işaretlerinin dışarıda kalmasını sağlar */
            color: #B0B0B0;
        }
        .service-detail-content ul li {
            list-style-type: disc; /* Disk madde işareti */
            margin-bottom: 0.5em;
        }
        .service-detail-content ol li {
            list-style-type: decimal; /* Sayısal madde işareti */
            margin-bottom: 0.5em;
        }
        .service-detail-content a {
            color: #4682B4; /* Secondary color */
            text-decoration: underline;
            transition: color 0.3s ease;
        }
        .service-detail-content a:hover {
            color: #FFD700; /* Primary color */
            text-decoration: none;
        }
        /* Tablo Stilleri */
        .service-detail-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 2.5rem 0;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            border-radius: 0.75rem;
            overflow: hidden; /* Köşelerin yuvarlak görünmesi için */
        }
        .service-detail-content th,
        .service-detail-content td {
            padding: 1.2rem 1.8rem;
            border: 1px solid #444444; /* Hafif gri kenarlık */
            text-align: left;
            font-size: 1rem;
            color: #E0E0E0;
        }
        .service-detail-content th {
            background-color: #2C2C2C; /* Açık gri başlık arka planı */
            font-weight: 600;
            color: #FFFFFF;
            text-transform: uppercase;
            font-family: 'Montserrat', sans-serif;
        }
        .service-detail-content tr:nth-child(even) {
            background-color: #1C1C1C; /* Zebra şerit efekti */
        }
        .service-detail-content tr:hover {
            background-color: #3A3A3A; /* Satır üzerine gelince hafif vurgu */
        }

        /* Katalog Section */
        .katalog-section {
            background: linear-gradient(to bottom, #121212, #1A1A1A);
        }
        .katalog-card {
            border-left: 4px solid #FFD700;
            transition: transform 0.3s ease;
        }
        .katalog-card:hover {
            transform: translateY(-5px);
        }

        /* Gallery Section */
        .gallery-section {
            background-color: #121212; /* Koyu arka plan */
            padding: 6rem 0;
            border-radius: 1.5rem;
            margin-top: 3rem;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
            border: 1px solid #333333;
        }
        .gallery-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 3.5rem;
            text-align: center;
            color: #FFFFFF;
            position: relative;
            padding-bottom: 1.5rem;
        }
        .gallery-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 100px;
            height: 6px;
            background-color: #FFD700;
            border-radius: 3px;
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 0.75rem;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 2px solid #333333;
        }
        .gallery-item img {
            width: 100%;
            height: 220px; /* Sabit yükseklik */
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        .gallery-item:hover img {
            transform: scale(1.08);
        }
        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
        }
        .lg-backdrop {
            background: rgba(26, 26, 26, 0.95) !important;
        }
        .lg-toolbar {
            background: rgba(26, 26, 26, 0.8) !important;
        }
        .lg-sub-html {
            background: rgba(26, 26, 26, 0.8) !important;
            color: white;
            padding: 10px 20px;
        }

        /* Hizmetler Alanı Stilleri (Benzer Hizmetler için) */
        .related-services-section {
            background: linear-gradient(to bottom, #0A0A0A, #121212); /* Very dark gradient */
            padding: 10rem 0;
            width: 100% ;
        }
        .related-services-section h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            color: #FFFFFF;
            margin-bottom: 5rem;
            text-align: center;
            position: relative;
            padding-bottom: 2rem;
            background: linear-gradient( #B0B0B0); /* Gold gradient */
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .related-services-section h2::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 150px;
            height: 8px;
            background-color: #B0B0B0; /* Gold accent */
            border-radius: 4px;
        }
        
        /* Hizmet Kartları Kaydırma İçin Stiller */
        .services-carousel-wrapper {
            position: relative;
            overflow: hidden; /* Scrollbar'ı gizle */
            padding: 0 50px; /* Oklar için boşluk */
        }
      /* --- Related Services Equal Height Fix --- */
.construction-services-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 2.5rem;
  align-items: stretch; /* 🔥 tüm kartlar aynı yüksekliğe gelir */
}
.construction-services-carousel::-webkit-scrollbar {
  display: none;
}

.construction-service-card {
  flex-shrink: 0;
  width: calc((100% / 3) - (2 * 2.5rem / 3));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: rgba(42, 42, 42, 0.8);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
  border-top: 12px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* İçerik kısmı eşit yükseklik ve düzgün hizalama */
.construction-service-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

/* Başlık + açıklama + buton alanları esnek */
.construction-service-card-content h3 {
  min-height: 3.5rem; /* başlık hizası için sabit alan */
}
.construction-service-card-content p {
  flex-grow: 1; /* açıklama alanı uzasa da hizalı kalsın */
  display: flex;
  align-items: flex-start;
}
/* --- Related Services Carousel Fixes --- */
.services-carousel-wrapper {
  position: relative;
  overflow: visible; /* Scroll görünür olsun */
  padding: 0 50px;
}

/* Equal-height support for desktop */
.construction-services-carousel {
  align-items: stretch; /* tüm kartları aynı yüksekliğe zorla */
}
.construction-service-card {
  box-sizing: border-box; /* padding dahil yükseklik tutarlı olsun */
  height: auto; /* JS gerekirse inline height atayacak */
}

.construction-services-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto; /* yatay kaydırma aktif */
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox scrollbar gizle */
}
.construction-services-carousel::-webkit-scrollbar {
  display: none; /* Chrome scrollbar gizle */
}

.construction-service-card {
  flex-shrink: 0;
  width: calc((100% / 3) - (2 * 2.5rem / 3));
}

@media (max-width: 1024px) {
  .construction-service-card {
    width: calc(50% - 1.25rem); /* 2 kart */
  }
}

@media (max-width: 768px) {
  .construction-service-card {
    width: 100%; /* 1 kart */
  }
}


        .construction-service-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.4);
            border-color: #4682B4; /* Hover'da steel blue color */
        }
        .construction-service-card img {
            width: 100%;
            height: 280px; /* Daha büyük resimler */
            object-fit: cover;
        }
        .construction-service-card-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .construction-service-card-content h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.25rem;
            font-weight: 700;
            color: #FFFFFF; /* White color */
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .construction-service-card-content p {
            font-family: 'Open Sans', sans-serif;
            color: #B0B0B0; /* Light gray */
            font-size: 1.05rem;
            line-height: 1.7;
            flex-grow: 1;
            margin-bottom: 1.5rem;
        }
        .construction-service-card-link {
            @apply inline-flex items-center text-tertiary-steel-blue font-semibold hover:text-secondary-gold transition duration-300;
            font-family: 'Montserrat', sans-serif;
        }
        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 18px;
            cursor: pointer;
            z-index: 15;
            border-radius: 50%;
            transition: background 0.3s ease, transform 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.9;
            font-size: 1.5rem;
        }
        .carousel-arrow:hover {
            background: rgba(0, 0, 0, 0.9);
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-arrow.left {
            left: 0;
        }
        .carousel-arrow.right {
            right: 0;
        }
        .carousel-arrow.hidden {
            display: none;
        }

        /* Call to Action için gradient */
        .cta-gradient-construction {
            background: linear-gradient(to right, #0F2027, #203A43, #2C5364); /* Dark Gradient */
            
        }
        .cta-gradient-construction h2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            
        }
        .contact-button-styled {
            background-color: #FFD700; /* Gold background */
            color: #121212; /* Black text */
            border: 2px solid #FFD700; /* Gold border */
            padding: 1.2rem 3rem; /* Daha fazla padding */
            font-size: 1.125rem; /* Daha büyük font boyutu */
            font-weight: 700; /* Kalın yazı */
            border-radius: 9999px; /* Tamamen yuvarlak köşeler */
            box-shadow: 0 10px 20px rgba(0,0,0,0.4); /* Belirgin gölge */
            transition: all 0.3s ease-in-out; /* Yumuşak geçiş */
            display: inline-flex; /* Flexbox özellikleri için */
            align-items: center;
            justify-content: center;
            text-decoration: none; /* Alt çizgiyi kaldır */
            font-family: 'Montserrat', sans-serif; /* Fontu koru */
        }
        .contact-button-styled:hover {
            background-color: #FFFFFF; /* Hover'da beyaz */
            color: #121212; /* Hover'da siyah */
            transform: translateY(-5px) scale(1.02); /* Hafif yukarı kalkma ve büyüme efekti */
            box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* Daha belirgin gölge */
        }

        .footer-logo-container .footer-logo {
    filter: brightness(0) invert(1); /* Varsayılan olarak tamamen beyaz */
    transition: filter 0.3s ease;

}

        /* Footer Menü Stilleri */
        .footer-menu-grid {
            display: grid;
            grid-auto-flow: column;
            grid-template-rows: repeat(4, minmax(0, 1fr));
            gap: 0.75rem 2.5rem;
        }
        @media (max-width: 1024px) {
    .footer-menu-grid {
        display: flex;
        flex-direction: column; /* Öğeleri dikey olarak sırala */
        gap: 0.75rem; /* Öğeler arası boşluk */
        text-align: left; /* Metni sola yasla */
        justify-content: start; /* İçeriği sola hizala */
    }

    .footer-menu-grid li {
        width: 100%; /* Öğelerin tam genişlikte olmasını sağla */
    }

    .footer-menu-grid ul {
        margin-left: 0; /* Alt menülerin sol boşluğunu sıfırla */
    }
}
        .footer-link-effect {
            position: relative;
            display: inline-block;
            padding: 0.2rem 0;
            text-decoration: none;
            overflow: hidden;
            color: #B0B0B0;
        }
        .footer-link-effect::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: #FFD700; /* Accent color */
            transition: all 0.3s ease-out;
            transform: translateX(-50%);
        }
        .footer-link-effect:hover::before {
            width: 100%;
        }
        .footer-link-effect:hover {
            color: #FFFFFF;
        }
        .text-copyright {
            color: #707070;
        }

        /* Animasyonlar */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
            transition-delay: var(--animation-delay, 0s); /* Custom property for delay */
        }
        .animate-on-scroll.in-view {
            opacity: 1;
            transform: translateY(0);
        }
        .animate-scale-in {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
            transition-delay: var(--animation-delay, 0s);
        }
        .animate-scale-in.in-view {
            opacity: 1;
            transform: scale(1);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .page-hero-content h1 {
                font-size: 3.5rem;
            }
            .page-hero-content p {
                font-size: 1.5rem;
                text-align: left    ;
            }
            .service-detail-section {
                padding: 3.5rem;
                margin-top: -80px;
            }
            .service-detail-section h2 {
                font-size: 3rem;
            }
            .related-services-section h2 {
                font-size: 4rem;
            }
            .construction-service-card {
                min-width: calc((100% / 2) - (2.5rem / 2)); /* 2 kart yan yana */
            }
            .gallery-section h2 {
                font-size: 3.5rem;
            }
            .gallery-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }

        @media (max-width: 768px) {
            @media (max-width: 768px) {
        .page-hero-banner {
        height: 300px; /* Mobil için daha ince */
        margin-top: 60px; /* Header yüksekliği kadar boşluk */
    }
}
            .page-hero-content h1 {
                font-size: 2.8rem;
            }
            .page-hero-content p {
                font-size: 1.2rem;
                text-align: left;
            }
            .service-detail-section {
                padding: 2rem;
                margin-top: -220px; /* Adjust bind for mobile */
            }
            .service-detail-section h2 {
                font-size: 1.5rem;
            }
            .related-services-section {
                padding: 6rem 0;
            }
            .related-services-section h2 {
                font-size: 3rem;
                margin-bottom: 3rem;
            }
            .construction-service-card img {
                height: 200px;
            }
            .construction-service-card-content h3 {
                font-size: 1.8rem;
            }
            .mobile-submenu-container {
                padding-left: 0.5rem;
            }
            .carousel-arrow {
                padding: 12px;
                font-size: 1.2rem;
            }
            .construction-service-card {
                min-width: 100%; /* Mobil için tek kart */
                margin-right: 0; /* Mobil için sağ boşluğu kaldır */
            }
            .services-carousel-wrapper {
                padding: 0 20px; /* Mobil oklar için boşluk */
            }
            .gallery-section h2 {
                font-size: 2.8rem;
            }
            .gallery-grid {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            }
            .gallery-item img {
                height: 150px;
            }
            .contact-button-styled {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
        }

        /* --- Related Services Carousel (Grid + Equal Height) --- */

.services-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 0 50px;
}

/* Masaüstü görünüm (kaydırmalı 3 kolon) */
.construction-services-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 2.5rem;
}
.construction-services-carousel::-webkit-scrollbar {
  display: none;
}

.construction-service-card {
  flex-shrink: 0;
  width: calc((100% / 3) - (2 * 2.5rem / 3));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: rgba(42, 42, 42, 0.8);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
  border-top: 12px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.construction-service-card:hover {
  transform: translateY(-10px);
  border-color: #4682B4;
}

/* İçerik kısmı esnek ve eşit yükseklik sağlar */
.construction-service-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

/* Masaüstü oklar */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 18px;
  cursor: pointer;
  z-index: 15;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  font-size: 1.5rem;
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:hover {
  background: rgba(0,0,0,0.9);
  transform: translateY(-50%) scale(1.1);
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .construction-services-carousel {
    flex-wrap: wrap; /* ızgara şeklinde */
    justify-content: center;
    overflow: visible;
  }
  .construction-service-card {
    width: calc(50% - 1.25rem);
  }
  .carousel-arrow {
    display: none; /* tablet ve altı için okları gizle */
  }
}

/* --- Mobil --- */
@media (max-width: 768px) {
  .construction-services-carousel {
    display: flex;
    flex-direction: column; /* alt alta diz */
    gap: 2rem;
    overflow: visible;
  }
  .construction-service-card {
    width: 100%;
  }
  .carousel-arrow {
    display: none; /* mobilde ok yok */
  }
}