/* Global Styles */
body {
  font-family: "Merriweather", serif;
  background-color: #1c1a2e;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
html {
  background: url("../images/imageprinc.webp") no-repeat center center fixed;
  background-size: cover;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.logo a:hover {
  color: #d4a24c;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.btn {
  background: #e5b34e;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #d4a24c;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.navbar {
  width: 100vw;
  height: 60px;
  min-height: 60px;
  box-sizing: border-box;
  background: #1c1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.navbar .nav-links {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 24px 0 0; /* Sağdan içeri çeker */
  align-items: center;
}

.navbar .logo {
  float: left;
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .nav-links li {
  display: inline;
  margin: 0 10px;
}

.navbar .nav-links a {
  color: #ffffff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: #d4a24c;
}

/* Header Section */
.header {
  height: 100vh;
  background-image: url("../images/imageprinc.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-blend-mode: multiply;
  color: #eaeaea;
}

.header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.7);
}

.header-content {
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 3rem;
  letter-spacing: 0.05em;
  border-left: 6px solid #e5b34e;
  padding-left: 20px;
}

.header p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffffcc;
  text-shadow: 2px 2px 4px #000;
  font-family: "Raleway", sans-serif;
}

/* About Section */
.about-us {
  background: #1c1a2e;
  color: #eaeaea;
  padding: 80px 20px;
  text-align: center;
  font-family: "Georgia", serif;
  color: #333;
}

.about-us .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.about-title {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}
.about-us,
.about-description {
  color: #ffffff;
}

.btn-get-in-touch {
  display: inline-block;
  background-color: #e5b34e;
  color: #fff;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-get-in-touch:hover {
  background-color: #d4a24c;
  transform: scale(1.05);
}

.btn-get-in-touch:active {
  background-color: #c29445;
  transform: scale(0.95);
}

/* Features Section */
.amenities {
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  padding: 80px 20px;
  text-align: center;
  font-family: "Georgia", serif;
  color: #333;
}

.amenities-title {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

.amenities-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-title {
  font-size: 1.5rem;
  color: #e5b34e;
  margin-bottom: 15px;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Gallery Section */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centre le contenu horizontalement */
  text-align: center;
  /* Centre le texte du titre */
}

.gallery .images {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.gallery img {
  width: 30%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.1);
}

.Gallery-title {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 20px;
}

.testimonials .slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonials-title {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

.testimonials p {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin: 20px 0;
}

.arrow {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #e5b34e;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Contact Section */
.contact-form {
  background: #1c1a2e;
  color: #eaeaea;
  padding: 60px 20px;
  text-align: center;
  font-family: "Georgia", serif;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem); /* responsive font size */
}

.contact-heading {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

.contact-form button {
  background-color: #e5b34e;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #d4a24c;
  transform: scale(1.05);
}

.contact-info {
  margin-top: 20px;
  text-align: left;
}

/* Responsive and Scalable Contact Form Styling */
.contact-form form {
  width: 90%;
  max-width: 50rem; /* around 800px but relative */
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

.services {
  background: #1c1a2e;
  color: #eaeaea;
  padding: 80px 20px;
  text-align: center;
  font-family: "Georgia", serif;
  color: #333;
}

.services-title {
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid #e5b34e;
  display: inline-block;
  padding-bottom: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  /* overflow-x: hidden; */
  /* overflow: visible;  // BU SATIRI EKLEYEBİLİRSİN */
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr; /* Küçük ekranlarda yine tek sütun */
  }
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative; /* <-- EKLE */
  z-index: 1; /* <-- EKLE */
  transition: z-index 0s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  z-index: 10;
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-title {
  font-size: 1.5rem;
  color: #e5b34e;
  margin-bottom: 15px;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.about-title,
.services-title,
.contact-heading,
.Gallery-title,
.testimonials-title {
  color: #e5b34e;
  border-bottom: 3px solid #d4a24c;
}

.btn,
.btn-get-in-touch,
.contact-form button {
  background-color: #e5b34e;
  color: #0d1b2a;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

.btn:hover,
.btn-get-in-touch:hover,
.contact-form button:hover {
  background-color: #c29445;
  transform: scale(1.05);
}

.service-card,
.feature-card {
  background-color: #1a1a2e; /* Koyu kutu için */
  color: #eaeaea;
  border: 1px solid #d4a24c;
}

.service-title,
.feature-title {
  color: #e5b34e;
}

footer {
  background-color: #0d1b2a;
  color: #eaeaea;
  border-top: 1px solid #d4a24c;
}

.services,
.service-description {
  color: #ffffff;
}

.contact-form,
.contact-info {
  color: #ffffff;
}

.testimonials p {
  color: #ffffff;
}

.contact-form input,
.contact-form textarea {
  color: #ffffff;
  background-color: #333; /* optional for contrast */
}
.navbar .logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #eaeaea;
  height: 100%; /* Ekle */
}

.navbar .logo {
  display: flex;
  align-items: center;
  height: 60px; /* Navbar yüksekliği ile uyumlu tut */
}

.site-logo {
  width: 40px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: contain;
}
.site-footer {
  background-color: #0d1b2a;
  color: #eaeaea;
  border-top: 1px solid #d4a24c;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content p {
  margin: 0;
  font-size: 0.95rem;
}

.instagram-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
  filter: brightness(1.1) saturate(1.2);
}

.instagram-icon:hover img {
  transform: scale(1.2);
}
/* Genel overflow sorunu çözümü */
html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Container ve grid yapılarını limitle */
.container,
.services-grid,
.features-grid {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Büyük başlıkların taşmasını engelle */
.about-title,
.services-title,
.contact-heading,
.Gallery-title,
.testimonials-title {
  font-size: 2rem; /* Mobilde küçültüldü */
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  margin: 0 auto 20px auto;
  padding-bottom: 10px;
}

/* Responsive için medya sorguları */
@media (max-width: 600px) {
  .about-title,
  .services-title,
  .contact-heading,
  .Gallery-title,
  .testimonials-title {
    font-size: 1.3rem; /* Daha küçük ekranlar için daha da küçült */
  }
  .container,
  .services-grid,
  .features-grid {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Mobilde service-card genişlik kontrolü */
.service-card,
.feature-card {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Footer ve nav responsive düzeltme */
footer,
.site-footer {
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}
.about-us {
  direction: ltr;
  text-align: justify; /* Paragrafları iki yana yaslar */
  unicode-bidi: plaintext; /* Her zaman LTR */
}

.about-title {
  direction: ltr;
  text-align: center; /* Başlık ortalı */
}

.about-description {
  direction: ltr;
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 40px;
  text-indent: 2em; /* Paragraf başı girintisi, istersen kaldırabilirsin */
}

.burger {
  display: none;
  width: clamp(32px, 8vw, 44px);
  height: clamp(32px, 8vw, 44px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 101;
}
.burger .line {
  width: 70%;
  min-width: 20px;
  max-width: 32px;
  height: 4px;
  background: #e5b34e;
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .navbar {
    position: relative; /* Bu çok önemli! Sadece relative! */
  }
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    background: #1c1a2e;
    text-align: right;
    padding: 24px 16px;
    gap: 18px;
    width: 100vw;
    position: absolute; /* Açılan menü navbarın altına gelsin */
    top: 60px; /* Navbar yüksekliği kadar aşağıdan başlasın */
    left: 0;
    z-index: 100;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  .navbar .nav-links.open {
    display: flex;
  }
  .burger {
    display: flex !important;
    position: absolute;
    right: 12px;
    top: 16px;
    z-index: 101;
    background: none;
    border: none;
  }
}
