html, body {
    margin: 0;
    padding: 0;
    /* Body'ye verilen 100vh'lik üst boşluğu kaldırıyoruz, çünkü video artık sabit değil */
    /* Bu satırı tamamen kaldırdık veya yorum satırı olarak bıraktık */
    height: 100%;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    background-color: #f8e5d8;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 9999; /* Navbar en üstte kalmalı */
    box-sizing: border-box;
}

/* Menü linkleri */
.navbar nav {
    display: flex;
    gap: 20px;
}

.navbar a {
    margin: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

/* Başlangıçta şeffaf navbar, beyaz yazı */
.navbar.transparent {
    background: transparent;
    color: white;
}

.navbar.transparent a {
    color: white;
}

/* Scroll sonrası beyaz navbar, siyah yazı, daha büyük ve kalın */
.navbar.solid {
    background: #f5ebe4;
    color: black;
    padding: 25px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar.solid a {
    color: black;
    font-size: 1.1rem;
}

/* Logo stili */
.logo {
    font-weight: 700;
    font-size: 1.2rem;
    transition: font-size 0.3s ease;
}

.navbar.solid .logo {
    font-size: 1.5rem;
}

/* Hero video bölümü */
.hero {
  /* Videoyu artık sabit yapmıyoruz, normal akışta kalacak */
  position: relative; /* Relative yaparak içindeki absolute elemanı konumlandırabiliriz */
  top: 0;
  left: 0;
  height: 95vh; /* Tam ekran yüksekliği */
  width: 100%; /* Tam ekran genişliği */
  overflow: hidden;
  z-index: 0; /* Navbar'ın altında, diğer içeriğin üstünde kalması için 0 yaptık */
}

.hero-video {
  position: absolute; /* Kapsayıcıya göre konumlandır */
  top: 50%;
  left: 50%;
  min-width: 100%; /* Kapsayıcının en az %100'ünü kapla */
  min-height: 100%; /* Kapsayıcının en az %100'ünü kapla */
  width: auto;
  height: auto;
  transform: translate(-50%, -50%); /* Ortala */
  object-fit: contain; /* Kırparak alanı doldur */
}

/* Mobilde hero yüksekliği azalt */
@media screen and (max-width: 750px) {
  .hero {
    height: 50vh;  /* Mobilde yarı yüksekliğe indir */
  }
  
  .hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw; /* genişlik tüm viewport */
    height: auto;
    min-height: unset;
    min-width: unset;
    max-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover; /* tam dolsun */
  }
}
/* İçerik bölümü */
.content {
    background: #995244da;
    padding: 60px 40px;
    min-height: 150vh;
}

.intro-text {
    background: #f5ebe4;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.intro-text p {
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    color: #1f1e1e;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}


/* Görünürlük için ek sınıf */
.intro-text.visible {
    opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px; /* kısa foto yüksekliği */
  gap: 15px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.gallery-grid .item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-grid .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.gallery-grid .item:hover img {
  transform: scale(1.05);
}

/* Uzun (2 satır kaplayan) */
.gallery-grid .item.tall {
  grid-row: span 2;
}


/* Lightbox stilleri */
.lightbox {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none; /* başlangıçta gizli */
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.lightbox .close:hover {
  color: #ccc;
}

/* 2.yazı */
.after-gallery-text {
    background: #f5ebe4;
    text-align: center;
    padding: 60px 20px;
}

.after-gallery-text p {
    font-family: 'Dancing Script', cursive;
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* yorumlar */
.customer-reviews {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  background: #f5ebe4;
}

.customer-reviews h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.reviews-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.review {
  flex: 1 1 250px;
  background: #eeeef3;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review p {
  margin: 0;
}

.stars {
  color: #f5b50a;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.review > p:last-child {
  font-weight: 600;
  margin-top: 0.5rem;
}

.location-contact {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column; /* alt alta */
  gap: 2rem;
}

.map-container,
.contact-form {
  height: 450px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.contact-form {
  background: #f5ebe4;
  padding: 2rem;
  font-family: Arial, sans-serif;
  overflow-y: auto;
}

.contact-form h3 {
  margin-bottom: 1rem;
}

.contact-form form {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* buton hep alt tarafta */
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.contact-form button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #45a049;
}


.footer {
    background: #f5ebe4;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid #ddd;
}

.footer .socials {
    margin-bottom: 20px;
}

.footer .socials .icon {
    display: inline-block;
    margin: 0 10px;
    color: #555;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .socials .icon:hover {
    color: #000;
    transform: scale(1.2);
}

.footer .socials svg {
    width: 32px;
    height: 32px;
}

.footer .contact-info {
    margin: 15px 0;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer .contact-info p {
    margin: 5px 0;
}

.footer .copyright {
    margin-top: 10px;
    color: #777;
    font-size: 0.85rem;
}

/* Foto Slider */
.photo-slider {
  width: 100%;
  overflow: hidden;
  margin: 3rem 0;
  position: relative;
}

.slider-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden; /* dışarı taşan fotolar görünmesin */
}

.slider-images {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-images img {
  width: 35%;   /* aynı anda 4 foto görünmesi için */
  height: 250px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  margin: 0 5px;
}

/* Ok butonları */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  border-radius: 50%;
  display: flex;               /* Flex ile içerik ortala */
  justify-content: center;
  align-items: center;
  font-size: 2rem;             /* Ok boyutu */
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 2;
}

.slider-btn:hover {
  background: #afa54c;
  color: white;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

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

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





/* Responsive küçültme */
@media screen and (max-width: 750px) {
    .intro-text {
        font-size: 1.2rem;
        padding: 40px 10px;
    }
}

/* Hamburger menü ikonu */
.menu-toggle {
    display: none; /* Varsayılan olarak gizli */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

/* Scroll sonrası hamburger menü stili */
.navbar.solid .menu-toggle span {
    background: black;
}

/* Menü açıldığında ikonun X'e dönüşmesi */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* Responsive: küçük ekranlar */
@media screen and (max-width: 750px) {
    .navbar {
        padding: 10px 20px;
    }
    
    .navbar .logo {
        font-size: 1.2rem;
    }
    
    .navbar nav {
        /* Menü öğelerini gizle ve açılır kapanır hale getir */
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Navbar'ın hemen altına yerleştir */
        left: 0;
        background: rgba(245, 235, 228, 0.95);
        border-top: 1px solid #ccc;
    }
    
    .navbar nav a {
        color: black !important; /* Menü açıldığında her zaman siyah yazı */
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }
    
    .navbar nav a:hover {
        background: #e6e6e6;
    }
    
    /* Menü açıldığında nav görünür olsun */
    .navbar.menu-open nav {
        display: flex;
    }
    
    /* Hamburger ikonunu görünür yap */
    .menu-toggle {
        display: flex;
    }
    
    .navbar .logo {
        font-size: 1rem;
    }
}

/* Mobilde intro metni her zaman görünür olsun */
@media screen and (max-width: 750px) {
    .intro-text {
        opacity: 1; /* Opaklık 1 yaparak her zaman görünür hale getirir */
        transition: none; /* Geçiş efektini kaldırır */
    }
}