/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sand: #f5f0e8;
  --sand-dark: #ede6d6;
  --ocean: #3a6b7a;
  --ocean-light: #5b8fa0;
  --ocean-dark: #264d5a;
  --sage: #7a9e8e;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.3s;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--ocean-light);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-top: 2px solid var(--ocean-light);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-5px);
  transition: opacity 0.2s 1.5s, visibility 0s 1.5s, transform 0.2s 1.5s;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.15s, visibility 0s, transform 0.15s;
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.4rem;
  color: var(--text) !important;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sand-dark);
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--sand); color: var(--ocean) !important; }
.dropdown-menu a::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: background 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--text); }

/* === HERO === */
.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.05);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,45,55,0.45) 0%, rgba(20,45,55,0.2) 50%, rgba(20,45,55,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-light {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-ocean {
  color: var(--ocean);
  border-color: var(--ocean);
}

.btn-dark {
  color: var(--ocean-dark);
  border-color: var(--ocean-dark);
}

@media (hover: hover) {
  .btn-light:hover {
    background: var(--white);
    color: var(--ocean-dark);
    border-color: var(--white);
  }
  .btn-ocean:hover {
    background: var(--ocean);
    color: var(--white);
  }
  .btn-dark:hover {
    background: var(--ocean-dark);
    color: var(--white);
  }
}

/* === SECTIONS === */
section { padding: 6rem 3rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
  color: var(--ocean-dark);
}

.section-divider {
  width: 50px;
  height: 1px;
  background: var(--ocean-light);
  margin: 0 auto 2.5rem;
}
.section-divider.left { margin-left: 0; }

/* === HOME: INTRO === */
.intro {
  background: var(--sand);
  text-align: center;
}

.intro-text {
  max-width: 820px;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
  line-height: 1.8;
}

/* === HOME: SERVICES CARDS === */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.05); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,40,50,0.8) 0%, rgba(15,40,50,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.3s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(15,40,50,0.9) 0%, rgba(15,40,50,0.25) 60%);
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.service-card:hover .service-card-desc { max-height: 120px; }

.service-card-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
}
.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255,255,255,1);
}

/* === HOME: QUOTE === */
.quote-section {
  background: var(--ocean-dark);
  color: var(--white);
  text-align: center;
  padding: 5rem 3rem;
}

.quote-section blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-style: italic;
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.quote-section cite {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* === HOME: ABOUT TEASER === */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.about-teaser-img {
  position: relative;
  overflow: hidden;
}
.about-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser-content {
  background: var(--sand);
  display: flex;
  align-items: center;
  padding: 5rem;
}

.about-teaser-inner { max-width: 480px; }

/* === PAGE HERO (for inner pages) === */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,40,50,0.15) 0%, rgba(15,40,50,0.02) 100%);
}

.page-hero-content h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.page-hero-content .section-label {
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.page-hero-content .section-label { color: rgba(255,255,255,0.7); }
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

/* === CONTENT BLOCKS === */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

.content-block img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* === APPROACH / LIST === */
.approach-list {
  list-style: none;
  margin-top: 1.5rem;
}

.approach-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--sand-dark);
  font-size: 0.95rem;
}
.approach-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ocean-light);
}

/* === REASONS GRID === */
.reasons-section {
  background: var(--sand);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.reason-item {
  background: var(--white);
  padding: 1.8rem;
  border-top: 2px solid var(--ocean-light);
}

.reason-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === VOYAGES CARDS === */
.voyages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.voyage-card {
  position: relative;
  overflow: hidden;
}

.voyage-card-img {
  height: 280px;
  overflow: hidden;
}
.voyage-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.voyage-card:hover .voyage-card-img img { transform: scale(1.05); }

.voyage-card-body {
  background: var(--white);
  padding: 1.8rem;
  border-bottom: 2px solid var(--sand-dark);
}

.voyage-card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 0.5rem;
}

.voyage-card-body h3 {
  margin-bottom: 0.8rem;
  color: var(--ocean-dark);
}
.voyage-card-body p { font-size: 0.9rem; color: var(--text-light); }

/* === CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ocean-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1rem;
}

.contact-info-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-light);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

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

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  border: none;
  border-bottom: 1.5px solid var(--sand-dark);
  padding: 0.8rem 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ocean-light);
}

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* === À PROPOS === */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 100px;
}

.about-portrait img {
  width: 75%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.about-portrait-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}

.about-tools {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sand-dark);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tool-item {
  padding: 1rem 1.2rem;
  background: var(--sand);
  font-size: 0.88rem;
  color: var(--ocean-dark);
  border-left: 2px solid var(--ocean-light);
}

/* === FOOTER === */
footer {
  background: var(--ocean-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  font-size: 0.78rem;
  opacity: 0.4;
  margin-top: 1.5rem;
}

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ocean-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  text-align: center;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* === METHOD HOVER BUTTONS === */
.method-grid {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}

.method-btn {
  border-bottom: 1px solid var(--sand-dark);
  cursor: default;
  overflow: hidden;
}
.method-btn:first-child { border-top: 1px solid var(--sand-dark); }

.method-name {
  padding: 1rem 0 1rem 1.8rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ocean-dark);
  font-weight: 400;
  transition: color 0.2s;
  user-select: none;
}

.method-name::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ocean-light);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s;
}

.method-desc {
  max-height: 0;
  overflow: hidden;
  padding: 0 0 0 1.8rem;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.method-btn:hover .method-desc {
  max-height: 120px;
  padding: 0 0 1rem 1.8rem;
}
.method-btn:hover .method-name { color: var(--ocean); }
.method-btn:hover .method-name::before { transform: translateY(-50%) rotate(45deg); }

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.p-sand { background: var(--sand); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav { padding: 1rem 1.5rem; }

  section { padding: 4rem 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr !important; }
  .about-teaser-content { padding: 3rem 2rem; }
  .about-teaser-img { order: -1; padding: 0 !important; }
  .about-teaser-img img { width: 100% !important; height: auto !important; object-fit: unset !important; display: block; }
  .content-block { grid-template-columns: 1fr; gap: 2rem; }
  .content-block.reverse { direction: ltr; }
  .content-block img { height: 300px; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { position: static; }
  .about-portrait img { max-height: 400px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .voyages-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .page-hero { height: 35vh; min-height: 250px; }
}

@media (max-width: 600px) {
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
