html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #fff;
  color: #333;
}
/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* Pulse animasyonu */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

/* Mobil responsive */
@media only screen and (max-width: 768px) {
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    left: 15px;
    bottom: 15px;
  }
  
  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}
.topbar {
  background-color: #1e2a38;
  color: white;
  font-size: 0.9rem;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  flex-wrap: wrap;
}

.logo img {
  height: 160px;
  width: auto;
}

.logo {
  flex-shrink: 0;
  margin-left: 200px;  /* Bu satırı ekleyin - sağa kaydırır */
}

.navbar {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar .btn {
  background-color: #00a9c9;
  color: white;
  border-radius: 5px;
}

.navbar a:hover {
  color: #00a9c9;
}

.hero {
  background: url('../assets/hero.jpg') no-repeat center center/cover;
  min-height: 400px;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-text {
  z-index: 1;
  position: relative;
  padding: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.rooms .room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.room {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding-bottom: 15px;
}

.room img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.room h3 {
  margin: 15px 0 5px;
  padding: 0 15px;
}

.room p {
  padding: 0 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.contact .map {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.contact .map iframe {
  height: 400px;
  width: 100%;
}

footer {
  background-color: #1e2a38;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 700px;
  border-radius: 10px;
  max-height: 80vh;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 40px;
  right: 60px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.features-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.features-header {
  margin-bottom: 40px;
}

.features-subtitle {
  color: #00a9c9;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-decoration: underline;
  font-weight: bold;
}

.features-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.features-description {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.features-left,
.features-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
  text-align: left;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #00a9c9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 8px;
  font-weight: bold;
}

.feature-text p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.feature-underline {
  width: 40px;
  height: 3px;
  background-color: #00a9c9;
  margin-bottom: 10px;
}

.features-center {
  position: relative;
  margin: 20px 0;
}

.image-container {
  width: 280px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin: 0 auto;
}

.apartment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 40px;
}

.testimonials-subtitle {
  color: #00a9c9;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-decoration: underline;
  font-weight: bold;
}

.testimonials-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.testimonials-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card.active {
  transform: scale(1.02);
}

.quote-icon {
  font-size: 3rem;
  color: #e0f7ff;
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 3px;
}

.star {
  color: #00a9c9;
  font-size: 1.2rem;
}

.testimonial-nav {
  background: white;
  border: 2px solid #00a9c9;
  color: #00a9c9;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-nav:hover {
  background: #00a9c9;
  color: white;
}

.nav-buttons {
  display: flex;
  gap: 20px;
}

/* İkonlar için basit CSS */
.icon-wifi::before { content: "📶"; }
.icon-check::before { content: "✓"; }
.icon-tv::before { content: "📺"; }
.icon-sun::before { content: "☀️"; }
.icon-location::before { content: "📍"; }
.icon-star::before { content: "⭐"; }
.icon-play::before { content: "▶"; }

/* Mobil Responsive Düzenlemeler */
@media only screen and (max-width: 768px) {
  .topbar {
    font-size: 0.8rem;
    padding: 8px 15px;
    gap: 15px;
  }

  header {
    flex-direction: column;
    padding: 3px 5px;
    gap: 5px;
  }

  .logo img {
    height: 200px;
    margin-left: -10px;
  }
  .logo {
    margin-left: 15px;  /* Mobilde daha az boşluk */
  }

  .navbar {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .navbar a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 40px 15px;
  }

  .features-title, .testimonials-title {
    font-size: 1.8rem;
  }

  .features-content {
    gap: 30px;
  }

  .features-content {
    grid-template-columns: 1fr;
  }

  .image-container {
    width: 250px;
    height: 300px;
  }

  .room-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }

  .gallery-grid img {
    height: 150px;
  }

  .contact .map iframe {
    height: 300px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }

  .close {
    top: 20px;
    right: 20px;
    font-size: 32px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  .quote-icon {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 480px) {
  .topbar {
    flex-direction: column;
    gap: 10px;
  }

  .navbar {
    gap: 8px;
  }

  .navbar a {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .features-title, .testimonials-title {
    font-size: 1.5rem;
  }

  .feature-text h3 {
    font-size: 1.1rem;
  }

  .feature-text p {
    font-size: 0.9rem;
  }

  .image-container {
    width: 200px;
    height: 250px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop için büyük ekran düzenlemeleri */
@media only screen and (min-width: 1024px) {
  .features-content {
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
  }

  .features-left {
    align-items: flex-start;
    text-align: left;
  }

  .features-right {
    align-items: flex-end;
    text-align: right;
  }

  .features-right .feature-item {
    flex-direction: row-reverse;
  }

  .features-right .feature-underline {
    margin-left: auto;
  }

  .testimonials-wrapper {
    flex-direction: row;
    gap: 30px;
    max-width: none;
  }

  .testimonials-container {
    flex-direction: row;
    gap: 20px;
  }

  .testimonial-card {
    max-width: 350px;
    min-height: 300px;
    opacity: 0.7;
    transform: scale(0.95);
  }

  .testimonial-card.active {
    opacity: 1;
    transform: scale(1);
  }

  .nav-buttons {
    flex-direction: column;
    gap: 20px