/* ===== JOLLY GETAWAYS — Main Stylesheet ===== */

/* Google Fonts loaded in HTML: Playfair Display + Lato */

:root {
  --bg:          #F8F4EF;
  --bg-alt:      #EEF3EE;
  --green:       #3D6B4F;
  --green-mid:   #5A8B6A;
  --green-pale:  #D4E5D9;
  --gold:        #C4955A;
  --text:        #2A2A2A;
  --text-light:  #6A6A6A;
  --white:       #FFFFFF;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Lato', 'Helvetica Neue', Arial, sans-serif;
  --radius:      6px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --transition:  0.3s ease;
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITY ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b5844a; }

.section-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 48px;
}

/* ===== NAVIGATION ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
  background: rgba(248, 244, 239, 0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}
#navbar.scrolled .lang-btn { border-color: rgba(0,0,0,0.2); color: var(--text); }
.lang-btn.active, .lang-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span { background: var(--text); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); font-size: 1.1rem; }
  .lang-switcher { margin-top: 16px; }
  .lang-btn { border-color: rgba(0,0,0,0.2); color: var(--text); }
}

/* ===== HERO (homepage) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
}
.hero-logo { height: 54px; margin: 0 auto 28px; filter: brightness(0) invert(1); }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  margin: -8px auto 0;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== ABOUT STRIP ===== */
.about-strip {
  background: var(--green);
  color: var(--white);
  padding: 48px 0;
}
.about-strip-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.about-strip-text { flex: 1; min-width: 260px; }
.about-strip-text p { opacity: 0.88; font-size: 1.05rem; line-height: 1.8; }
.about-strip-stats {
  display: flex;
  gap: 40px;
  flex-shrink: 0;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; opacity: 0.75; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* ===== PROPERTIES ===== */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 16px;
}
.property-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.property-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.13); }
.property-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-card-img img { transform: scale(1.05); }
.property-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--white);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.property-card-body { padding: 28px; }
.property-card-body h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.property-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.property-meta span { display: flex; align-items: center; gap: 5px; }
.property-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.stars { color: var(--gold); font-size: 0.9rem; }
.rating-score { font-weight: 700; font-size: 0.95rem; }
.rating-count { font-size: 0.85rem; color: var(--text-light); }
.property-desc { font-size: 0.95rem; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.property-card-footer { display: flex; align-items: center; justify-content: space-between; }
.property-price { font-size: 0.85rem; color: var(--text-light); }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 16px;
}
.feature-item { text-align: center; padding: 32px 24px; }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.feature-item h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-item p { font-size: 0.92rem; color: var(--text-light); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 16px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--green-pale);
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial-text { font-size: 0.97rem; line-height: 1.75; color: var(--text); margin-bottom: 20px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-property { font-size: 0.82rem; color: var(--text-light); }
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-top: 2px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, #2a4f3a 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner .section-title { color: var(--white); }
.cta-banner .section-subtitle { color: rgba(255,255,255,0.82); max-width: 500px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: #1A2E22;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== PROPERTY PAGE HERO ===== */
.prop-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}
.prop-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.prop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.prop-hero-content { position: relative; z-index: 2; color: var(--white); }
.prop-breadcrumb { font-size: 0.82rem; opacity: 0.8; margin-bottom: 12px; letter-spacing: 0.05em; }
.prop-breadcrumb a { opacity: 0.7; }
.prop-breadcrumb a:hover { opacity: 1; }
.prop-hero-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; margin-bottom: 16px; }
.prop-hero-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.9rem; opacity: 0.9; align-items: center; }
.prop-hero-meta span { display: flex; align-items: center; gap: 6px; }

/* Gallery */
.gallery-section { padding: 48px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 8px;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item { overflow: hidden; cursor: pointer; position: relative; }
.gallery-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 180px); }
  .gallery-item:first-child { grid-column: 1 / -1; }
}

/* Property details layout */
.prop-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .prop-layout { grid-template-columns: 1fr; }
}

/* Amenities grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.amenity-item .icon { color: var(--green); font-size: 1.1rem; flex-shrink: 0; }

/* Booking widget */
.booking-widget {
  position: sticky;
  top: 100px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 32px;
}
.booking-widget h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.booking-widget .rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 0.9rem; }
.booking-platforms { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.platform-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}
.platform-btn.airbnb { background: #FF5A5F; color: var(--white); }
.platform-btn.airbnb:hover { background: #e04c51; }
.platform-btn.booking { background: #003580; color: var(--white); }
.platform-btn.booking:hover { background: #002a66; }
.platform-btn img { height: 18px; }
.booking-widget-note { font-size: 0.82rem; color: var(--text-light); text-align: center; }

/* Custom booking embed area */
.booking-embed { margin-top: 16px; }

/* House rules */
.rules-list { list-style: none; margin-top: 16px; }
.rules-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--green-pale);
  font-size: 0.93rem;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list .icon { color: var(--green); margin-top: 2px; }

/* Map placeholder */
.map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #D8D4CE;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.contact-info h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 16px; }
.contact-info p { font-size: 1rem; color: var(--text-light); margin-bottom: 32px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-detail .icon { font-size: 1.3rem; color: var(--green); margin-top: 2px; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 2px; text-transform: uppercase; }
.contact-detail span { font-size: 0.95rem; color: var(--text-light); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  text-align: center;
}
.page-hero .section-title { margin-bottom: 12px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: var(--white); font-size: 2rem; cursor: pointer; z-index: 1;
  line-height: 1; background: none; border: none;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: var(--white);
  font-size: 1.8rem; padding: 12px 16px; cursor: pointer; border-radius: var(--radius);
  transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .about-strip-stats { gap: 24px; }
  .stat-num { font-size: 2rem; }
  .hero-logo { height: 40px; }
}
