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

/* Agriculture Theme Color Palette */
.primary-black { color: #000000; } /* Pure Black */
.primary-black-bg { background-color: #000000; }
.secondary-gold { color: #F4A261; } /* Hay yellow */
.secondary-gold-bg { background-color: #F4A261; }
.tertiary-steel-blue { color: #8D6E63; } /* Earth brown */
.tertiary-steel-blue-bg { background-color: #8D6E63; }
.light-gray-text { color: #B0B0B0; } /* Light gray text */
.dark-gray-bg { background-color: #2D5016; } /* Dark green background */
.medium-gray-bg { background-color: #4A7043; } /* Medium green 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: #2D5016; /* Dark green background */
    box-shadow: 0 4px 35px rgba(0,0,0,0.6);
    height: 80px; /* Sabit yükseklik */
    display: flex;
    align-items: center; /* İçeriği dikeyde ortala */
    position: fixed; /* Header'ı ekranın üstüne sabitle */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Header'ın diğer içeriklerin üzerinde kalması için */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; /* Görsel geçişler */
}
#main-header.scrolled {
    background-color: rgba(45, 80, 22, 0.98); /* More opaque transparent */
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.7); /* Hafif daha belirgin gölge */
}

/* Slider veya ana içeriğin header altında başlaması için */
main, .slider-container, .page-hero-banner {
    margin-top: 80px; /* Header yüksekliği kadar boşluk */
}
.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: #F4A261; /* Secondary hay yellow */
    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: #F4A261; /* Secondary hay yellow on hover */
}

    .vertical-divider {
    background-color: #ffff; /* Açık mavi-beyaz divider */
    width: 2px;
    height: 30px;
}

#header-logo {
    filter: brightness(0) invert(1); /* Makes the logo white */
}


/* Mobile Menu Styles */
#mobile-menu {
    background-color: #2D5016; /* Dark green 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: #F4A261;
}
.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-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(27, 94, 32, 0.9), rgba(27, 94, 32, 0.7)); /* Koyu şeffaf katman */
    z-index: 1;
}

.page-hero-banner p{
   
    font-size: 1rem;
     text-shadow: 0 0 15px rgba(244,162,97,0.6), 0 0 25px rgba(244,162,97,0.4); /* Neon effect */
     margin-left: 12rem;
   
}

@media (min-width: 768px) {
    .page-hero-banner p {
        margin-left: 12rem;
    }
}
.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(244,162,97,0.6), 0 0 25px rgba(244,162,97,0.4); /* Neon effect */
    text-align: center;
}


/* Hizmet Detay Alanı Stilleri */
.service-detail-section {
    background-color: #2D5016; /* Dark green background */
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    padding: 5rem; /* Daha fazla padding */
    margin-top: -380px; /* Banner'ın üzerine bindirme */
    position: relative;
    z-index: 10;
    border-top: 8px solid #F4A261; /* Hay yellow üst çizgi */
}
.service-detail-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #FFFFFF; /* White color */
    position: relative;
    padding-bottom: 1.5rem;
}
.service-detail-section p {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.6;
    
}

.service-detail-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background-color: #8D6E63; /* Earth brown */
    border-radius: 3px;
}
.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.1rem;
    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 #F4A261; /* 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: #8D6E63; /* Tertiary 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: #8D6E63; /* Tertiary color */
    text-decoration: underline;
    transition: color 0.3s ease;
}
.service-detail-content a:hover {
    color: #F4A261; /* Secondary 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: #4A7043; /* Medium green 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: #3A5F32; /* Zebra şerit efekti */
}
.service-detail-content tr:hover {
    background-color: #5A7B52; /* Satır üzerine gelince hafif vurgu */
}

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

/* Gallery Section */
.gallery-section {
    background-color: #2D5016; /* Dark green 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: 4rem;
    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: #F4A261;
    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(45, 80, 22, 0.95) !important;
}
.lg-toolbar {
    background: rgba(45, 80, 22, 0.8) !important;
}
.lg-sub-html {
    background: rgba(45, 80, 22, 0.8) !important;
    color: white;
    padding: 10px 20px;
}

/* Related Services Section */
.related-services-section {
    background: linear-gradient(to bottom, #1B5E20, #2D5016); /* Very dark gradient */
    padding: 10rem 0;
}
.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(to right, #F4A261, #8D6E63); /* Hay yellow 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: #F4A261; /* Hay yellow 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 */
}
.construction-services-carousel {
    display: flex; /* Kartları yan yana sırala */
    transition: transform 0.5s ease-in-out; /* Kaydırma animasyonu */
    padding-bottom: 1rem; /* Gölge için boşluk */
    gap: 2.5rem; /* Kartlar arası boşluk */
    flex-wrap: nowrap; /* Kartların alt satıra geçmesini engelle */
}
.construction-service-card {
    flex-shrink: 0; /* Kartların küçülmesini engelle */
    width: calc((100% / 3) - (2 * 2.5rem / 3)); /* 3 kart yan yana, 2.5rem gap hesaba kat */
    background-color: rgba(74, 112, 67, 0.8); /* Medium green, slightly transparent */
    backdrop-filter: blur(5px); /* Glass effect */
    border-radius: 1rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.3);
    border-top: 12px solid transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.construction-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: #8D6E63; /* Hover'da earth brown 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, #2D5016, #4A7043, #6B8E23); /* Green Gradient */
}
.cta-gradient-construction h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
}
.contact-button-styled {
    background-color: #F4A261; /* Hay yellow background */
    color: #121212; /* Black text */
    border: 2px solid #F4A261; /* Hay yellow 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 Menü Stilleri */
.footer-menu-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 2.5rem;
}

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

}
@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 */
        padding-bottom: 10px;
    }

    .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: #F4A261; /* 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;
    }
    .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) {
    .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;
        display: none; /* Mobilde başlığı gizle */
    }

   
    .page-hero-banner p {
        position: absolute !important;
        top: 40px !important; /* logonun altına çekmek için - gerekirse artır/azalt */
        left: 1rem !important; /* ekrandan hafif içeride */
        margin-left: 0 !important;
        text-align: left !important;
        font-size: 1rem !important;
        width: calc(100% - 2rem); /* kenarlardan taşmayı önler */
    }

    .page-hero-content p {
        font-size: 1.2rem;
        text-align: left    ;
    }
    .service-detail-section {
        padding: 2rem;
        margin-top: -250px; /* Adjust bind for mobile */
    }
    .service-detail-section h2 {
        font-size: 2.5rem;
    }
    .related-services-section {
        padding: 6rem 0;
    }
    .related-services-section h2 {
        font-size: 2rem;
        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%; 
        margin-bottom: 2rem; 
    }
    .services-carousel-wrapper {
        padding: 0 20px; /* Mobil oklar için boşluk */
        overflow: visible;
    }
    .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;
    }
    .construction-services-carousel {
        flex-wrap: wrap;
    }
}