@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
  color: #64748b;
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: #ffffff;
  color: #64748b;
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Teko', sans-serif;
  color: #1b2535;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.thm-btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  background-color: #395479;
  color: #ffffff !important;
  font-family: 'Teko', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 8px;
  border: 2px solid #395479;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 37, 53, 0.05);
  cursor: pointer;
}

.thm-btn-blue:hover {
  background-color: #1b2535;
  border-color: #1b2535;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27, 37, 53, 0.08);
}

.begonvil-hero-wrap {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 620px;
  background-color: #1b2535;
  overflow: hidden;
}

.begonvil-hero-slider {
  width: 100%;
  height: 100%;
}

.begonvil-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 80px;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27, 37, 53, 0.75) 0%, rgba(27, 37, 53, 0.45) 50%, rgba(27, 37, 53, 0.85) 100%);
  z-index: 2;
}

.hero-content-box {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tagline,
.hero-title,
.hero-subtitle,
.hero-desc,
.hero-action {
  opacity: 0;
  transform: translateY(25px);
  transition: all 1s ease;
}

.swiper-slide-active .hero-tagline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.swiper-slide-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.swiper-slide-active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.swiper-slide-active .hero-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.swiper-slide-active .hero-action {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.hero-tagline {
  font-family: 'Teko', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a5c2f0;
  margin-bottom: 8px;
  display: block;
}

.hero-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-family: 'Manrope', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-pagination {
  bottom: 30px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #395479;
  width: 28px;
  border-radius: 6px;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake-anim {
  animation: shakeError 0.4s ease-in-out;
}

/* VILLA SEARCH STYLES */
.villa-search {
  position: relative;
  margin-top: -65px;
  z-index: 20;
}

.villa-search .container {
  max-width: 1320px;
}

.villa-search__form {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 120px;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .08);
  overflow: visible;
}

.villa-search__item {
  flex: 1;
  position: relative;
  padding: 28px 38px;
  transition: background .3s;
}

.villa-search__item:hover {
  background: #fafbfc;
}

.villa-search__item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25px;
  width: 1px;
  height: 70px;
  background: #edf1f5;
}

.villa-search__item:last-of-type::after {
  display: none;
}

.villa-search__item label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #8a8a8a;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
}

/* ÖZEL DROPDOWN STİLLERİ */
.villa-search__location {
  flex: 1.6;
  min-width: 340px;
  cursor: pointer;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  line-height: 32px;
  font-size: 17px;
  font-weight: 600;
  color: #1b2535;
  position: relative;
}

.custom-select-trigger span.placeholder {
  color: #1b2535;
}

.custom-select-trigger i {
  position: static !important;
  transform: none !important;
  font-size: 20px;
  color: #7f8792;
  transition: transform 0.3s ease;
}

.villa-search__location.open .custom-select-trigger i {
  transform: rotate(180deg) !important;
  color: #395479;
}

.custom-options {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(27, 37, 53, 0.12);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  padding: 8px;
}

.villa-search__location.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1b2535;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.custom-option:hover {
  background: #f1f5f9;
  color: #395479;
  padding-left: 20px;
}

.custom-option.selected {
  background: #395479;
  color: #ffffff;
}

.villa-search__item input,
.villa-search__item select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  height: 32px;
  line-height: 32px;
  font-size: 17px;
  font-weight: 600;
  color: #1b2535;
  appearance: none;
  cursor: pointer;
}

.villa-search__item input::placeholder {
  color: #1b2535;
}

.villa-search__item>i:not(.custom-select-trigger i) {
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-8px);
  font-size: 20px;
  color: #7f8792;
  pointer-events: none;
}

.villa-search__button {
  width: 120px;
  min-width: 120px;
  height: 120px;
  border: none;
  outline: none;
  background: #395479;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .35s, transform .35s;
  font-size: 24px;
}

.villa-search__button:hover {
  background: #2c4465;
}

.villa-search__button:hover i {
  transform: scale(1.15);
}

/* FLATPICKR TAKVİM ÖZELLEŞTİRME */
.flatpickr-calendar {
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(27, 37, 53, 0.15);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-family: inherit;
  padding: 12px;
  margin-top: 10px;
}

.flatpickr-months {
  padding: 5px 0 10px 0;
}

.flatpickr-month {
  height: 40px;
  color: #1b2535;
  fill: #1b2535;
}

.flatpickr-current-month {
  font-size: 15px;
  font-weight: 700;
  color: #1b2535;
}

span.flatpickr-weekday {
  color: #64748b;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.flatpickr-day {
  color: #1b2535;
  border-radius: 8px;
  font-weight: 500;
  height: 38px;
  line-height: 38px;
  margin: 2px 0;
  border: none;
}

.flatpickr-day:hover {
  background: #f1f5f9;
  color: #1b2535;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #94a3b8 !important;
  background: #f8fafc !important;
  text-decoration: line-through;
  opacity: 0.7;
  cursor: not-allowed;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #395479 !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(57, 84, 121, 0.3);
}

.flatpickr-day.today {
  border: 2px solid #395479;
}

.flatpickr-day.today:hover {
  background: #395479;
  color: #fff;
}

/* YENİLENEN PREMIUM MODAL STİLLERİ */
.pm-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(5px);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.4s ease;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.pm-overlay.active {
  display: flex !important;
  opacity: 1;
}

.pm-modal-card {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-overlay.active .pm-modal-card {
  transform: translateY(0) scale(1);
}

.pm-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-close-btn:hover {
  background: #f1f5f9;
  color: #1b2535;
}

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

.pm-badge-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 6px;
}

.pm-villa-name {
  font-size: 26px;
  font-weight: 800;
  color: #1b2535;
  margin: 0 0 10px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.pm-villa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #395479;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 16px;
  background: #f0f4f8;
  border-radius: 50px;
  transition: all 0.2s;
}

.pm-villa-link:hover {
  background: #395479;
  color: #fff;
}

.pm-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 22px 0;
}

.pm-dates-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.pm-date-info {
  display: flex;
  flex-direction: column;
}

.pm-date-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pm-date-val {
  font-size: 15px;
  font-weight: 700;
  color: #1b2535;
  margin-top: 4px;
}

.pm-mid-arrow {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #395479;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.pm-price-box {
  background: linear-gradient(135deg, #395479 0%, #243750 100%);
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(57, 84, 121, 0.25);
}

.pm-price-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.pm-price-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.pm-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.pm-grid-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.pm-grid-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.pm-grid-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-grid-val {
  display: block;
  font-size: 15px;
  color: #1b2535;
  font-weight: 700;
  margin-top: 4px;
}

.pm-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  gap: 10px;
}

.pm-whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.pm-footer-text {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 0;
}

@media(max-width:1200px) {
  .villa-search__form {
    flex-wrap: wrap;
  }

  .villa-search__item {
    width: 50%;
    flex: 0 0 50%;
  }

  .villa-search__button {
    width: 100%;
    height: 85px;
  }
}

@media(max-width:768px) {
  .villa-search {
    margin-top: 40px;
  }

  .villa-search__form {
    display: block;
  }

  .villa-search__item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #edf1f5;
    padding: 22px 25px;
  }

  .villa-search__item::after {
    display: none;
  }

  .villa-search__button {
    width: 100%;
    height: 75px;
  }
}

/* VİLLA CARD STYLES */
.luxury-villas-section {
  padding: 120px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.custom-villa-container {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 20px;
}

.luxury-villas-section .section-subtitle {
  color: #395479;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}

.luxury-villas-section .section-title {
  font-size: 42px;
  font-weight: 800;
  color: #1b2535;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.luxury-villas-section .section-desc {
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
}

.villa-grid-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.villa-col {
  width: calc(25% - 15px);
  flex-grow: 0;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .villa-col {
    width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .villa-col {
    width: 100%;
  }
}

.villa-card-gamma {
  display: block;
  position: relative;
  background: #1b2535;
  border-radius: 6px;
  overflow: hidden;
  height: 460px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.villa-card-gamma .card-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.villa-card-gamma .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.villa-card-gamma .card-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(27, 37, 53, 0.3) 0%, rgba(27, 37, 53, 0.85) 100%);
  z-index: 1;
}

.villa-card-gamma .hover-blue-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, rgba(30, 50, 97, 0.88) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.villa-card-gamma .card-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 40px 30px;
}

.villa-card-gamma .villa-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.villa-card-gamma .villa-subtitle {
  color: #cbd5e1;
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 500;
}

.villa-card-gamma .explore-btn-text {
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.villa-card-gamma:hover {
  box-shadow: 0 15px 35px rgba(57, 84, 121, 0.15);
}

.villa-card-gamma:hover img {
  transform: scale(1.08);
}

.villa-card-gamma:hover .hover-blue-overlay {
  height: 100%;
}

.villa-card-gamma:hover .explore-btn-text {
  opacity: 1;
  letter-spacing: 2.5px;
}