/* =============================================================
   airstays adventure — shared stylesheet
   adventure.airstays.co.uk
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --pink:       #e8365d;
  --pink-dark:  #c9204a;
  --teal:       #4dc8e8;
  --teal-dark:  #2aa8cc;
  --dark:       #1a1a2e;
  --mid:        #4a4a6a;
  --light:      #f7f8fc;
  --white:      #ffffff;
  --border:     #e2e6ef;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --font:       'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-w:      1200px;
  --nav-h:      72px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { color: var(--mid); font-size: 1rem; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 1.4rem; font-weight: 300; color: var(--dark);
  font-family: 'Nunito', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
}
.nav-logo svg { width: 40px; height: 40px; overflow: visible; }
.nav-logo span { letter-spacing: 0.01em; }
.nav-logo .adventure-tag {
  font-size: 0.58rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--pink); font-family: 'Inter', system-ui, sans-serif;
  display: block; margin-top: -4px;
}

.nav-links {
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--pink); }

.nav-cta {
  background: var(--pink); color: var(--white) !important;
  padding: 0.5rem 1.25rem; border-radius: 50px;
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.1s !important;
}
.nav-cta:hover { background: var(--pink-dark) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow); z-index: 999;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1rem; font-weight: 500; color: var(--mid); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,30,0.35) 0%, rgba(10,10,30,0.15) 50%, rgba(10,10,30,0.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 860px; padding: 2rem;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  background: rgba(77,200,232,0.15); border: 1px solid rgba(77,200,232,0.4);
  padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1.2rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,0.7); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative; height: 60vh; min-height: 400px;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h); overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,30,0.8) 0%, rgba(10,10,30,0.2) 60%);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 3rem 2rem;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  color: var(--white);
}
.page-hero-content .hero-eyebrow { margin-bottom: 0.8rem; }
.page-hero-content h1 { color: var(--white); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
}
.btn-primary {
  background: var(--pink); color: var(--white);
}
.btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,54,93,0.35); }

.btn-outline {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-teal {
  background: var(--teal); color: var(--dark);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--light); }
.container { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-lead { color: var(--mid); font-size: 1.1rem; max-width: 620px; margin-bottom: 3rem; }

/* ── Activity Layout ────────────────────────────────────────── */
.activities-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.activities-featured {
  position: sticky;
  top: 84px; /* below fixed nav */
}
.activities-featured .activity-card {
  aspect-ratio: unset;
  height: 520px;
}
.activities-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.activities-scroll .activity-card {
  aspect-ratio: 4/3;
}

/* ── Activity Card (shared) ─────────────────────────────────── */
.activity-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; display: block;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.activity-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.activity-card:hover .activity-card-bg { transform: scale(1.05); }
.activity-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,30,0.88) 0%, rgba(10,10,30,0.08) 60%);
}
.activity-card-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  padding: 1.5rem;
}
.activity-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.activity-card-icon svg { width: 22px; height: 22px; color: white; }
.activity-card-content h3 { color: var(--white); margin-bottom: 0.25rem; }
.activity-card-content p { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin: 0; }
.activity-card-arrow {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: white; transition: background 0.2s;
}
.activity-card:hover .activity-card-arrow { background: var(--pink); }

@media (max-width: 768px) {
  .activities-split { grid-template-columns: 1fr; }
  .activities-featured { position: static; }
  .activities-featured .activity-card { height: 340px; }
  .activities-scroll { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .activities-scroll { grid-template-columns: 1fr; }
}

/* ── Cycling Routes ─────────────────────────────────────────── */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.route-card {
  display: block; text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: var(--white);
}
.route-card:hover {
  border-color: var(--pink);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.route-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.route-difficulty {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem; border-radius: 99px; text-transform: uppercase;
}
.route-difficulty.road  { background: #e8f4fd; color: #1a6fa8; }
.route-difficulty.climb { background: #fdecea; color: #c0392b; }
.route-difficulty.easy  { background: #eafaf1; color: #1e8449; }
.route-difficulty.mtb   { background: #fef9e7; color: #b7770d; }
.route-distance {
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
}
.route-card h3 {
  font-size: 1rem; margin-bottom: 0.5rem; color: var(--dark);
}
.route-card p {
  font-size: 0.875rem; color: var(--mid); line-height: 1.6; margin-bottom: 1rem;
}
.route-stats {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--mid); border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.route-stats span strong { color: var(--dark); }
@media (max-width: 900px) {
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .routes-grid { grid-template-columns: 1fr; }
}

/* ── Four Seasons ───────────────────────────────────────────── */
.seasons-section {
  background: var(--pink);
  padding: 4rem 0;
}
.seasons-eyebrow {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.seasons-title {
  color: white;
  margin-bottom: 3rem;
}
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.season-item {}
.season-icon {
  width: 48px; height: 48px;
  margin-bottom: 1rem;
  color: white;
  opacity: 0.9;
}
.season-icon svg { width: 100%; height: 100%; }
.season-item h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.season-item p {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .seasons-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .seasons-grid { grid-template-columns: 1fr; }
}

/* ── Villa Highlights ───────────────────────────────────────── */
.villa-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.villa-split.reverse { direction: rtl; }
.villa-split.reverse > * { direction: ltr; }
.villa-images { position: relative; }
.villa-img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.villa-img-main img { width: 100%; height: 420px; object-fit: cover; }
.villa-img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 55%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.villa-img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.villa-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem;
}
.stat { text-align: center; padding: 1rem; background: var(--light); border-radius: var(--radius); }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--pink); }
.stat-label { font-size: 0.8rem; color: var(--mid); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .villa-split { grid-template-columns: 1fr; gap: 2rem; }
  .villa-split.reverse { direction: ltr; }
  .villa-img-secondary { bottom: -1rem; right: -1rem; }
}

/* ── Features / Why Casa23 ──────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem;
}
.feature-card {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--teal); box-shadow: 0 8px 32px rgba(77,200,232,0.12); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; color: white; }
.feature-card h3 { margin-bottom: 0.5rem; }

/* ── Testimonials / Reviews ─────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-text { font-style: italic; color: var(--mid); margin-bottom: 1rem; }
.reviewer { font-weight: 600; font-size: 0.875rem; }
.reviewer span { font-weight: 400; color: var(--mid); }

/* ── Booking / Enquiry Form ─────────────────────────────────── */
.booking-band {
  background: linear-gradient(135deg, var(--dark) 0%, #2d1b4e 100%);
  padding: 5rem 2rem; text-align: center; color: var(--white);
}
.booking-band h2 { color: var(--white); margin-bottom: 1rem; }
.booking-band p { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.enquiry-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow-lg); text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem; color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(77,200,232,0.15);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; padding: 0.9rem; margin-top: 0.5rem; border: none; cursor: pointer; }

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
}

/* ── Location / Map section ─────────────────────────────────── */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 400px; }
.location-map iframe { width: 100%; height: 100%; border: none; }
.location-items { display: flex; flex-direction: column; gap: 1.25rem; }
.location-item { display: flex; gap: 1rem; align-items: flex-start; }
.location-item-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--light); display: flex; align-items: center; justify-content: center;
}
.location-item-icon svg { width: 22px; height: 22px; color: var(--pink); }
.location-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.location-item p { font-size: 0.875rem; margin: 0; }

@media (max-width: 800px) { .location-grid { grid-template-columns: 1fr; } }

/* ── Activity detail page ───────────────────────────────────── */
.activity-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.activity-body h2 { margin: 2rem 0 1rem; }
.activity-body p { margin-bottom: 1rem; }
.activity-body ul { list-style: disc; padding-left: 1.5rem; color: var(--mid); }
.activity-body ul li { margin-bottom: 0.5rem; }

.activity-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; margin-bottom: 1.5rem;
}
.sidebar-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.sidebar-link-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.sidebar-link-list li:last-child { border-bottom: none; }
.sidebar-link-list a { color: var(--teal); font-weight: 500; font-size: 0.9rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-link-list a:hover { color: var(--teal-dark); }

.season-badge {
  display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-green  { background: #d1fae5; color: #065f46; }
.badge-orange { background: #fed7aa; color: #92400e; }
.badge-blue   { background: #dbeafe; color: #1e40af; }

@media (max-width: 900px) {
  .activity-content { grid-template-columns: 1fr; }
  .activity-sidebar { position: static; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  max-width: var(--max-w); margin: 0 auto; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: white; margin-bottom: 1rem; font-weight: 300; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom a { color: var(--teal); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-pink  { color: var(--pink); }
.text-teal  { color: var(--teal); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
