/* style.css */

/* CSS Variables for Theme (Light Professional) */
:root {
    --primary-color: #D4D4D4; /* Açık Gri Tonu (Ana vurgu olabilir veya başka bir renk seçilebilir) */
    --accent-color: #2B2B2B; /* Koyu Gri/Siyah (Yazılar, ikonlar için daha uygun) */
    --background-color: #ffffff; /* White (Body Background) */
    --surface-color: #f8f9fa; /* Light Grey (Sections, Cards Background, Footer, Form Input Background) */
    --text-color-dark: #212529; /* Very Dark Grey (General Text) */
    --text-color-muted: #495057; /* Dark Grey (Paragraphs, Labels, Placeholder Text) */
    --border-color: #dee2e6; /* Light Border */
    --button-primary-bg: #000000; /* Tamamen Siyah Buton Arka Planı */
    --button-primary-text: #ffffff; /* Beyaz Buton Yazısı */
    --button-hover-bg: #333333; /* Buton Hover Rengi (Koyu Gri) */
    --text-color-lighter: #ffffff; /* White (High contrast text - mostly on primary buttons and dark backgrounds) */
    --navbar-bg: #ffffff; /* Navbar Arkaplanı */
    --navbar-text-color: #191919; /* Navbar Yazı Rengi */
    --navbar-brand-color: #191919; /* Navbar Marka Renkleri */
    --navbar-link-hover-color: #777777; /* Navbar Link Hover Rengi */
    --navbar-scrolled-bg: #ffffff; /* Kaydırılınca Navbar Arkaplanı */
    --navbar-scrolled-text-color: #191919; /* Kaydırılınca Navbar Yazı Rengi */
    --navbar-scrolled-link-hover-color: #555555; /* Kaydırılınca Navbar Link Hover Rengi */
}
/* Font import - CSS dosyanızın en başına ekleyebilirsiniz */
@import url('https://fonts.cdnfonts.com/css/montserrat');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900;900italic&display=swap');


body {
    font-family: 'Montserrat', sans-serif;/* Daha okunabilir bir font */
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif; /* Başlıklar için Dosis */
    font-weight: 600; /* Başlıklar için biraz daha kalın */
}


/* Navbar'ın temel stili */
#mainNav {
    background-color: var(--navbar-bg);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#mainNav .container-fluid {
    display: flex;
    flex-wrap: wrap; /* Küçük ekranlarda alt satıra geçsin */
    justify-content: space-between; /* Marka sola, menü sağa */
    align-items: center;
    padding-top: 5px; /* Daha ince navbar */
    padding-bottom: 5px;
}


#mainNav .navbar-brand {
    color: var(--navbar-brand-color) !important;
    font-weight: 700;
    font-size: 1.75rem;
    padding-top: 0; /* Dikey hizalama için padding ayarları */
    padding-bottom: 0;
}

#mainNav .navbar-toggler {
     border-color: rgba(0,0,0,0.1);
     padding: .25rem .5rem; /* Toggler boyutu */
}

#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.2em; /* İkon boyutu */
  height: 1.2em;
}
#mainNav .close-icon {
    color: var(--navbar-text-color) !important; /* Kapatma ikonu rengi */
    font-size: 1.8rem; /* Kapatma ikonu boyutu */
    line-height: 1;
}

#mainNav .navbar-collapse {
    /* Büyük ekranlarda flex-grow: 0 olmalı ki ortalansın */
    flex-grow: 0;
}


#mainNav .navbar-nav {
    /* ms-auto kaldırıldığı için ortalama için margin auto */
     margin-left: auto;
     margin-right: auto;
}

#mainNav .nav-item {
     margin: 0 8px; /* Linkler arası boşluk azaltıldı */
}

.nav-link {
    color: var(--navbar-text-color) !important;
    font-weight: 500;
    font-family: 'Roboto', sans-serif; /* Linkler için Roboto */
    font-size: 1rem; /* Link boyutu */
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 8px 5px; /* Dikey/Yatay padding ayarlandı */
}


#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
    color: var(--navbar-link-hover-color) !important;
}

/* Dil seçici dropdown */
#mainNav .dropdown-menu {
    min-width: auto; /* İçeriğe göre genişlesin */
    font-size: 0.9rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
#mainNav .dropdown-item {
    padding: 0.3rem 1rem;
    color: var(--text-color-dark);
}
#mainNav .dropdown-item:hover {
    background-color: var(--surface-color);
    color: var(--accent-color);
}
#mainNav .dropdown-toggle::after { /* Dropdown okunu kaldır */
    display: none;
}
#mainNav .nav-link i.fa-globe { /* Küre ikonu */
    margin-right: 4px;
}


/* Çizgi animasyonu (isteğe bağlı) */
/*
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--navbar-link-hover-color);
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
    transform: translateX(-50%);
}

#mainNav .navbar-nav .nav-link:hover::before,
#mainNav .navbar-nav .nav-link.active::before {
    width: calc(100% - 10px);
    left: 50%;
}
*/

#mainNav.scrolled {
    background-color: var(--navbar-scrolled-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#mainNav.scrolled .nav-link {
    color: var(--navbar-scrolled-text-color) !important;
}

#mainNav.scrolled .navbar-brand {
    color: var(--navbar-brand-color) !important; /* Scrolled brand rengi */
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
    color: var(--navbar-scrolled-link-hover-color) !important;
}

#mainNav.navbar-hidden {
    transform: translateY(-100%);
}

/* General Button Styling - Applies to Bootstrap's .btn-primary as well */
.btn-primary {
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: 1px solid var(--button-primary-bg); /* Added border for consistent look */
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--button-hover-bg);
    color: var(--button-primary-text); /* Keep text white on hover */
    border-color: var(--button-hover-bg);
}


/* --- Hero Section --- */
.hero-slider-section {
  position: relative;
  height: 100vh; /* Tam ekran yüksekliği */
  overflow: hidden;
  /* Navbar yüksekliği kadar padding gerekmez, fixed-top zaten yer açar */
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center; /* Ortalama iyileştirildi */
  z-index: 1;
  /* Hafif karartma efekti */
   &::after {
       content: '';
       position: absolute;
       top: 0; left: 0; right: 0; bottom: 0;
       background-color: rgba(0, 0, 0, 0.3); /* %30 siyah overlay */
       z-index: 1;
   }
}
.hero-carousel-item {
    height: 100vh;
    position: relative;
    width: 100%; /* Genişlik tam olarak 100% */
}

/* Ensure inactive carousel items are hidden */
.carousel-item:not(.active) {
    display: none;
}

.carousel-content {
    position: absolute; /* Mutlak konum */
    top: 50%; /* Dikey ortala */
    left: 50%; /* Yatay ortala */
    transform: translate(-50%, -50%); /* Kendi boyutuna göre ortala */
    color: white;
    text-align: center; /* İçindeki metinleri ortala */
    z-index: 2; /* Overlay'in üzerinde */
    padding: 0 20px;
    max-width: 800px; /* Max genişlik ayarlandı */
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6); /* Gölge iyileştirildi */
    width: 100%; /* Genişlik 100% olacak şekilde */
    box-sizing: border-box; /* İçerik kutusu boyutunu düzenle */
    /* Added relative positioning for pseudo-elements */
    position: relative; /* This is important for absolute positioned pseudo-elements */
}

/* Elements inside carousel content should be initially hidden by JS/Animate.css */
.carousel-content h1,
.carousel-content p,
.carousel-content a.btn {
    text-align: center; /* Ensure text is centered within its own space */
    margin: 0 auto; /* Auto margins help center block elements */
    /* Initial state for animation, will be handled by JS/Animate.css */
    opacity: 0;
    transform: translateY(0); /* Default or initial transform for JS to override */
}

/* Başlık stilini özelleştir */
.carousel-content h1 {
    font-size: 3.0rem; /* Boyut ayarlandı */
    font-weight: 300; /* Daha ince font */
    margin-bottom: 15px; /* Boşluk ayarlandı */
    line-height: 1.2;
}

/* Metin stilini özelleştir */
.carousel-content p {
    font-size: 1.4rem; /* Boyut ayarlandı */
    margin-bottom: 25px; /* Boşluk ayarlandı */
    font-weight: 200; /* Daha da ince font */
}

/* Buton stilini özelleştir */
.carousel-content .btn-primary {
    padding: 12px 35px; /* Buton boyutu */
    font-size: 1rem;
}

/* Carousel Kontrolleri (Oklar) */
.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Genişlik ayarlandı */
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 3; /* İçeriğin üzerinde */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 45px; /* Boyut ayarlandı */
    height: 45px;
    color: white; /* Ok rengi */
    font-size: 2.5rem; /* İkon boyutu */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3); /* Yarı saydam arka plan */
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon::before {
    content: "\f104"; /* FontAwesome sol ok */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.carousel-control-next-icon::before {
    content: "\f105"; /* FontAwesome sağ ok */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Carousel Nokta Göstergeleri */
.carousel-indicators {
    bottom: 30px; /* Konum ayarlandı */
    z-index: 3;
}

 .carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.6); /* Nokta rengi */
    width: 12px; /* Boyut ayarlandı */
    height: 12px;
    border-radius: 50%;
    margin: 0 6px; /* Boşluk ayarlandı */
    border: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, background-color 0.3s ease;
 }

 .carousel-indicators .active {
     opacity: 1;
     background-color: white; /* Aktif nokta rengi */
 }

/* New: Decorative elements for hero text (Plus/Minus signs) */
.carousel-content.animate-symbols::before,
.carousel-content.animate-symbols::after {
    position: absolute;
    font-size: 1.5rem; /* Size of the symbols */
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    font-weight: 300;
    pointer-events: none; /* Ensure they don't interfere with clicks */
    opacity: 0; /* Initially hidden */
    z-index: -1; /* Behind the text */
    animation-timing-function: ease-out;
    /* Transition properties for smoother hiding/showing if needed, but animations will handle it */
}

.carousel-content.animate-symbols::before {
    content: '\002B'; /* Unicode for plus sign */
    top: 15%; /* Relative to carousel-content */
    left: 15%; /* Relative to carousel-content */
    animation: moveAndFadePlus 2s forwards;
    animation-delay: 1.7s; /* After text animations complete */
}

.carousel-content.animate-symbols::after {
    content: '\2212'; /* Unicode for minus sign */
    bottom: 15%; /* Relative to carousel-content */
    right: 15%; /* Relative to carousel-content */
    animation: moveAndFadeMinus 2s forwards;
    animation-delay: 1.8s; /* Slightly staggered from plus */
}

@keyframes moveAndFadePlus {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(5px, -5px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(15px, -15px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(20px, 20px) scale(1.3); /* Değişiklik burada */
    }
}

@keyframes moveAndFadeMinus {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translate(-5px, 5px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-15px, 15px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-20px, 20px) scale(1.3);
    }
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 50px; /* Boşluk ayarlandı */
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem; /* Boyut ayarlandı */
    color: var(--accent-color); /* Renk değişkenden */
    font-weight: 700;
    margin-bottom: 10px; /* Boşluk ayarlandı */
}

 .section-header p {
    font-size: 1.1rem; /* Boyut ayarlandı */
    color: var(--text-color-muted);
     max-width: 650px;
     margin: 0 auto;
}

 .section-header h2::after {
    content: '';
    display: block;
    width: 60px; /* Çizgi boyutu */
    height: 3px; /* Çizgi kalınlığı */
    background-color: var(--primary-color); /* Renk değişkenden (açık gri) */
    margin: 15px auto 0; /* Boşluk ayarlandı */
    border-radius: 2px;
}

/* --- Sections Genel --- */
section {
    padding: 70px 0; /* Genel padding */
}
.py-5 {
     padding-top: 70px !important;
     padding-bottom: 70px !important;
}
.py-4 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

#about, #portfolio, #testimonials {
    background-color: var(--background-color);
}

#services, #contact {
    background-color: var(--surface-color);
}



/* --- Cards (Services) --- */
#services .card {
    border: none;
    border-radius: 8px; /* Kenar yuvarlaklığı */
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* Gölge ayarlandı */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#services .card:hover {
    transform: translateY(-7px); /* Hover efekti */
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

#services .card-img-top {
    height: 200px; /* Resim yüksekliği */
    object-fit: cover;
}

#services .card-body {
    padding: 25px; /* İç boşluk */
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği yay */
}

#services .card-body i {
    color: var(--primary-color); /* İkon rengi (açık gri) */
     margin-bottom: 15px; /* İkon altı boşluk */
     font-size: 1.8rem; /* İkon boyutu */
}


#services .card-title {
    font-weight: 600; /* Kalınlık */
    color: var(--accent-color); /* Başlık rengi (koyu) */
    margin-bottom: 10px; /* Boşluk */
    font-family: 'Dosis', sans-serif;
    font-size: 1.25rem; /* Boyut */
    line-height: 1.3;
}

 #services .card-text {
    color: var(--text-color-muted); /* Metin rengi */
    font-size: 0.95rem; /* Boyut */
    flex-grow: 1; /* Boşluğu doldur */
    margin-bottom: 0;
 }

/* --- Portfolio --- */
 .portfolio-link {
    display: block;
    text-decoration: none;
    border-radius: 8px; /* Köşeleri yuvarla */
    overflow: hidden; /* Taşan kısımları gizle */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For containing image transform */
 }

 .portfolio-link:hover {
     transform: translateY(-5px) scale(1.02); /* Hover efekti */
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
 }
.portfolio-link:focus {
    outline: none;
}

.portfolio-item {
    position: relative;
    /* Overflow ve border-radius linke taşındı */
     transform: none !important;
}

.portfolio-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

 .portfolio-link:hover .portfolio-item img { /* Hover link üzerinde */
     transform: scale(1.08); /* Resim büyüme efekti */
 }

 /* Portfolio Modal */
 #imageModal .modal-dialog {
     max-width: 900px; /* Maksimum genişlik */
 }
 #imageModal .modal-content {
     background-color: var(--background-color);
     border: none;
     border-radius: 5px; /* Köşe yuvarlaklığı */
     box-shadow: 0 5px 15px rgba(0,0,0,0.2);
 }
 #imageModal .modal-header {
     border-bottom: 1px solid var(--border-color);
     background-color: var(--surface-color); /* Açık gri başlık */
     color: var(--accent-color); /* Koyu yazı */
     padding: 1rem 1.5rem; /* Padding */
     border-top-left-radius: 5px;
      border-top-right-radius: 5px;
 }
 #imageModal .modal-title {
     color: var(--accent-color);
     font-family: 'Dosis', sans-serif;
     font-weight: 600;
     font-size: 1.2rem;
 }
 #imageModal .modal-body {
     padding: 0; /* Resim kenarlara yapışsın */
 }
 #imageModal .modal-body img {
     max-height: 80vh; /* Maksimum yükseklik */
     width: auto; /* Genişlik otomatik ayarlansın */
     max-width: 100%; /* Taşmayı engelle */
 }
 #imageModal .btn-close {
     /* Koyu arka plan için beyaz ikon */
     filter: none; /* Arka plan açık olduğu için filter kaldırıldı */
     opacity: 0.7;
     padding: 1rem; /* Tıklama alanı */
 }
  #imageModal .btn-close:hover {
      opacity: 1;
  }


/* --- Testimonials --- */
 #testimonials .testimonial-item {
     background-color: var(--surface-color);
     padding: 35px; /* İç boşluk */
     border-radius: 8px;
     box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Hafif gölge */
     text-align: center;
     height: 100%;
     display: flex;
     flex-direction: column;
     justify-content: center;
     max-width: 600px; /* Maks genişlik */
     margin: 0 auto; /* Ortalama */
 }

#testimonials .testimonial-item .quote {
    font-size: 1.05rem; /* Boyut */
    font-style: italic;
    color: var(--text-color-muted);
     margin-bottom: 25px; /* Boşluk */
     line-height: 1.7; /* Satır yüksekliği */
}
#testimonials .testimonial-item .client-info {
    font-weight: 600; /* Kalınlık */
    color: var(--accent-color); /* Renk */
    margin-top: auto; /* Alta yasla */
    font-family: 'Roboto', sans-serif;
}
 #testimonials .testimonial-item .client-info span {
     display: block;
     font-size: 0.9rem;
     font-weight: 400;
     color: var(--text-color-dark);
     margin-top: 5px;
 }
 #testimonials .testimonial-item .client-info::before {
      /* Tire eklemeye gerek yok */
      content: none;
 }

 /* Testimonials Carousel Controls/Indicators */
  #testimonialsCarousel .carousel-indicators {
      position: static; /* Okların altına almak için static */
      margin-top: 30px; /* Üst boşluk */
      margin-bottom: 0;
  }
   #testimonialsCarousel .carousel-indicators button {
       background-color: #ccc; /* Pasif renk */
       width: 10px;
       height: 10px;
       border-radius: 50%;
       margin: 0 5px;
       border: none;
       opacity: 0.7;
   }
   #testimonialsCarousel .carousel-indicators .active {
        background-color: var(--primary-color); /* Aktif renk (açık gri) */
        opacity: 1;
    }
    /* Testimonials Carousel Okları */
    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        width: auto; /* Otomatik genişlik */
        opacity: 0.8;
        position: absolute; /* Konumlandırma için */
        top: 50%; /* Dikey ortala */
        transform: translateY(-50%);
        z-index: 5;
    }
    #testimonialsCarousel .carousel-control-prev { left: -15px; } /* Pozisyon */
    #testimonialsCarousel .carousel-control-next { right: -15px; } /* Pozisyon */

    #testimonialsCarousel .carousel-control-prev:hover,
    #testimonialsCarousel .carousel-control-next:hover {
        opacity: 1;
    }

    #testimonialsCarousel .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next-icon {
        background-image: none;
        width: 35px; /* Boyut */
        height: 35px;
        color: var(--accent-color); /* Ok rengi (koyu) */
        font-size: 1.8rem;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.8); /* Beyazımsı arka plan */
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    #testimonialsCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
    #testimonialsCarousel .carousel-control-next:hover .carousel-control-next-icon {
        background-color: white;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

    #testimonialsCarousel .carousel-control-prev-icon::before {
        content: "\f104"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
    #testimonialsCarousel .carousel-control-next-icon::before {
        content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; }

/* --- Contact Section --- */
#contact .contact-form-wrap {
    padding: 40px;
    background-color: var(--background-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact .contact-form-wrap .form-label {
    color: var(--text-color-muted);
    font-weight: 500;
}

#contact .contact-form-wrap .form-control {
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    background-color: var(--surface-color); /* Input background */
    color: var(--text-color-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-form-wrap .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
    background-color: var(--background-color);
}

#contact .contact-form-wrap textarea.form-control {
    min-height: 150px; /* Textarea minimum height */
    resize: vertical; /* Allow vertical resizing */
}

#contact .contact-info-wrap {
    padding: 40px;
    background-color: var(--surface-color); /* Right side (info) background */
    color: var(--text-color-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#contact .contact-info-wrap .contact-details p {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-color-muted);
}

#contact .contact-info-wrap .contact-details i {
    color: var(--primary-color); /* Icon color */
    font-size: 1.2rem;
    width: 25px; /* Align icons */
    text-align: center;
}

#contact .map-container {
    width: 100%;
    flex-grow: 1; /* Map takes remaining space */
    margin-top: 30px;
    border-radius: 8px; /* Consistent border radius */
    overflow: hidden; /* Ensure iframe respects border radius */
}

#contact .map-container iframe {
    width: 100%;
    height: 100%;
    border: none; /* Remove default iframe border */
    min-height: 250px; /* Minimum height for smaller screens */
}

/* --- Footer --- */
.footer {
    background-color: var(--surface-color); /* Hafif gri arka plan */
    color: var(--text-color-muted);
    padding: 30px 0;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 0;
}

.footer a {
    color: var(--text-color-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer .social-icons a {
    font-size: 1.2rem;
    margin: 0 8px;
    color: var(--text-color-muted);
}

.footer .social-icons a:hover {
    color: var(--accent-color);
}

/* Floating Buttons (Scroll to Top & WhatsApp) */
.floating-btn {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--button-primary-bg); /* Siyah */
    color: var(--button-primary-text); /* Beyaz */
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000; /* İçeriğin üzerinde olmasını sağla */
    /* WhatsApp butonu varsayılan olarak görünür olacak, opacity: 0 buradan kaldırıldı */
    pointer-events: auto; /* Varsayılan olarak etkileşimi etkinleştir */
}

.floating-btn.show {
    opacity: 1;
    pointer-events: auto;
}

.floating-btn:hover {
    background-color: var(--button-hover-bg); /* Hover rengi (koyu gri) */
    transform: translateY(-3px);
}

#scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    opacity: 0; /* Scroll to top için özel: varsayılan olarak gizli */
    pointer-events: none; /* Scroll to top için özel: gizliyken etkileşimi devre dışı bırak */
}

#scroll-to-top-btn.show {
    opacity: 1;
    pointer-events: auto; /* Scroll to top için özel: görünürken etkileşimi etkinleştir */
}

#whatsapp-btn {
    bottom: 20px;
    left: 20px;
    background-color: var(--button-primary-bg); /* Artık siyah olacak */
}

#whatsapp-btn:hover {
    background-color: var(--button-hover-bg); /* Artık hover'da koyu gri olacak */
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    #mainNav .navbar-nav {
        margin-left: 0; /* Mobil menüde ortalama kaldırıldı */
        margin-right: 0;
        text-align: center; /* Linkleri ortala */
        padding-bottom: 15px;
    }

    #mainNav .nav-item {
        margin: 5px 0;
    }

    #mainNav .navbar-collapse {
        flex-grow: 1; /* Mobil menüde genişlesin */
    }

    #mainNav .dropdown-menu {
        text-align: center;
        margin-top: 5px;
    }

    .hero-carousel-item {
        height: 70vh; /* Daha küçük ekranlarda hero yüksekliği */
    }
    .carousel-content h1 {
        font-size: 2.2rem;
    }
    .carousel-content p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    #contact .contact-form-wrap,
    #contact .contact-info-wrap {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel-item {
        height: 60vh;
    }
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .carousel-content .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 30px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section-header p {
        font-size: 0.95rem;
    }

    #services .card-body {
        padding: 20px;
    }
    #services .card-title {
        font-size: 1.1rem;
    }
    #services .card-text {
        font-size: 0.9rem;
    }

    #testimonials .testimonial-item {
        padding: 25px;
    }
    #testimonials .testimonial-item .quote {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    #testimonialsCarousel .carousel-control-prev,
    #testimonialsCarousel .carousel-control-next {
        display: none; /* Mobil cihazlarda okları gizle */
    }

    #contact .row.g-0 {
        flex-direction: column; /* İletişim formunu alt alta yığ */
    }
    #contact .contact-form-wrap,
    #contact .contact-info-wrap {
        border-radius: 0;
    }
    #contact .contact-info-wrap {
        margin-top: 20px;
    }
    #contact .map-container {
        margin-top: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    #scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
    }
    #whatsapp-btn {
        bottom: 15px;
        left: 15px;
    }
}