/* ============================================
   Las Brisas Villas - Stylesheet
   Rebuilt to match original WordPress design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --color-primary: #f1a94e;
  --color-primary-hover: #e09a3e;
  --color-villa-card: #906026;
  --color-footer-bg: #f2f5f1;
  --color-dark: #1e1e1e;
  --color-dark-alt: #30302e;
  --color-warm-bg: #faf9f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-gray-light: #e2e8f0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --max-width: 1200px;
  --header-height: 80px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--color-text-light);
  max-width: 680px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--warm {
  background-color: var(--color-warm-bg);
}

.subheading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline-orange {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn--outline-orange:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: var(--color-dark-alt);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 1.5px;
}

.logo span {
  color: var(--color-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav__dropdown-toggle::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}

.nav__dropdown-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-warm-bg);
}

.nav__cta {
  margin-left: 8px;
}

/* Contact Us button in nav - outlined orange */
.nav__cta.btn--outline-orange {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background-image: url('../images/general/hero.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0) 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 40px 24px 40px 0;
  margin-left: 5%;
}

.hero .subheading {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero__title {
  color: var(--color-dark);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  margin-bottom: 20px;
}

.hero__text {
  color: var(--color-text-light);
  font-size: 1.0625rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* --- Welcome Section --- */
.welcome {
  padding: 80px 0;
}

.welcome .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.welcome__images-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.welcome__images-left img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.welcome__images-left img:nth-child(1) { height: 200px; }
.welcome__images-left img:nth-child(2) { height: 180px; }
.welcome__images-left img:nth-child(3) { height: 180px; }

.welcome__image-center {
  width: 100%;
  max-width: 300px;
}

.welcome__image-center img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.welcome__text {
  padding: 20px 0;
}

.welcome__text .subheading {
  text-align: left;
}

.welcome__text h2 {
  margin-bottom: 20px;
}

.welcome__text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* --- Villa Cards --- */
.villas-section {
  padding: 80px 0;
  background: var(--color-white);
}

.villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.villa-card {
  background: var(--color-villa-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  color: var(--color-white);
}

.villa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.villa-card__image-wrapper {
  padding: 16px 16px 0;
}

img.villa-card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.villa-card__body {
  padding: 20px 24px 28px;
}

.villa-card__title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-white);
  text-decoration: underline;
}

.villa-card__specs {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.villa-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.villa-card__link:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.villa-card__link::after {
  content: '\2192';
}

/* --- Resort Amenities --- */
.amenities-section {
  padding: 80px 0;
  background: var(--color-white);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.amenity-item {
  text-align: center;
}

.amenity-item__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.amenity-item p {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
  max-width: none;
  line-height: 1.5;
}

/* --- Testimonials --- */
.testimonials {
  position: relative;
  background-image: url('../images/general/pool.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 100px 0;
  text-align: center;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials__stars {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.testimonials__quote {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.9;
  color: var(--color-dark);
  max-width: 750px;
  margin: 0 auto 24px;
}

.testimonials__author {
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1rem;
  max-width: none;
}

/* --- Explore the Area --- */
.explore-section {
  padding: 80px 0;
  background: var(--color-white);
}

.explore-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.explore__content {
  padding-right: 20px;
}

.explore__item {
  margin-bottom: 32px;
}

.explore__item-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.explore__item h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.explore__item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: none;
}

.explore__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- Footer --- */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-text);
  padding: 60px 0 0;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}

.footer__left {
  text-align: left;
}

.footer__right {
  display: flex;
  align-items: center;
}

.footer__icon {
  opacity: 0.7;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.footer__address {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  max-width: none;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 16px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.footer__bottom a {
  color: var(--color-primary);
  font-weight: 600;
}

.footer__bottom a:hover {
  color: var(--color-primary-hover);
}

/* --- Villa Detail Pages --- */
.villa-detail {
  padding: 60px 0;
  padding-top: calc(var(--header-height) + 40px);
}

.villa-detail__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.villa-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.villa-detail__main-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.villa-detail__zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background var(--transition);
}

.villa-detail__zoom-icon:hover {
  background: rgba(255, 255, 255, 1);
}

.villa-detail__zoom-icon svg {
  width: 18px;
  height: 18px;
}

.villa-detail__main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.villa-detail__thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.villa-detail__thumb {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  border: 2px solid transparent;
}

.villa-detail__thumb:hover,
.villa-detail__thumb.active {
  opacity: 1;
  border-color: var(--color-primary);
}

.villa-detail__info h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.villa-detail__description {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: var(--color-text-light);
  max-width: none;
}

.villa-detail__ac-note {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.villa-detail__included h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.villa-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.villa-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.villa-features li::before {
  content: '\2713';
  color: #555;
  font-size: 0.9rem;
  font-weight: 400;
  flex-shrink: 0;
}

/* --- Villa Calendar & Contact Section --- */
.villa-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-top: 60px;
  align-items: start;
}

.villa-calendar h2 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-dark);
  display: inline-block;
}

.villa-calendar iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: var(--radius-md);
}

.villa-contact-form {
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.villa-contact-form h2 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.villa-contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.villa-contact-form .form-group {
  margin-bottom: 18px;
}

.villa-contact-form input,
.villa-contact-form select,
.villa-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-dark);
  background-color: var(--color-white);
}

.villa-contact-form input:focus,
.villa-contact-form select:focus,
.villa-contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.villa-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.villa-contact-form .btn--dark {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
  margin-top: 4px;
}

/* --- Page Hero (for location / contact) --- */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
  padding: calc(var(--header-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
}

.page-hero--beach {
  background-image: url('../images/general/beach.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero--beach::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero--beach .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.page-hero .subheading {
  color: var(--color-primary);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}

/* --- Location Page --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
}

.location-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.location-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.location-card h3 {
  margin-bottom: 12px;
}

.location-card p {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.location-address {
  text-align: center;
  margin-bottom: 32px;
}

.location-address p {
  font-size: 1.0625rem;
  margin: 0 auto;
  color: var(--color-text-light);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-dark);
  transition: border-color var(--transition);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(241, 169, 78, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  padding: 40px;
  background: var(--color-warm-bg);
  border-radius: var(--radius-lg);
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info__item h4 {
  font-family: var(--font-body);
  margin-bottom: 4px;
}

.contact-info__item p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.contact-info__item a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-info__item a:hover {
  color: var(--color-primary-hover);
}

/* --- Amenities Grid (for location page reuse) --- */
.amenities-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.amenity-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.amenity-list-item:hover {
  box-shadow: var(--shadow-md);
}

.amenity-list-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.amenity-list-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}

.amenity-list-item p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* --- Contact Page (rebuilt) --- */
.contact-hero {
  position: relative;
  background-image: url('../images/general/pool.jpg');
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-height) + 80px) 0 80px;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
}

.contact-orange-strip {
  height: 6px;
  background: var(--color-primary);
}

.contact-details-section {
  padding: 60px 0 40px;
}

.contact-details-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.contact-detail-item {
  text-align: center;
}

.contact-detail-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-detail-item h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-detail-item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 280px;
  margin: 0 auto;
}

.contact-detail-item a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-detail-item a:hover {
  color: var(--color-primary-hover);
}

.contact-booking-section {
  padding: 20px 0 10px;
}

.contact-booking-section h2 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.contact-booking-subtext {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 auto;
}

.contact-form-section {
  padding: 20px 0 60px;
}

.villa-contact-form--centered {
  max-width: 600px;
  margin: 0 auto;
}

.contact-map-section {
  padding: 0 0 60px;
}

.contact-map-section .map-container {
  margin-bottom: 0;
}

/* --- Location Page (rebuilt) --- */
.location-hero-section {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: #f5f5f5;
}

.location-hero-section h1 {
  margin-bottom: 40px;
}

.location-hero-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.location-hero-image-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.location-hero-image-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.location-hero-image-label {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-feature-bar {
  background: var(--color-primary);
  padding: 48px 0;
}

.location-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.location-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-feature-item h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.location-feature-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  max-width: none;
}

.best-bits-section {
  padding: 80px 0;
}

.best-bits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.best-bits-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.best-bits-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.best-bits-content h2 {
  font-family: var(--font-heading);
  margin-bottom: 32px;
}

.best-bits-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.best-bits-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.best-bits-number {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.best-bits-item h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-dark);
}

.best-bits-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
  max-width: none;
}

.transport-section {
  padding: 60px 0;
  background: var(--color-warm-bg);
}

.transport-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 20px;
}

.transport-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 800px;
}

/* --- Bottom CTA --- */
.bottom-cta {
  background-image: url('../images/general/pool.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}

.bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.bottom-cta .container {
  position: relative;
  z-index: 1;
}

.bottom-cta .subheading {
  color: var(--color-primary);
}

.bottom-cta h2 {
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto 32px;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--color-white);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--color-white);
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* --- Mobile Responsive --- */

/* Calendar iframe responsive override (HTML has width="800") */
.villa-calendar iframe,
.map-container iframe {
  max-width: 100%;
}

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

  .villa-bottom {
    grid-template-columns: 1fr;
  }

  .welcome .container {
    grid-template-columns: 1fr 1fr;
  }

  .welcome__text {
    grid-column: 1 / -1;
    text-align: center;
  }

  .welcome__text .subheading {
    text-align: center;
  }

  .welcome__text p {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Let paragraphs fill their container on smaller screens */
  p {
    max-width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav__link {
    padding: 14px 16px;
    font-size: 1.0625rem;
  }

  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }

  .nav__dropdown.open .nav__dropdown-menu {
    display: block;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 12px;
  }

  /* Hero: reduce height, improve overlay for readability */
  .hero {
    min-height: 60vh;
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.75) 60%,
      rgba(255,255,255,0.3) 100%
    );
  }

  .hero__content {
    margin-left: 0;
    padding: 32px 20px;
    max-width: 100%;
  }

  .hero__text {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  /* Welcome: stack gracefully */
  .welcome {
    padding: 56px 0;
  }

  .welcome .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .welcome__images-left {
    flex-direction: row;
    gap: 8px;
  }

  .welcome__images-left img {
    height: 140px !important;
    flex: 1;
    min-width: 0;
  }

  .welcome__image-center {
    max-width: 100%;
  }

  .welcome__image-center img {
    height: 260px;
  }

  /* Villas: single column, centered */
  .villas-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Amenities: 2-col on tablet */
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .amenity-item__image {
    height: 180px;
  }

  /* Testimonials */
  .testimonials {
    padding: 60px 0;
  }

  .testimonials__quote {
    font-size: 1rem;
    line-height: 1.75;
    padding: 0 8px;
  }

  /* Explore the area */
  .explore-section {
    padding: 56px 0;
  }

  .explore-section .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .explore__content {
    padding-right: 0;
  }

  .explore__image {
    height: 280px;
    order: -1;
  }

  /* Contact page grid */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Villa detail: gallery */
  .villa-detail {
    padding-top: calc(var(--header-height) + 24px);
  }

  .villa-detail__main-image {
    height: 280px;
  }

  .villa-detail__thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .villa-detail__thumb {
    height: 60px;
  }

  .villa-detail__info h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  /* Villa bottom: calendar + form stack */
  .villa-bottom {
    gap: 32px;
    margin-top: 40px;
  }

  .villa-calendar iframe {
    height: 450px;
  }

  /* Location page */
  .location-hero-section {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }

  .location-hero-images {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-hero-image-item img {
    height: 200px;
  }

  .location-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location-feature-bar {
    padding: 36px 0;
  }

  .best-bits-section {
    padding: 56px 0;
  }

  .best-bits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .best-bits-images img {
    height: 180px;
  }

  /* Location grid: prevent overflow on small screens */
  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 300px;
  }

  .amenities-list-grid {
    grid-template-columns: 1fr;
  }

  /* Contact page: details */
  .contact-details-grid {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .contact-detail-item p {
    max-width: 100%;
  }

  /* Footer */
  .footer {
    padding: 40px 0 0;
  }

  .footer__main {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding-bottom: 32px;
  }

  .footer__left {
    text-align: center;
  }

  .footer__brand {
    font-size: 1.3rem;
  }

  .footer__address {
    font-size: 0.875rem;
  }
}

/* --- Small phones (320-480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* Reduce section padding further on small phones */
  .section {
    padding: 44px 0;
  }

  /* Tighten heading sizes */
  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Global p max-width fix: on mobile, let paragraphs fill the container */
  p {
    max-width: 100%;
  }

  /* Hero: compact for small screens */
  .hero {
    min-height: 55vh;
  }

  .hero__title {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }

  .hero__text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .hero .subheading {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
  }

  /* Welcome: hide left images on small phones, keep map full width */
  .welcome {
    padding: 44px 0;
  }

  .welcome__images-left {
    display: none;
  }

  .welcome__image-center {
    max-width: 100%;
  }

  .welcome__image-center img {
    height: auto;
    width: 100%;
  }

  /* Villas section */
  .villas-section {
    padding: 44px 0;
  }

  .villas-grid {
    gap: 24px;
    margin-top: 24px;
  }

  img.villa-card__image {
    height: 200px;
  }

  .villa-card__body {
    padding: 16px 20px 24px;
  }

  .villa-card__title {
    font-size: 1.3rem;
  }

  /* Amenities: single column on small phones */
  .amenities-section {
    padding: 44px 0;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }

  .amenity-item__image {
    height: 200px;
  }

  .amenity-item p {
    font-size: 0.9rem;
  }

  /* Testimonials: tighter on small phones */
  .testimonials {
    padding: 48px 0;
  }

  .testimonials__stars {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .testimonials__quote {
    font-size: 0.9375rem;
    line-height: 1.7;
    padding: 0;
  }

  .testimonials__author {
    font-size: 0.9rem;
  }

  /* Explore section */
  .explore-section {
    padding: 44px 0;
  }

  .explore__image {
    height: 220px;
  }

  .explore__item {
    margin-bottom: 24px;
  }

  .explore__item h3 {
    font-size: 1.1rem;
  }

  .explore__item p {
    font-size: 0.9rem;
  }

  /* Villa detail page */
  .villa-detail {
    padding: 44px 0;
    padding-top: calc(var(--header-height) + 20px);
  }

  .villa-detail__top {
    gap: 28px;
  }

  .villa-detail__main-image {
    height: 240px;
  }

  .villa-detail__thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .villa-detail__thumb {
    height: 52px;
  }

  .villa-detail__info h1 {
    font-size: 1.5rem;
  }

  .villa-detail__description {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .villa-detail__included h3 {
    font-size: 1rem;
  }

  .villa-features li {
    font-size: 0.875rem;
  }

  /* Villa calendar + form on mobile */
  .villa-bottom {
    gap: 24px;
    margin-top: 32px;
  }

  .villa-calendar h2 {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .villa-calendar iframe {
    height: 380px;
  }

  .villa-contact-form {
    padding: 24px;
  }

  .villa-contact-form h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .villa-contact-form .form-group {
    margin-bottom: 14px;
  }

  .villa-contact-form input,
  .villa-contact-form select,
  .villa-contact-form textarea {
    padding: 10px 14px;
    font-size: 0.875rem;
  }

  .villa-contact-form textarea {
    min-height: 100px;
  }

  /* Contact page */
  .contact-hero {
    padding: calc(var(--header-height) + 48px) 0 48px;
  }

  .contact-hero h1 {
    font-size: 1.75rem;
  }

  .contact-details-section {
    padding: 40px 0 24px;
  }

  .contact-details-grid {
    gap: 24px;
  }

  .contact-detail-icon {
    width: 48px;
    height: 48px;
  }

  .contact-detail-item h3 {
    font-size: 1rem;
  }

  .contact-detail-item p {
    font-size: 0.875rem;
  }

  .contact-booking-section {
    padding: 16px 0 8px;
  }

  .contact-booking-section h2 {
    font-size: 1.5rem;
  }

  .contact-booking-subtext {
    font-size: 0.9rem;
  }

  .contact-form-section {
    padding: 16px 0 40px;
  }

  .contact-map-section {
    padding: 0 0 40px;
  }

  .map-container iframe {
    height: 250px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-info {
    padding: 24px;
  }

  /* Location page */
  .location-hero-section {
    padding: calc(var(--header-height) + 32px) 0 32px;
  }

  .location-hero-section h1 {
    margin-bottom: 24px;
    font-size: 1.75rem;
  }

  .location-hero-image-item img {
    height: 180px;
  }

  .location-hero-image-label {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .location-feature-bar {
    padding: 28px 0;
  }

  .location-feature-item h3 {
    font-size: 0.9375rem;
  }

  .location-feature-item p {
    font-size: 0.8125rem;
  }

  .best-bits-section {
    padding: 44px 0;
  }

  .best-bits-grid {
    gap: 28px;
  }

  .best-bits-images img {
    height: 160px;
  }

  .best-bits-content h2 {
    margin-bottom: 24px;
    font-size: 1.5rem;
  }

  .best-bits-number {
    font-size: 1.5rem;
    min-width: 32px;
  }

  .best-bits-item h4 {
    font-size: 0.9375rem;
  }

  .best-bits-item p {
    font-size: 0.8125rem;
  }

  .transport-section {
    padding: 40px 0;
  }

  .transport-section h2 {
    font-size: 1.375rem;
  }

  .transport-section p {
    font-size: 0.9375rem;
  }

  /* Bottom CTA */
  .bottom-cta {
    padding: 56px 0;
  }

  .bottom-cta h2 {
    font-size: 1.5rem;
  }

  /* Location card padding on small screens */
  .location-card {
    padding: 24px;
  }

  /* Amenity list items */
  .amenities-list-grid {
    grid-template-columns: 1fr;
  }

  .amenity-list-item {
    padding: 16px;
  }

  /* Lightbox: larger close button tap target */
  .lightbox__close {
    top: 12px;
    right: 16px;
    font-size: 2rem;
    padding: 8px;
  }

  .lightbox__nav {
    font-size: 2rem;
    padding: 8px 12px;
  }

  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* --- Very small phones (320px) --- */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .logo {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__text {
    font-size: 0.85rem;
  }

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

  .villa-detail__thumb {
    height: 48px;
  }

  .villa-detail__main-image {
    height: 200px;
  }

  .villa-calendar iframe {
    height: 320px;
  }

  .location-hero-image-item img {
    height: 150px;
  }

  .amenity-item__image {
    height: 180px;
  }
}
