/* Global Box Sizing */
* {
    box-sizing: border-box;
}

html, body {
    width: 100%; /* Ensure html and body take full width */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Yatay kaydırmayı engeller */
    display: flex; /* Sticky footer için */
    flex-direction: column; /* Sticky footer için */
    min-height: 100vh; /* Sticky footer için */
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* For positioning the menu toggle */
}

.logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

.menu-toggle::before {
    content: '\2261'; /* Hamburger icon */
}

nav ul {
    padding: 0;
    list-style: none;
    display: flex; /* Desktop: horizontal */
    justify-content: center;
    width: 100%;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

nav a:hover {
    color: #1abc9c;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2c3e50;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    top: 100%; /* Position below the parent link */
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #34475a;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-grow: 1; /* Sticky footer için */
}

section {
    margin-bottom: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 15px 30px;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #2c3e50;
    color: #fff;
    border: 2px solid #395773;
}

.btn-primary span {
    line-height: 1.2;
}

.btn-primary:hover {
    background-color: #34475a;
    border-color: #34475a;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background-color: #2c3e50;
    color: #fff;
}

.btn-logo {
    height: 50px;
    width: auto;
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}


/* --- Yıkama Sayfası (Yeni Kartlı Yapı) --- */
#yikama-sayfasi h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.yikama-kategori-bolumu {
    margin-bottom: 50px;
}

.yikama-kategori-bolumu h3 {
    color: #34475a;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.kategori-aciklama {
    color: #555;
    margin-bottom: 30px;
    text-align: left;
}

.metot-kart-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 düzen için güncellendi */
    gap: 25px;
    align-items: stretch; /* Kartların aynı yüksekliğe sahip olmasını sağlar */
}

.metot-karti-link {
    text-decoration: none; /* Alt çizgiyi kaldır */
    color: inherit;
    display: flex; /* Kartların aynı hizada olmasını sağlar */
}

.metot-karti {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #34475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* İçeriği ne olursa olsun kartın yüksekliğini doldur */
}

.metot-karti:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.metot-karti h4 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.25em; /* Başlık boyutunu biraz büyüt */
}

.metot-karti p {
    margin-bottom: 0;
    color: #555;
    flex-grow: 1; /* Paragrafın kalan alanı doldurmasını sağlar */
    line-height: 1.5; /* Satır aralığını iyileştir */
    word-wrap: break-word; /* Uzun kelimelerin taşmasını engeller */
    overflow-wrap: break-word; /* Modern tarayıcılar için */
}

/* --- Detay Sayfaları (denim-yikama.html vb.) --- */
.detay {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.detay h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.detay-kart {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.detay-kart-icerik {
    flex: 2;
    min-width: 300px;
}

.detay-kart-gorsel {
    flex: 1;
    min-width: 250px;
    position: relative; /* Logo konumlandırması için */
}

.detay-kart-gorsel .ana-gorsel {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px; /* Logonun boyutunu ayarlayın */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.detay-kart-gorsel:hover .logo-overlay {
    opacity: 1;
}

.detay-aciklama h3,
.detay-avantajlar h3,
.detay-uygulama h3 {
    color: #2c3e50;
    border-bottom: 2px solid #34475a;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.detay-avantajlar ul {
    list-style: none;
    padding: 0;
}

.detay-avantajlar li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detay-avantajlar i {
    color: #34475a;
    margin-right: 10px;
}

.geri-butonu {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.geri-butonu:hover {
    background-color: #34495e;
}

.geri-butonu i {
    margin-right: 8px;
}

/* --- Diğer Sayfalar --- */

/* Galeri Page Styles (Masonry with Pan effect) */
.galeri-kart-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 20px;
}

.galeri-karti {
    background: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galeri-karti.dik {
    grid-row: span 2;
    height: 420px;
}

.galeri-karti.yatay {
    grid-column: span 2;
    height: 200px;
}

.galeri-karti:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.galeri-karti img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Başlangıç pozisyonu */
    opacity: 0.85;
    transition: opacity 0.3s ease, object-position 4s ease-in-out; /* object-position için geçiş ekle */
}

.galeri-karti:hover img {
    opacity: 1;
    object-position: center bottom; /* Hover'da bitiş pozisyonu */
}

@keyframes foto-slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    animation: zoom 0.3s ease-in-out;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* Iletisim Page Styles */
#iletisim {
    background: none;
    box-shadow: none;
    padding: 0;
}

.iletisim-intro.card {
    margin-bottom: 20px; /* Boşluk ekle */
}

.iletisim-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
}

.iletisim-detaylari h3, .iletisim-formu h3 {
    margin-top: 0;
    color: #2c3e50;
}

.detay-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.detay-item i {
    color: #34475a;
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.detay-item a {
    color: #333;
    text-decoration: none;
}

.detay-item a:hover {
    color: #445c75;
}

.harita {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

/* Yorumlar Page Slider Styles */
#yorumlar h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.yorum-slider-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 40px;
}

.yorum-listesi {
    display: flex;
    width: 200%; /* Genişliği içeriğe göre ayarla */
    animation: slide 30s linear infinite;
    padding: 10px;
}

.yorum-karti {
    flex: 0 0 320px; /* Kartların genişliği */
    margin: 0 15px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #34475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yorum-karti:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.yorum-icerik {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.yorum-icerik .fa-quote-left {
    color: #34475a;
    font-size: 28px;
    margin-right: 15px;
    opacity: 0.8;
}

.yorum-icerik p {
    margin: 0;
    font-style: italic;
    color: #555;
    font-size: 1.05em;
}

.yorum-sahibi {
    text-align: right;
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%); /* Yarısına kadar kaydır */
    }
}

#yorum-ekle {
    max-width: 800px; /* Formun çok geniş olmasını engeller */
    margin: 40px auto 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

#yorum-ekle h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-grup {
    margin-bottom: 20px;
}

.form-grup label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.form-grup input,
.form-grup textarea,
.form-grup select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-grup input:focus,
.form-grup textarea:focus,
.form-grup select:focus {
    border-color: #34475a;
    outline: none;
}

button[type="submit"] {
    background: #34475a;
    color: #fff;
    padding: 14px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.1em;
    width: 100%;
    font-weight: bold;
}

button[type="submit"]:hover {
    background: #34475a;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: #fff;
    margin-top: 40px; /* İçerikten ayırmak için */
}
.foto-slider-section {
    padding: 0;
    margin-top: 40px;
    background: none;
    box-shadow: none;
}

.foto-slider-container {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: -webkit-linear-gradient(left, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.foto-slider-listesi {
    display: flex;
    width: max-content;
    animation: foto-slide 60s linear infinite;
}

.foto-slider-listesi img {
    width: 150px; /* Sabit genişlik */
    height: 100px; /* Sabit yükseklik */
    object-fit: contain; /* En boy oranını koruyarak sığdır */
    background-color: #fff; /* Şeffaf logolar için arka plan */
    padding: 10px; /* Logo etrafında boşluk */
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* --- Home Page Styles --- */
#home-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../img/different-types-of-denim.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative; /* For logo overlay */
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-logo-overlay {
    width: 300px; /* Adjust size as needed */
    opacity: 0.8;
    /* position: absolute; bottom: 20px; right: 20px; kaldırıldı */
}

#home-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#home-hero p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.section-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-bottom: 20px;
}

.section-alt:nth-of-type(even) {
    flex-direction: row-reverse; /* Alternate image and text */
}

.section-alt .content-left,
.section-alt .image-right {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.section-alt .image-right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#about-logo {
    box-shadow: none;
}

.section-alt h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2em;
}

.section-alt p {
    color: #555;
    margin-bottom: 20px;
}

#contact-cta {
    background: #34475a;
    color: #fff;
    text-align: center;
}

#contact-cta h2,
#contact-cta p {
    color: #fff;
}

#contact-cta .btn-secondary {
    background-color: #fff;
    color: #34475a;
    border-color: #fff;
}

#contact-cta .btn-secondary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Detail Page Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider {
  position: relative;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover; /* Fotoğrafların boyutunu koru */
  object-position: center;
  display: none; /* Hide all images by default */
}

.slider img.active {
  display: block; /* Show only the active image */
}

.slider-btn {
  position: absolute;
  top: 50%; /* Dikeyde ortala */
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Uzmanlık Alanlarımız ve Hakkımızda Kartları (Ana Sayfa) */

#our-services {
    text-align: center;
}

.services-overview .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

.service-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 300px;
    max-width: 350px; /* Prevent cards from getting too wide */
    display: flex; /* Make the link a flex container */
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #34475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Fill the link container */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3em;
    color: #34475a;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555;
}

.read-more {
    font-weight: bold;
    color: #34475a;
    transition: color 0.3s ease;
}

.read-more .fa-arrow-right {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card-link:hover .read-more {
    color: #2c3e50;
}

.service-card-link:hover .fa-arrow-right {
    transform: translateX(5px);
}

/* Hakkimizda Preview Section on Home Page */
.testimonial-display {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 200px; /* Set a fixed height */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Add space between cards */
    justify-content: center;
}

.testimonial-display .yorum-karti {
    flex-basis: auto; /* Reset basis for vertical stacking */
    margin: 0; /* Reset margin */
    width: 100%;
    display: none; /* Hide all cards by default */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute;
}

.testimonial-display .yorum-karti.active {
    display: block; /* Show active card */
    opacity: 1;
}

/* --- Hakkımızda Page Specifics --- */

#hizmetlerimiz-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../img/denim_aknaz.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 10px;
}

.hero-section-about {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../img/denim_hakkimizda.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 10px;
}

.hero-section-about h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-section-about p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Mission & Vision Section */
.mission-vision {
    background: #fff; /* Arka plan rengini beyaz yap */
}

.mission-vision .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.mv-card {
    background: #fff; /* Kart arka planını beyaz yap */
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    border-top: 4px solid #34475a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Gölge ekle */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.mv-icon {
    font-size: 2.5em;
    color: #34475a;
    margin-bottom: 15px;
}

.mv-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Our Values Section */
.our-values {
    background: #fff; /* Arka plan rengini beyaz yap */
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.value-item {
    background: #fff; /* Kart arka planını beyaz yap */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Gölge ekle */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #34475a; /* Üst kenarlık ekle */
    flex: 1 1 180px;
    max-width: 220px;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-top-color: #34475a; /* Hover'da kenarlık rengini koru */
}

.value-icon {
    font-size: 2.5em;
    color: #34475a;
    margin-bottom: 15px;
}

.value-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Faaliyet Alanlarımız (Services on About Page) */
.our-services {
    background: #fff; /* Arka plan rengini beyaz yap */
}

.our-services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card-about {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-bottom: 4px solid #34475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-about:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon-about {
    font-size: 2.5em;
    color: #34475a;
    margin-bottom: 15px;
}

.service-card-about h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    flex: 1 1 200px;
    max-width: 250px;
    border-top: 4px solid #34475a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2.5em;
    color: #34475a;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .metot-kart-container {
        grid-template-columns: 1fr; /* Daha küçük ekranlarda kartların tek sütun olmasını sağlar */
    }

    #home-hero h1 {
        font-size: 2.8em;
    }

    #home-hero p {
        font-size: 1.1em;
    }

    .section-alt .content-left,
    .section-alt .image-right {
        min-width: unset;
        width: 100%;
    }

    .section-alt:nth-of-type(even) {
        flex-direction: column; /* Stack on smaller screens */
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden; /* Ensure no horizontal scroll */
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
    }

    header {
        flex-direction: row; /* Align logo and toggle horizontally */
        justify-content: space-between;
        padding: 1rem 20px;
    }

    .logo {
        margin-bottom: 0;
    }

    nav {
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background: #2c3e50;
        display: none; /* Menü kapalıyken tamamen gizle */
        z-index: 100; /* Added z-index to ensure menu appears above content */
    }

    nav.active {
        display: block; /* Menü açıkken göster */
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Mobile Dropdown */
    .dropdown .dropbtn {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static; /* Remove absolute positioning for mobile */
        box-shadow: none;
        width: 100%;
        background-color: #34495e; /* Slightly different background for sub-items */
        border-radius: 0;
        transform: none;
    }

    .dropdown:hover .dropdown-content {
        display: none; /* Hide on hover for mobile, controlled by JS */
    }

    .dropdown.active .dropdown-content {
        display: block !important; /* Show when dropdown is active (via JS) */
    }

    .iletisim-container {
        flex-direction: column;
    }

    main {
        padding: 10px; /* Mobil görünümde main padding'ini ayarla */
        width: 100%; /* Main elementinin tam genişlik almasını sağla */
    }

    .detay {
        padding: 0; /* Mobil görünümde detay bölümünün iç boşluğunu kaldır */
        box-sizing: border-box; /* Ensure padding is included in width */
    }

    .detay-kart {
        flex-direction: column; /* Görseli üste alır, içerik alta */
        gap: 0; /* Mobil görünümde kartlar arasındaki boşluğu kaldır */
        box-sizing: border-box; /* Ensure padding is included in width */
        width: 100%; /* Detay kartının tam genişlik almasını sağla */
        margin: 0 auto; /* Detay kartını ortala */
    }

    .detay-kart-icerik {
        width: 100%;
        margin-bottom: 20px; /* İçerik ile görsel arasına boşluk ekle */
        min-width: auto; /* Minimum genişliği kaldır */
        padding: 10px; /* İçerik kartına iç boşluk ekle */
    }

    .detay-kart-gorsel {
        width: 100%;
        min-width: auto; /* Minimum genişliği kaldır */
        display: block; /* Blok seviyesinde davranmasını sağla */
        margin-top: 20px; /* İçerik ile görsel arasına boşluk ekle */
        box-sizing: border-box; /* Ensure padding is included in width */
        padding: 0; /* Görsel kartından iç boşluğu kaldır */
    }

    .detay-kart-gorsel .ana-gorsel {
        width: 100%;
        max-width: 100%; /* Ensure image doesn't overflow */
        height: auto;
        display: block; /* Resmin blok seviyesinde davranmasını sağla */
    }

    .metot-kart-container {
        grid-template-columns: 1fr;
    }
    .metot-karti {
        margin-bottom: 20px;
    }

    .yorum-karti {
        flex: 0 0 90%; /* Mobil görünümde kart genişliği */
        margin: 0 auto 20px auto; /* Ortala ve boşluk bırak */
    }

    .yorum-listesi {
        animation: none; /* Mobil görünümde kaydırma animasyonunu kapat */
        flex-wrap: wrap; /* Kartların alt alta geçmesini sağlar */
        justify-content: center;
        width: 100%; /* Mobil görünümde tam genişlik */
        padding: 0; /* Mobil görünümde iç boşluğu kaldır */
    }

    .hero-logo-overlay {
        width: 150px;
        /* bottom: 10px; right: 10px; kaldırıldı */
    }

    .hero-cta-wrapper {
        flex-wrap: nowrap; /* Mobil görünümde yan yana kalmasını sağlar */
        flex-direction: row; /* Mobil görünümde alt alta sıralanmasını sağlar */
        align-items: center;
    }
}

/*Detail Page Slider Button Position*/
.slider-btn {
  top: 50%; /* Dikeyde ortala */
  transform: translateY(-50%);
}

.slider-btn.prev {
  left: 10px;
  right: auto;
}

.slider-btn.next {
  right: 10px;
  left: auto;
}

#hizmetler, #neden-biz, #our-services {
    text-align: center;
}

/* Thank You Page Styles */
.thank-you-page {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thank-you-page .card {
    flex: 0 1 auto; /* Prevent card from growing */
    max-width: 500px;
    margin: 0 20px; /* Add some margin on mobile */
}

.thank-you-page .card h1 {
    color: #2c3e50;
    margin-top: 0;
}

.thank-you-page .card a {
    margin-top: 25px;
    display: inline-block;
    padding: 12px 25px;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.thank-you-page .card a:hover {
    background-color: #34495e;
}
