/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #fff7f9;
  color: #333;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffb6c1;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8b0000;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(to right, #ffe6ea, #ffc0cb);
}

.hero h1 {
  font-size: 3rem;
  color: #8b0000;
}

.hero p {
  font-size: 1.2rem;
  margin: 1rem 0;
}

.btn {
  padding: 0.8rem 1.5rem;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.btn:hover {
  background: #a80000;
}

.content-section {
  padding: 4rem 2rem;
  text-align: center;
}

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}



form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto 0;
}

form input, form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form button {
  padding: 0.8rem;
  background: #ff69b4;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #e75480;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #ffb6c1;
  color: #fff;
  margin-top: 4rem;
}


/* Geliştirilmiş Slider Butonları */
.slider-btn {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #c2185b;
  font-size: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 2px solid rgba(194, 24, 91, 0.2);
}

.slider-btn:hover {
  background: #c2185b;
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(194, 24, 91, 0.4);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: rgba(194, 24, 91, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-btn:hover::before {
  opacity: 1;
}

.left-btn {
  left: 20px;
}

.right-btn {
  right: 20px;
}

/* Butonlara animasyon ekleme */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(194, 24, 91, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(194, 24, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 24, 91, 0); }
}

.slider-btn.pulse {
  animation: pulse 1.5s infinite;
}

/* Mobilde buton boyutunu küçültme */
@media (max-width: 768px) {
  .slider-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

.left-btn {
  left: 10px;
}

.right-btn {
  right: 10px;
}
.galeri-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  cursor: grab;
  padding: 10px 5px 20px;
  scrollbar-width: none;
}

.galeri-slider::-webkit-scrollbar {
  display: none;
}

.galeri-item {
  flex: 0 0 calc(25% - 20px);
  max-width: 240px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.25), 0 0 0 5px #fff inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeri-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/flowers.png');
  opacity: 0.07;
  pointer-events: none;
  z-index: 1;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 2;
  position: relative;
  filter: brightness(1.05) contrast(1.05);
}

.galeri-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.4), 0 0 10px rgba(255, 182, 193, 0.4);
}

.galeri-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
}


/* Responsive: mobilde 1-2-3 görünüm */
@media (max-width: 1024px) {
  .galeri-item {
    flex: 0 0 calc(33.33% - 20px); /* 3 lü */
  }
}
@media (max-width: 768px) {
  .galeri-item {
    flex: 0 0 calc(50% - 20px); /* 2 li */
  }
}
@media (max-width: 480px) {
  .galeri-item {
    flex: 0 0 90%; /* tekli */
  }
}




.status-box {
  background: #fef3f8;
  border-left: 4px solid #d6336c;
  padding: 12px 20px;
  margin: 20px auto;
  max-width: 500px;
  font-size: 16px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(214, 51, 108, 0.1);
  text-align: center;
}




  .randevu-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }
    .randevu-table th, .randevu-table td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: center;
    }
    .randevu-table th {
      background-color: #c2185b;
      color: white;
    }
    .status-onay {
      color: green;
      font-weight: bold;
    }
    .status-reddet {
      color: red;
      font-weight: bold;
    }
    .status-bekle {
      color: orange;
      font-weight: bold;
    }

    /* Hakkımızda kartları */
.about-cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-card {
  background: #ffe6ea;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(194, 24, 91, 0.2);
  padding: 2rem 2.5rem;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(194, 24, 91, 0.35);
}

.about-card .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #c2185b;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #8b0000;
  font-weight: 700;
}

.about-card p {
  font-size: 1rem;
  color: #5a2a3a;
  line-height: 1.4;
}

/* Hizmetlerimiz kartları */
.services-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background: #ffb6c1;
  border-radius: 15px;
  width: 180px;
  padding: 1.8rem 1rem;
  text-align: center;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.25);
  user-select: none;
}

.service-card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(194, 24, 91, 0.45);
  background: #c2185b;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 0.7rem;
}

/* Başlıklar */
#hakkimizda > h2,
#hizmetler > h2, 
#galeri > h2 {
  color: #8b0000;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
}


/* RESPONSIVE TASARIM */

@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }

  .about-cards, .services-cards {
    flex-direction: column;
    align-items: center;
  }

  .about-card, .service-card {
    width: 90%;
    max-width: 350px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  form {
    padding: 0 1rem;
  }

  .randevu-table {
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
  }

  .randevu-table table {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar .logo {
    font-size: 1.4rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .about-card h3 {
    font-size: 1.3rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }

  .service-card {
    font-size: 0.95rem;
  }

  #hakkimizda > h2,
  #hizmetler > h2, 
  #galeri > h2 {
    font-size: 2rem;
  }

  .gallery-track img {
    width: 130px;
  }
}







/* Hero bildirimi için gelişmiş stil */
.hero-notification {
  position: absolute;
  bottom: 30px;
  left: 50%;

  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffb6c1, #c2185b);
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(194, 24, 91, 0.4);
  animation: float 3s ease-in-out infinite;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 100;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-notification:hover {
  transform: translateX(-50%) translateY(-5px);
  box-shadow: 0 12px 30px rgba(194, 24, 91, 0.6);
  background: linear-gradient(135deg, #c2185b, #8b0000);
  gap: 15px;
}

.hero-notification:active {
  transform: translateX(-50%) scale(0.98);
}

.hero-notification i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-notification:hover i {
  transform: translateY(2px);
}

.hero-notification span {
  position: relative;
}

.hero-notification::after {
  content: '↓';
  margin-left: 8px;
  font-weight: bold;
  transition: transform 0.5s ease;
}

.hero-notification:hover::after {
  animation: bounceArrow 1s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 120px; /* Mobilde daha fazla alan */
  }
  
  .hero .btn-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .hero-notification {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    width: 85%;
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .hero-notification span {
    font-size: 0.9rem;
  }
}

/* Çok küçük ekranlar için ek ayar */
@media (max-width: 480px) {
  .hero {
    padding-bottom: 130px;
  }
  
  .hero-notification {
    width: 90%;
    padding: 10px 15px;
  }
}


/* 768px - 980px arası ekranlar için özel düzenleme */
@media (min-width: 768px) and (max-width: 980px) {
  .hero {
    padding-bottom: 140px; /* Bildirim için daha fazla alan */
  }
  
  .hero .btn-container {
    margin-bottom: 40px; /* Butonlar ile bildirim arasına boşluk */
  }
  
  .hero-notification {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 30px;
    width: 80%;
    text-align: center;
    justify-content: center;
  }
}
