/* ======================================================
   TEMEL AYARLAR VE DEĞİŞKENLER
   ====================================================== */
:root {
    --primary-color: #3a506b;
    --secondary-color: #2c3e50;
    --accent-color: #c0a080;
    --accent-hover-color: #b38f6e;
    --section-bg: #f9f9f9;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --white-color: #fff;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 6px 20px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white-color);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 4rem 0;
}

.section-bg {
    background: var(--section-bg);
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #666;
}

/* ======================================================
   HEADER
   ====================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#language-select {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1200;
}

/* ======================================================
   HERO
   ====================================================== */
#hero {
    background:  url('img/occdi.png') center/cover no-repeat;
    color: var(--white-color);
    text-align: center;
    padding: 8rem 0 7rem;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    max-width: 600px;
    margin: 0.5rem auto 2.5rem;
    font-size: 1.2rem;
    font-weight: 300;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ======================================================
   AKORDEON & SERVİS LİSTESİ
   ====================================================== */
.accordion-container {
    max-width: 900px;
    margin: 2rem auto;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-toggle {
    font-family: var(--font-head);
    font-size: 1.8rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #fff;
    transition: background-color 0.3s;
}

.accordion-item.active .accordion-toggle {
    background-color: var(--section-bg);
}

.accordion-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: transform 0.4s ease;
}

.accordion-item.active .accordion-toggle::after {
    transform: rotate(-180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.service-list {
    padding: 0.5rem 0;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    gap: 1rem;
}

.service-details {
    flex-grow: 1;
}

.service-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.service-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.service-action {
    flex-shrink: 0;
    text-align: right;
}

.service-price {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.btn-reserve {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-reserve:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

h4.sub-category-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    color: var(--secondary-color);
}


/* ======================================================
   ABOUT (HAKKIMIZDA)
   ====================================================== */
.about-flex {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-content {
    flex: 1.2;
}
.about-content h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}
.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-heavy);
}

/* ======================================================
   GALLERY (GALERİ) - GÜNCELLENMİŞ
   ====================================================== */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
}
.gallery-item img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    display: block;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: default;
    
    /* YENİ EKLENEN SINIRLAMALAR BURADA */
    max-width: 90%;
    max-height: 90vh; /* Ekran yüksekliğinin %90'ını geçemez */
}

/* Sadece büyük ekranlarda (PC) ekstra genişlik sınırı */
@media (min-width: 1200px) {
    .lightbox-content img {
        max-width: 1400px; /* Genişliği 1400px ile sınırla */
    }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2001;
}
.lightbox-close:hover {
    transform: scale(1.2);
}


/* ======================================================
   TESTIMONIALS (MÜŞTERİ YORUMLARI)
   ====================================================== */
#testimonials {
    background: var(--primary-color);
    color: var(--light-text-color);
}
#testimonials .section-title, #testimonials .section-title p {
    color: var(--white-color);
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    max-width: 450px;
    text-align: center;
    border-left: 5px solid var(--accent-color);
    animation: fadeIn 0.8s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.testimonial-card h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ======================================================
   CONTACT (İLETİŞİM)
   ====================================================== */
.contact-flex {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-family: var(--font-head);
    font-size: 2.2rem;
}

.contact-info ul {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 1.05rem;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 25px;
    text-align: center;
}

.contact-map {
    flex: 1.2;
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
    background: var(--secondary-color);
    color: var(--light-text-color);
    padding: 2.5rem 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-left p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.footer-right a {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 1rem;
}

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

/* ======================================================
   YÜZEN WHATSAPP BUTONU
   ====================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* ======================================================
   KAYDIRMA ANİMASYONU
   ====================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================================
   RESPONSIVE TASARIM (MOBİL UYUMLULUK)
   ====================================================== */
@media (max-width: 992px) {
    .nav-menu {
        display: none; /* Hide for tablet/mobile initially */
    }
    .burger {
        display: block; /* Show burger on tablet/mobile */
    }
    .nav-menu.active {
        display: flex; /* Show menu when active */
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 1100;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.25rem;
    }
    .about-flex, .contact-flex {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
    .footer-right { margin-top: 1rem; }
}

@media(max-width: 480px) {
    .accordion-toggle { font-size: 1.4rem; }
    .service-item {
       flex-direction: column;
       align-items: flex-start;
       gap: 0.5rem;
    }
    .service-action {
       width: 100%;
       display: flex;
       justify-content: space-between;
       align-items: center;
       margin-top: 0.5rem;
    }
    .service-price {
        margin-bottom: 0;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }
}

/* Dil seçici için */
.lang { display: none; }
body.lang-tr .lang-tr,
body.lang-en .lang-en,
body.lang-ar .lang-ar {
    display: inline;
}
body.lang-ar { direction: rtl; }
 .hamam-info {
    display: flex;
    align-items: center;
    gap: 2rem;           /* Metin ve görsel arasında boşluk */
  }

  .hamam-info .content {
    flex: 1;             /* Metin bölümünün esnek genişliği */
  }

  .hamam-info .image img {
    width: 100%;
    max-width: 320px;    /* Görselin üst genişlik sınırı */
    border-radius: 8px;  /* İsteğe bağlı köşe yumuşatma */
  }

  /* Küçük ekranlar için (opsiyonel) */
  @media (max-width: 768px) {
    .hamam-info {
      flex-direction: column;
    }
    .hamam-info .image img {
      max-width: 100%;
    }
  }