* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2c3e50;
  background: #f5f7fa;
  line-height: 1.6;
}

body.admin-page {
  background: #f0f2f5;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 80px;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-overlay .logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-text {
  text-align: center;
}

.hero-overlay h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 2px;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.hero-overlay p {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  color: #6c757d;
}

.photo-slider-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 400px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #25a0aa 0%, #1a7a82 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide::before {
  content: "Fotoğraf Yükleniyor...";
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  z-index: 1;
  display: none;
}

.slide:has(img[src=""])::before,
.slide:not(:has(img[src]))::before {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 32px;
  color: #25a0aa;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: bold;
  line-height: 1;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

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

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

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #25a0aa;
  border-color: #25a0aa;
  transform: scale(1.2);
}

.section {
  padding: 80px 0;
}

.social-media-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-icon.facebook {
  background: #1877f2;
  color: #fff;
}

.social-icon.whatsapp {
  background: #25d366;
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #25a0aa;
  border-radius: 2px;
}

.reservation-section {
  background: #f8f9fa;
}

.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.packages-card h3,
.booking-card h3 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #25a0aa;
}

.references-section {
  background: #fff;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.reference-item {
  text-align: center;
  padding: 32px 16px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reference-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37, 160, 170, 0.2);
}

.reference-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.reference-item h3 {
  color: #25a0aa;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}

.reference-item p {
  color: #6c757d;
  font-size: 15px;
  margin: 0;
}

.gallery-section {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
}

.testimonials-section {
  background: #f8f9fa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #2c3e50;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
  font-style: italic;
}

.testimonial-author {
  color: #25a0aa;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  text-align: right;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.calendar-card {
  grid-column: 1 / -1;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #25a0aa 0%, #1a7a82 100%);
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card h2 {
  color: #2c3e50;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e9ecef;
  letter-spacing: -0.3px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  margin-bottom: 20px;
}

.calendar-header h2 {
  margin: 0;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-weekdays {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6c757d;
  text-align: center;
}

.calendar-weekdays span {
  padding: 8px 0;
}

.calendar-grid {
  margin-top: 10px;
  min-height: 240px;
}

.day {
  border-radius: 10px;
  padding: 10px 8px;
  background: #f8f9fa;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 70px;
  position: relative;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
  cursor: pointer;
}

.day:hover {
  border-color: #25a0aa;
  background: #f0f9fa;
  transform: scale(1.02);
}

.day.empty {
  background: #eaf7f0;
  color: #246b48;
}

.day.request {
  background: #fff4e6;
  color: #b8860b;
}

.day.busy {
  background: #fde2e7;
  color: #9b2c43;
}

.day.today {
  border-color: #b23b5a;
}

.day button {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.legend {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  background: #f7eef1;
  transition: all 0.2s ease;
}

.legend-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.legend-item.empty {
  background: #dff2e7;
  color: #246b48;
}

.legend-item.request {
  background: #ffe8cc;
  color: #b8860b;
}

.legend-item.busy {
  background: #fbdbe2;
  color: #9b2c43;
}

.legend-item.today {
  background: #f6e2e8;
  color: #8a3c50;
}

.packages {
  display: grid;
  gap: 12px;
}

.package {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s ease;
  background: #fff;
}

.package:hover {
  border-color: #25a0aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 160, 170, 0.15);
}

.package h3 {
  margin: 0 0 12px;
  color: #25a0aa;
  font-size: 20px;
  font-weight: 600;
}

.package p {
  margin: 0;
  color: #5b647a;
  font-size: 14px;
}

.price {
  font-weight: 700;
  margin-top: 16px;
  font-size: 24px;
  color: #25a0aa;
}

.booking-form {
  display: grid;
  gap: 12px;
}

.booking-form label {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  display: grid;
  gap: 8px;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s ease;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #25a0aa;
  box-shadow: 0 0 0 3px rgba(37, 160, 170, 0.1);
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: #25a0aa;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 16px;
  padding: 14px 28px;
}

.btn.primary:hover {
  background: #1a7a82;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 160, 170, 0.3);
}

.btn.ghost {
  background: #f8f9fa;
  color: #25a0aa;
  border: 1px solid #25a0aa;
  transition: all 0.3s ease;
}

.btn.ghost:hover {
  background: #25a0aa;
  color: #fff;
}

.btn.danger {
  background: #e53935;
  color: #fff;
}

.btn.whatsapp {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn.whatsapp:hover {
  background: #20ba5a;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: #2c3e50;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 16px;
}

.modal-text {
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: 15px;
}

.modal-actions {
  display: grid;
  gap: 12px;
}

.bookings {
  display: grid;
  gap: 12px;
}

.blocked-list {
  display: grid;
  gap: 12px;
}

.blocked-item {
  border: 1px solid #e6e9f5;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 8px;
  background: #fafbfc;
  transition: all 0.2s ease;
}

.blocked-item:hover {
  border-color: #25a0aa;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 160, 170, 0.1);
}

.booking {
  border: 1px solid #e6e9f5;
  border-radius: 12px;
  padding: 16px;
  display: grid;
  gap: 8px;
  background: #fafbfc;
  transition: all 0.2s ease;
}

.booking:hover {
  border-color: #25a0aa;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 160, 170, 0.1);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.booking-header strong {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
}

.booking small {
  color: #6b7280;
}

.form-message {
  margin: 12px 0 0;
  font-size: 14px;
  color: #25a0aa;
  font-weight: 500;
  padding: 10px 12px;
  background: #f0f9fa;
  border-radius: 8px;
  border-left: 3px solid #25a0aa;
}

.form-message.error {
  color: #dc3545;
  background: #fff5f5;
  border-left-color: #dc3545;
}

.form-message.success {
  color: #28a745;
  background: #f0fff4;
  border-left-color: #28a745;
}

.muted {
  color: #6c757d;
  margin: 0;
  font-size: 14px;
}

.footer {
  padding: 32px 0;
  background: #2c3e50;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 60px;
}

.admin-page .footer {
  margin-top: 40px;
  background: #1a1f2e;
}

.footer-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.footer-social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-icon.facebook:hover {
  background: #1877f2;
}

.footer-social-icon.whatsapp:hover {
  background: #25d366;
}

.footer-link {
  color: #25a0aa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #1a7a82;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Gallery Admin */
.gallery-admin-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.gallery-admin-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e6e9f5;
  border-radius: 12px;
  background: #fff;
}

.gallery-admin-preview {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

.gallery-admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-admin-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.gallery-admin-info div {
  word-break: break-all;
}

.gallery-admin-info strong {
  color: #25a0aa;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .gallery-admin-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .gallery-admin-preview {
    width: 100%;
    height: 200px;
  }
}

/* Admin Panel Header */
.admin-header {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #25a0aa 0%, #1a7a82 100%);
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 24px 0;
}

.admin-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 0 20px;
}

.admin-header .logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.admin-header-text {
  flex: 1;
}

.admin-header h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.admin-header p {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

#adminSections {
  display: none;
}

#adminSections.show {
  display: block;
}

@media (max-width: 768px) {
  .hero-image {
    height: 70px;
  }
  
  .hero-header-content {
    gap: 10px;
    padding: 0 15px;
  }
  
  .hero-overlay .logo {
    width: 40px;
    height: 40px;
  }
  
  .hero-overlay h1 {
    font-size: 20px;
  }
  
  .hero-overlay p {
    font-size: 11px;
  }
  
  .admin-header {
    padding: 20px 0;
  }
  
  .admin-header .logo {
    width: 48px;
    height: 48px;
  }
  
  .admin-header h1 {
    font-size: 22px;
  }
  
  .admin-header p {
    font-size: 12px;
  }
  
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
  }
  
  .card {
    padding: 24px;
  }
  
  .card h2 {
    font-size: 20px;
  }
  
  .admin-header {
    height: 70px;
  }
  
  .admin-header .logo {
    width: 40px;
    height: 40px;
  }
  
  .admin-header h1 {
    font-size: 18px;
  }
  
  .admin-header p {
    font-size: 11px;
  }
}
  
  .slider-wrapper {
    height: 300px;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .slider-btn.prev {
    left: 10px;
  }
  
  .slider-btn.next {
    right: 10px;
  }
  
  .reservation-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }
  .day {
    padding: 8px;
    min-height: 58px;
  }
}

