@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    scroll-behavior: smooth; /* Tüm sayfa içi bağlantılarda yumuşak kaydırma sağlar */
}

body {
    background-color: #f0f7f9;
    font-family: "Inter", sans-serif;
    padding-top: 120px;
}

.background-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 1100px; 
    height: 2000px;
    z-index: -1; 
    pointer-events: none; 

    /* degrade rengi */
    background: radial-gradient(
        circle at top right, 
        rgba(0, 255, 255, 0.2),
        rgba(255, 255, 255, 0) 50%, 
        white 
    );
    background: radial-gradient(
        60% 80% at 90% 10%, 
        rgba(180, 255, 255, 0.4),
        rgba(255, 255, 255, 0) 80% 
    );
}

.navbar {
display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 73px;
    font-family: "Inter", sans-serif;
    
    /* YAPIŞKAN (STICKY) KURALLARINI GÜNCELLİYORUZ */
    position: fixed; 
    top: 0; 
    
    /* SORUN GİDERME: width: 100%; yerine left/right 0 kullanıyoruz. */
    left: 0; /* Ekranın sol kenarına sıfırla */
    right: 0; /* Ekranın sağ kenarına sıfırla (kaydırma çubuğunun genişliğini otomatik hesaplar) */
    
    z-index: 1000; 
    background-color: #f7fcff; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    list-style: none;
}

.navbar ul li {
    list-style: none;
    text-align: center;
    display: inline-block;
    padding-inline: 13px;
    letter-spacing: 0.2px; 
}

.navbar button a {
    font-family: "Inter", sans-serif;
    font-weight: 500; /* Semibold */
    font-size: 16px;
    text-decoration: none;
    color: white;
}

.navbar button:hover {
    background-color: #2BB19F; /* biraz daha koyu yeşil */
    transform: scale(1.03);
    box-shadow: rgb(172, 172, 172) 5px 5px 5px;
}

.navbar button {
    background-color: #2BB19F; /* (veya gradientli #22C55E → #16A34A arası yeşil ton) */
    padding: 13px 23px;
    border-radius: 12px; /* tam oval */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: rgb(187, 187, 187) 2.5px 2.5px 2.5px;
}

.navbar ul li a {
    text-decoration: none;
    color: #2B2B2B;
    list-style: none;
    text-align: center;
    transition: all 0.3s;
}

.navbar ul li a:hover {
    color: #777777;
    transition: all 0.3s;
}

/* Navbar genel */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 29px 73px;
  font-family: "Inter", sans-serif;
}

/* Sol logo alanı */
.logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-icon img {
    top: 100px;
    width: 200px;
}

/* İki satırlı yazı */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-top {
  font-size: 14px;
  letter-spacing: 5px;
  color: #64748b; /* gri ton */
  font-weight: 500;
  text-align: left;
  line-height: 20px; 
      font-family: "Inter", sans-serif;
    font-weight: 500; /* Semibold */
}

.logo-bottom {
  font-size: 35px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  line-height: -20px;  
      font-family: "Inter", sans-serif;
    font-weight: 600; /* Semibold */
}

.subtitles {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 3px;
    margin-bottom: 10px;
        display: flex;
    flex-wrap: wrap; /* Sığmazsa alt satıra geç (Responsive) */
    gap: 20px; /* Kartlar arası boşluk */
    margin: 0; 
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
    display: flex;
    /* gap: 80px;  Flex ile hizalama yapacağımız için gap'i kaldırabiliriz */
    align-items: flex-start;
}

.hero-left {
    /* Sol taraf metin için gerekli alanı alsın */
    flex-shrink: 0; /* Küçülmesini engeller */
    max-width: 55%; /* Metin alanının maksimum genişliği */
    margin-right: 80px; /* Sağ tarafla arasındaki boşluk */
}

/* Bu kısım SAĞA YASLAMA işlemini yapar */
.hero-right {
    width: 400px; /* Kartın sabit genişliği */
    flex-shrink: 0; /* Kartın küçülmesini engeller */
    margin-left: auto; /* Kalan boşluğu sol tarafa iter, böylece kart sağa yaslanır */
    box-shadow: rgb(216, 216, 216) 0px 0px 20px;
    border-radius: 20px;
}

/* Başlık boyutunu responsive yapıyoruz */
.main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 30px;
}

/* Diğer metin ve buton stilleri (değişmedi) */
.subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 40px;
}
.buttons {
    display: flex;
    gap: 20px;
    margin-top: -7px;
}
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary {
    background-color: #2EB19F;
    color: rgb(255, 255, 255);
    border: none;
}
.btn-secondary {
    background-color: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}


/* -------------------- SAĞ KART İÇİ STİLLERİ (Değişmedi) -------------------- */

.trending-rooms-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0f0f5;
}
/* ... kart içindeki diğer stiller ... */
.card-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0;
    margin-bottom: 0px;
    position: relative;
}
.card-head { 
    font-size: 30px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 15px;
}
.card-header::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #20b4a4;
}
h4 {
    font-weight: 500;
    font-size: 17px;
}
.room-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f4f8;
}
.room-item:last-child {
    border-bottom: none;
}
.room-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}
.room-item p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}
.browse-rooms-btn {
    width: 100%;
    background-color: #3D9A8B;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: rgb(180, 180, 180) 2px 2px 6px;
    font-family: "Inter", sans-serif;
}
.browse-rooms-btn:hover {
    background-color: #20b4a4; /* biraz daha koyu yeşil */
    transform: scale(1.03);
    box-shadow: rgb(134, 134, 134) 2px 2px 6px;
    transition: all 0.4s;
}


/* -------------------- RESPONSIVE: TABLET ve MOBİL -------------------- */

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column; /* Öğeleri alt alta yığ */
        gap: 40px; 
        padding: 60px 20px;
    }

    .hero-left {
        max-width: 100%; /* Mobil/Tablet: Tam genişlik */
        margin-right: 0; /* Mobil/Tablet: Boşluğu kaldır */
    }
    
    .hero-right {
        width: 100%; /* Mobil/Tablet: Tam genişlik */
        margin-left: 0; /* Mobil/Tablet: Sağa yaslamayı kaldır */
        padding: 0; 
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

/* Sadece mobil cihazlar için ekstra ayarlar */
@media (max-width: 600px) {
    .hero-section {
        padding: 40px 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
.cards-header {
    /* Kartların genişliğiyle aynı genişlikte olması için */
    width: 100%;
    /* main-content-wrapper zaten sağa hizalandığı için bu sadece içindeki metinleri yaslar */
    text-align: left; 
    margin-bottom: 30px; /* Kartlar ile başlık arasına boşluk */
}

.cards-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b; /* Gri alt başlık rengi */
    letter-spacing: 4px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.cards-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a; /* Koyu başlık rengi */
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}


/* -------------------- GEREKLİ DÜZELTME -------------------- */

/* main-content-wrapper'ı hem başlık hem de container'ı dikey tutacak şekilde düzenleyelim */
.main-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column; /* İçindeki elemanları (Başlık ve Kartlar) alt alta dizer */
    align-items: flex-start; /* İçindeki her şeyi sağa yaslar */

    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px; 
}

/* Container'ı artık tam genişlikte kullanabiliriz, çünkü hizalama parent tarafından yapılıyor */
.container {
    width: 100%; 
    max-width: 940px; 
    /* ... diğer stil kuralları ... */
}
.main-content-wrapper {
    width: 100%;
    display: flex;
    /* Kart bloğunu sağa yaslar (PC Görünümü) */
    justify-content: flex-end; 
    
    /* Sayfanın ortasında ve kenarlardan boşluk bırakır */
    max-width: 1200px; /* Hero ile aynı genişlikte tutmak iyi bir uygulamadır */
    margin: 10px auto; /* Hero'dan sonra üstte boşluk ve sayfayı ortala */
    padding: 0 40px; /* Kenar boşlukları */

}

/* Kapsayıcı (Container) - Kartların yatay/responsive durmasını sağlar */
.container {
    width: 100%; 
    max-width: 1340px; /* 3 kartın yan yana sığabileceği maksimum genişlik */
    display: flex;
    flex-wrap: wrap; /* Sığmazsa alt satıra geç (Responsive) */
    gap: 20px; /* Kartlar arası boşluk */
    margin: 0; 
}

/* Kart Stili */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* PC görünümü için: 3 kart yan yana (33.333%) */
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 280px; /* Kartın küçülmesini engeller */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    box-shadow: rgb(216, 216, 216) 0px 0px 20px;
}

.card:hover {
    transform: translateY(-5px);
}
/* Diğer iç elementlerin stilleri (Değişmedi) */
.card-icon {
    width: 60px;
    height: 60px;
    background-color: #B7EDFF;
    color: #3D9A8B;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
}

.card-description {
    font-size: 16px;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #00bcd4;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #008ba3;
}


/*
=========================================
RESPONSIVE AYARLAR (MEDYA SORGULARI)
=========================================
*/

/* Orta Boy Ekranlar (Tabletler) - 900px ve altı */
@media (max-width: 900px) {
    .container {
        /* İki kart yan yana sığması için max-width'i düşürelim */
        max-width: 620px; 
    }
    
    .card {
        /* İki kart yan yana (yaklaşık 50%) */
        flex: 1 1 calc(50% - 20px); 
    }
}

/* Küçük Ekranlar (Mobil Cihazlar) - 600px ve altı */
@media (max-width: 600px) {
    .main-content-wrapper {
        justify-content: center; /* Mobil görünümde ortalamak daha iyi olabilir */
        padding: 0 5px;
    }

    .container {
        max-width: 100%; /* Mobil cihazda tam genişlik kullan */
        gap: 15px; /* Boşlukları biraz azalt */
    }

    .card {
        /* Tek kart dikeyde sıralanır (100% genişlik) */
        flex: 1 1 100%; 
        padding: 20px;
    }
}

/* Ana Sarmalayıcı */
.faq-section-wrapper {
    background-color: #f0f7f9; /* Hafif, açık mavi/gri arka plan */
    padding: 60px 0;
    margin-top: -30px; /* Üstteki kartlardan boşluk */
}

/* İç Kapsayıcı (Ortalama) */
.faq-container {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Başlık Alanı */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-description {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Soru Listesi */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Soru Öğesi */
.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden; /* Cevabın gizlenmesi için önemli */
    border: 1px solid #e0f0f5;
}

/* Soru Butonu */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2B2B2B;
    transition: background-color 0.3s;
    font-family: "Inter", sans-serif;
}

.faq-question:hover {
    background-color: #f5fafd;
}

/* İkon Stili (Ok işareti) */
.faq-icon {
    font-size: 1rem;
    color: #2EB19F; /* Teamchat'in yeşil/camgöbeği rengi */
    transition: transform 0.3s;
}

/* CEVAP ALANI */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px;
    font-family: "Inter", sans-serif;
}

.faq-answer p {
    padding-bottom: 20px;
    padding-top: 10px;
    margin: 0;
    font-size: 1rem;
    color: #555555;
    border-top: 1px solid #f0f4f8; /* Cevabın üstüne ince ayırıcı çizgi */
}

/* AKTİF Sınıfı (JavaScript ile eklenecektir) */
.faq-item.active .faq-question {
    background-color: #ffffff;
    border-bottom: 1px solid #e0f0f5;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Cevabın içeriğine göre ayarlanabilir, büyük bir değer olmalı */
    padding: 0 25px 20px 25px;
}


/* =========================================
RESPONSIVE AYARLAR (SSS)
========================================= */

@media (max-width: 768px) {
    .faq-section-wrapper {
        padding: 40px 0;
    }
    
    .faq-container {
        padding: 0 20px;
    }

    .faq-main-title {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* Ana bölüm */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  margin-top: -70px;
}

/* Ana kapsayıcı */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Ortak kutu stilleri */
.contact-box {
  flex: 1;
  min-width: 320px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 40px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-5px);
}

/* Sol kutu (sosyal medya) */
.contact-info {
  color: #000000;
}

.contact-info h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin: 12px 0;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.contact-info a:hover {
  opacity: 0.8;
}

/* Sağ kutu (form) */
.contact-form h2 {
  margin-bottom: 20px;
  color: #2EB19F;
  font-weight: 600;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 15px;
  padding: 12px 14px;
  border: 2px solid #63C2D2;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2EB19F;
  outline: none;
}

.contact-form button {
  background-color: #3D9A8B;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s;
}

.contact-form button:hover {
  background-color: #2EB19F;
  transform: translateY(-2px);
}

.contact-info button {
    width: 100%;
    background-color: #3D9ABB;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: rgb(180, 180, 180) 2px 2px 6px;
    font-family: "Inter", sans-serif;
}
.contact-info button:hover {
    background-color: #2EB19F; /* biraz daha koyu yeşil */
    transform: scale(1.03);
    box-shadow: rgb(134, 134, 134) 2px 2px 6px;
    transition: all 0.4s;
}
.contact-info button a {
    font-family: "Inter", sans-serif;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-box {
    width: 100%;
  }

}

@media (max-width: 976px) {
      .navbar ul li {
    display: none;
  }
  .navbar li {
    display: none;
  }
}

.footer {
  background-color: #ffffff; /* Beyaz arka plan */
  color: #000000; /* Siyah yazılar */
  font-family: 'Inter', sans-serif;
  padding: 60px 0 20px;
  border-top: 1px solid #2EB19F; /* Üstte ince gri çizgi */
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
    text-align: center; /* Alt metin ortalanır */
}

.footer-about h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #000000;
}

.social-links a {
  color: #3d9a8b;
  margin-right: 12px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #2EB19F; /* Hover rengi tema rengine uyumlu */
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #000000;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #000000;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: #2EB19F;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 14px;
}

.footer-contact i {
  color: #2EB19F; /* ikonlar tema rengi */
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eeeeee; /* footer alt kısmında ince çizgi */
  margin-top: 60px;
  font-size: 14px;
  color: #000000;
  border-top: 1px solid #9b9b9b;
  font-family: "Inter", sans-serif;
}

