/* ============================================================
   Roe Haven Travel — styles.css
   Luxury boutique travel agency stylesheet
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --color-white:     #FFFFFF;
  --color-cream:     #FAF7F2;
  --color-sand:      #E8DDD0;
  --color-gold:      #C9A96E;
  --color-gold-dark: #a8813f;
  --color-ocean:     #0D2B3E;
  --color-charcoal:  #2C2C2C;
  --color-text:      #3a3a3a;
  --color-text-muted: #777;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --transition-base: 0.3s ease;
  --shadow-card:     0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 8px 36px rgba(0, 0, 0, 0.13);
  --radius-card:     6px;

  --max-width: 1200px;
  --section-pad: 96px 24px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::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: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography Scale ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Utility ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Fade-in Animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children when parent becomes visible */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ── Gold CTA Button ────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 40px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.btn-gold:hover {
  background: var(--color-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.45);
}

.btn-gold:active {
  transform: translateY(-1px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: var(--color-white);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-base);
  letter-spacing: 0.01em;
}

.nav.scrolled .nav-logo {
  color: var(--color-charcoal);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--color-gold);
  width: 0;
  transition: width var(--transition-base);
  position: absolute;
  bottom: -3px;
  left: 0;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--color-gold); }

.nav.scrolled .nav-links a {
  color: var(--color-charcoal);
}

.nav.scrolled .nav-links a:hover {
  color: var(--color-gold);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}

.nav.scrolled .nav-toggle span {
  background: var(--color-charcoal);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-white);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  flex-direction: column;
  gap: 4px;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-sand);
  transition: color var(--transition-base);
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover { color: var(--color-gold); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1439130490301-25e322d88054?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 860px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 28px auto;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* ── Services Section ────────────────────────────────────────── */
.services {
  background: var(--color-white);
  padding: var(--section-pad);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), border-top-color var(--transition-base), transform var(--transition-base);
  border-top: 3px solid transparent;
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-top-color: var(--color-gold);
  transform: translateY(-4px);
}

.service-ornament {
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Destinations Section ────────────────────────────────────── */
.destinations {
  background: var(--color-cream);
  padding: var(--section-pad);
}

.destinations-header {
  text-align: center;
  margin-bottom: 60px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dest-card:hover img {
  transform: scale(1.07);
}

/* Bottom name overlay */
.dest-card-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
  transition: opacity var(--transition-base);
}

/* Gold hover overlay */
.dest-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(201, 169, 110, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.dest-card:hover .dest-card-hover {
  opacity: 1;
}

.dest-card:hover .dest-card-name {
  opacity: 0;
}

.dest-card-explore {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.dest-card:hover .dest-card-explore {
  opacity: 1;
  transform: translateY(0);
}

/* ── Why Work With Us ────────────────────────────────────────── */
.why {
  background: var(--color-cream);
  padding: var(--section-pad);
}

.why-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-pullquote {
  text-align: center;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--color-charcoal);
  max-width: 720px;
  margin: 0 auto 64px;
  line-height: 1.5;
  position: relative;
  padding: 0 32px;
}

.why-pullquote::before {
  content: '"';
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.35;
  position: absolute;
  top: -24px;
  left: 0;
  font-family: var(--font-heading);
  line-height: 1;
}

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

.why-col {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-col:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.why-col:nth-child(even) {
  background: var(--color-sand);
}

.why-icon {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.why-col h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-charcoal);
}

.why-col p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact {
  background: var(--color-ocean);
  padding: var(--section-pad);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-form-col h2 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.contact-form-col .section-label {
  color: var(--color-gold);
}

.contact-form-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

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

.form-group select option {
  background: var(--color-ocean);
  color: var(--color-white);
}

/* Inline validation errors */
.form-group .field-error {
  font-size: 0.78rem;
  color: #f4a0a0;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #f4a0a0;
}

.form-group.has-error .field-error {
  display: block;
}

.form-submit-btn {
  margin-top: 8px;
}

/* Contact direct column */
.contact-direct-col {
  padding-top: 60px;
}

.contact-direct-col h3 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-direct-col p {
  color: rgba(255,255,255,0.7);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-email-link {
  display: inline-block;
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(201,169,110,0.4);
  transition: color var(--transition-base), border-color var(--transition-base);
  margin-bottom: 32px;
}

.contact-email-link:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.contact-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-heading);
}

.contact-tagline::before {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--color-charcoal);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-heading);
  line-height: 1.5;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-col ul a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
  transition: color var(--transition-base);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

/* ── Privacy Page ────────────────────────────────────────────── */
.privacy-hero {
  background: var(--color-ocean);
  padding: 140px 24px 72px;
  text-align: center;
}

.privacy-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.privacy-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.privacy-body {
  background: var(--color-white);
  padding: 72px 24px 96px;
}

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-charcoal);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-sand);
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.97rem;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.8;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content ul li {
  font-size: 0.97rem;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.7;
}

.privacy-content a {
  color: var(--color-gold);
  border-bottom: 1px solid rgba(201,169,110,0.4);
  transition: color var(--transition-base);
}

.privacy-content a:hover {
  color: var(--color-gold-dark);
}

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet — 768px */
@media (max-width: 768px) {
  :root { --section-pad: 72px 20px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-columns {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-direct-col {
    padding-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > :first-child {
    grid-column: span 2;
  }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  :root { --section-pad: 56px 16px; }

  .hero {
    background-attachment: scroll; /* parallax fix on mobile */
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top > :first-child {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
