/* ========================================
   PRICKLY PEAR PLANTATION
   Bold Editorial · Charcoal + Coral
   ======================================== */

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

:root {
  --charcoal: #2C2C2C;
  --charcoal-deep: #1A1A1A;
  --charcoal-mid: #3D3D3D;
  --coral: #E07A5F;
  --coral-light: #F2A894;
  --coral-dark: #C4624A;
  --cream: #F5F0EB;
  --cream-light: #FAF7F4;
  --warm-white: #FFFDF9;
  --sand: #E8E0D8;
  --sand-dark: #C8BFB5;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-light: #8A8A8A;
  --text-on-dark: #F5F0EB;
  --text-on-dark-muted: #C8C0B8;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--charcoal);
  margin-bottom: 24px;
  line-height: 1.05;
}

.section-title em {
  font-style: italic;
  color: var(--coral);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  flex-shrink: 0;
}

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

.nav-links a:not(.nav-cta) {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
  letter-spacing: 0.01em;
}

.nav-links a:not(.nav-cta):hover {
  color: #fff;
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--coral-light) !important;
  border: 1px solid rgba(224, 122, 95, 0.4);
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.25s ease !important;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background: rgba(224, 122, 95, 0.15);
  border-color: var(--coral);
  color: var(--coral-light) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

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

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

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--charcoal-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  transition: color 0.25s ease;
}

.mobile-menu-link:hover {
  color: var(--coral);
}

.mobile-menu-cta {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--coral-light);
  border: 1px solid rgba(224, 122, 95, 0.4);
  padding: 14px 32px;
  border-radius: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.55) 50%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 800px;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral-light);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- Intro Strip ---------- */
.intro-strip {
  background: var(--charcoal);
  padding: 80px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.intro-item {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--coral);
}

.intro-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.7;
}

.intro-item h3 {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 500;
}

.intro-item p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

/* ---------- Rooms ---------- */
.rooms {
  padding: 120px 0;
  background: var(--warm-white);
}

.section-header {
  margin-bottom: 64px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.room-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s var(--ease-out);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.room-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.room-card:hover .room-img img {
  transform: scale(1.05);
}

.room-body {
  padding: 28px;
}

.room-body h3 {
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 10px;
  font-weight: 500;
}

.room-body > p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.room-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.room-features li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.room-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.rooms-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.rooms-note a {
  color: var(--coral);
  font-weight: 500;
  border-bottom: 1px solid rgba(224, 122, 95, 0.3);
  transition: border-color 0.2s ease;
}

.rooms-note a:hover {
  border-color: var(--coral);
}

/* ---------- Experience ---------- */
.experience {
  padding: 120px 0;
  background: var(--cream);
}

.experience-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience-text .section-title {
  margin-bottom: 28px;
}

.experience-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 480px;
}

.experience-text .btn {
  margin-top: 12px;
}

.experience-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.exp-img-large {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.exp-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-img-small {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-left: -40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.exp-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Location ---------- */
.location {
  padding: 120px 0;
  background: var(--warm-white);
}

.location .section-header {
  margin-bottom: 64px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.location-map {
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.location-info {
  background: var(--charcoal);
  border-radius: 12px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.location-info h3 {
  font-size: 1.75rem;
  color: #fff;
  font-weight: 500;
}

.location-info address {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--coral-light);
}

.location-hours {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.location-hours h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.location-hours p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.cta .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.72) 100%
  );
}

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

.cta-content {
  max-width: 600px;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Contact ---------- */
.contact {
  padding: 120px 0;
  background: var(--cream);
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: color 0.25s ease;
}

.contact-detail a {
  color: var(--text-primary);
  transition: color 0.25s ease;
}

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

.contact-detail svg {
  color: var(--coral);
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 8px;
  background: var(--cream-light);
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 8px;
  color: #2E7D32;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-top: 8px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-deep);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--coral-light);
}

.footer-contact p {
  font-size: 0.9375rem;
  color: var(--text-on-dark-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

/* ---------- Scroll Reveal (below-fold only) ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .intro-grid {
    gap: 36px;
  }
  
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-split {
    gap: 48px;
  }
  
  .experience-images {
    max-width: 480px;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
  }
  
  .location-info {
    padding: 36px;
  }
  
  .contact-split {
    gap: 48px;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .hero-content {
    padding: 100px 24px 80px;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .intro-item {
    padding-left: 0;
    border-left: none;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .intro-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  
  .experience-split {
    grid-template-columns: 1fr;
  }
  
  .experience-images {
    order: -1;
    max-width: 100%;
  }
  
  .exp-img-small {
    margin-left: 0;
  }
  
  .exp-img-large {
    aspect-ratio: 16/9;
  }
  
  .contact-split {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrap {
    padding: 32px 24px;
  }
  
  .cta-content h2 {
    font-size: 2.25rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .room-features {
    grid-template-columns: 1fr;
  }
}
