@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Poppins', sans-serif;
  background-color: #1F2B3A; /* Gece Laciverti */
  color: #F5F5F5;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
  position: relative;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.slogan {
  font-size: 1.2rem;
  color: #D4AF37;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: #F5F5F5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #D4AF37;
}

/* MENU ICON (mobil) */
.menu-icon {
  display: none;             /* Masaüstünde gizli */
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  background-color: rgba(31, 43, 58, 0.6);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

    .social-icons {
      margin-top: 10px;
      display: flex;
      gap: 20px;
      justify-content: center;
    }
    .social-icons a svg {
      transition: transform 0.3s ease, fill 0.3s ease;
    }
    .social-icons a:hover svg {
      transform: scale(1.2);
      fill: #D4AF37;
    }

.menu-icon img {
  width: 24px;
  height: 24px;
}

.menu-icon:hover {
  background-color: rgba(31, 43, 58, 0.8);
}

/* Sadece mobilde görünür */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;   /* Mobilde görünür */
  }

  nav ul {
    display: none;   /* Mobilde menü gizlenir */
  }
}

/* DROPDOWN MENU */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 250px;
  background-color: #1F2B3A;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-menu ul {
  list-style: none;
}

.dropdown-menu li {
  margin-bottom: 10px;
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu a {
  color: #F5F5F5;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  color: #D4AF37;
}

/* ÖZELLİKLER */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 20px;
  font-size: 1.1rem;
  background-color: #1F2B3A;
}

/* VİLLA KARTLARI */
.villa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  background-color: #F5F5F5;
  color: #1F2B3A;
}

.villa-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.villa-card:hover {
  transform: translateY(-5px);
}

.villa-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.villa-card h3 {
  margin: 15px;
  font-size: 1.2rem;
  color: #1F2B3A;
}

.villa-card h3,
.villa-card p {
  margin: 15px;
  text-align: center; /* Yazıları ortala */
  word-wrap: break-word; /* Uzun kelimeleri kır */
  hyphens: auto; /* Kelime bölünmesini modern yap */
}

.villa-card p {
  font-size: 0.95rem;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Maksimum 5 satır göster, daha fazlası ... ile gizlenir */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* İLETİŞİM FORMU */
.contact {
  background-color: #F5F5F5;
  color: #1F2B3A;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  color: #D4AF37;
  margin-bottom: 10px;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  resize: none;
}

.contact button {
  background-color: #007A9C;
  color: white;
  border: none;
  padding: 15px;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #005e75;
}

.instagram-icon {
  margin: 20px 0;
}

.instagram-icon img {
  width: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.instagram-icon img:hover {
  transform: scale(1.1);
}

.reserve-btn {
  background-color: #D4AF37;
  color: #1F2B3A;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-block;
  height: 35px;
  line-height: 20px;
  margin-top: 10px; /* Butonu biraz aşağıya taşır */
  transition: background-color 0.3s ease;
}

.reserve-btn:hover {
  background-color: #b6912d;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4); /* saydam koyu arka plan */
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal kutusu */
.modal-box {
  background: rgba(255, 255, 255, 0.9); /* beyaz ve hafif saydam */
  border-radius: 16px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  position: relative;
  color: #1F2B3A;
  backdrop-filter: blur(6px);
}

/* Başlık */
.modal-box h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Kapatma X */
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.4rem;
  color: #555;
  cursor: pointer;
}

/* Form */
.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reservation-form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}

.reservation-form input::placeholder {
  color: #aaa;
}
.reservation-form input::placeholder {
  color: #aaa;
}
/* Gönder butonu */
.reservation-form button {
  background-color: #007A9C;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.reservation-form button:hover {
  background-color: #005e75;
}

/* FOOTER */
footer {
  background-color: #1F2B3A;
  color: #F5F5F5;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

 .slogan {
  font-size: 1rem; /* Yazıyı küçülttük, istersen daha küçük yapabilirsin */
  color: #D4AF37;
  background-color: #1F2B3A;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
}
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("image/bg-villa-yat.png");
  background-size: cover;
  background-position: left center; /* Sol tarafa kaydırıldı */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  transition: background-image 1s ease-in-out; /* fallback */
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4); /* Koyu filtre */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  margin-top: 100px; /* Yazıları aşağıya kaydırır */
}

@media (min-width: 769px) {
  .hero-content {
    margin-top: 100px; /* Masaüstü */
  }
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: 50px; /* Mobilde biraz daha yukarı */
  }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-button {
  padding: 15px 30px;
  background-color: #D4AF37;
  color: #1F2B3A;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #b6912d;
}

/* Fade animasyonu için */
.hero-fade {
  animation: fadeBg 1s ease-in-out;
}

@keyframes fadeBg {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Mobil uyum */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-banner {
    height: 60vh;
    padding: 20px;
  }
}


