/* mdchotel.com sayfa gövdesindeki satır içi stiller — tema CSS'lerinden SONRA yüklenir (orijinal sıra) */

/* ---------- Hızlı Rezervasyon (ana sayfa) ---------- */
.booking-section {
    background: transparent;
    padding: 0;
    margin-top: -100px;
    position: relative;
    z-index: 100;
}

.booking-widget {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    padding: 30px 40px;
    margin: 0 auto;
    max-width: 1200px;
    transform: translateY(-40px);
}

.booking-header {
    text-align: center;
    margin-bottom: 25px;
}

.booking-header h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 700;
}

.booking-header h3 i {
    color: #c9a227;
    margin-right: 10px;
}

.booking-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.booking-form .booking-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.booking-field {
    flex: 1;
    min-width: 180px;
}

.booking-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-field label i {
    color: #c9a227;
    margin-right: 6px;
}

.booking-field input,
.booking-field select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-field input:focus,
.booking-field select:focus {
    border-color: #c9a227;
    outline: none;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.booking-field input::placeholder {
    color: #999;
}

.booking-submit {
    min-width: 250px;
}

.btn-book-now {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #c9a227 0%, #a68523 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-book-now:hover {
    background: linear-gradient(135deg, #a68523 0%, #8a6f1d 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

@media (max-width: 992px) {
    .booking-widget {
        padding: 25px;
        margin: 0 15px;
        transform: translateY(-30px);
    }

    .booking-field {
        min-width: calc(50% - 10px);
    }

    .booking-submit {
        min-width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .booking-section {
        margin-top: -60px;
    }

    .booking-widget {
        padding: 20px;
        transform: translateY(-25px);
    }

    .booking-header h3 {
        font-size: 22px;
    }

    .booking-field {
        min-width: 100%;
    }
}

/* ---------- WhatsApp / Arama butonları ---------- */
.d-none {
    display: none;
}

.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 14px;
}

.floating-button i {
    font-size: 18px;
    margin-right: 8px;
}

.floating-button:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-btn {
    background: #25D366;
}

.call-btn {
    background: #007bff;
}

@media (max-width: 768px) {
    .floating-buttons {
        left: 15px;
        bottom: 15px;
    }
    .floating-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ---------- Oda detay: galeri ve 360° ---------- */
.custom-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .custom-container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .custom-container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .custom-container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .custom-container {
        max-width: 100%;
        padding: 0 10px;
    }
}

.product-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-container.no-360 {
  grid-template-columns: 1fr;
}

.product-main {
  display: grid;
  grid-template-rows: auto auto;
  gap: 15px;
}

.product-main-image {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.product-main-image:hover {
  transform: scale(1.02);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.product-thumb {
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.product-thumb:hover {
  transform: scale(1.05);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-360 {
  height: 580px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.product-360::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: url('/images/360-1.png') no-repeat center;
  background-size: contain;
  opacity: 0.8;
  z-index: 1;
}

.product-360:hover::before {
  opacity: 1;
}

.product-360:hover::after {
  content: '360° Görünüm';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 40px);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
}

.photo-count {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.photo-count::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTkgMkw3LjE3IDRINGMtMS4xIDAtMiAuOS0yIDJ2MTJjMCAxLjEuOSAyIDIgMmgxNmMxLjEgMCAyLS45IDItMlY2YzAtMS4xLS45LTItMi0yaC0zLjE3TDE1IDJIOXptMyAxNWMtMi43NiAwLTUtMi4yNC01LTVzMi4yNC01IDUtNSA1IDIuMjQgNSA1LTIuMjQgNS01IDV6Ii8+PC9zdmc+') no-repeat center;
  background-size: contain;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
}

.modal-content {
  width: 90%;
  height: 90vh;
  position: relative;
}

.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10000;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.modal-thumb.active {
  opacity: 1;
  border: 2px solid #fff;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: background 0.3s ease;
}

.modal-arrow:hover {
  background: rgba(255,255,255,0.3);
}

.modal-arrow.prev {
  left: 20px;
}

.modal-arrow.next {
  right: 20px;
}

@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
  }

  .product-360 {
    height: 300px;
  }

  .product-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
}
