/* ============================================================
   MY SICILIAN LOVE AFFAIR — Style
   Design: Warm editorial, sun-drenched Mediterranean
   ============================================================ */

:root {
  --terracotta: #c2703e;
  --terracotta-light: #d4915f;
  --terracotta-dark: #a45a2d;
  --gold: #a37a3e;
  --gold-light: #c4a265;
  --cream: #faf6f0;
  --warm-white: #fffcf7;
  --sand: #f0e8dd;
  --charcoal: #1a1a1a;
  --text-body: #5a5048;
  --text-light: #8a7e74;
  --border-warm: #e8ddd0;
  --olive: #6b7c4e;
  --sea-blue: #3d6b7a;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.75;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--terracotta-dark); }

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

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

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 var(--border-warm);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  letter-spacing: 0.08em;
  transition: color 0.4s;
}

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

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

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

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

.nav-links a:hover::after { width: 100%; }

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s;
}

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

/* ============================================================
   HERO — SLIDER
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  transform: scale(1.06);
  animation: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
  animation: heroKenBurns 14s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* Dark overlay — always on top of slides */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 5, 0.42);
  z-index: 1;
}

/* Warm golden gradient at the bottom */
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(180, 90, 20, 0.38) 0%,
    rgba(200, 120, 40, 0.18) 40%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Film-grain noise texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 750px;
  padding: 0 2rem;
}

.hero-content .hero-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  color: white;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 400;
}

.hero-content .tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll .line {
  width: 40px;
  height: 1px;
  background: var(--terracotta-light);
}

/* ============================================================
   HERO — DOTS
   ============================================================ */

.hero-dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.35s, transform 0.35s;
  padding: 0;
}

.hero-dot.active {
  background: var(--terracotta-light);
  transform: scale(1.35);
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   HERO — SCROLL ARROW
   ============================================================ */

.hero-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 1;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.hero-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-arrow-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  animation: arrowBounce 2s ease-in-out infinite;
}

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

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 7rem 0;
}

.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.8;
}

.gold-line {
  width: 50px;
  height: 2px;
  background: var(--terracotta);
  margin: 2rem 0;
}

/* ============================================================
   TWO COLUMN
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.two-col-image {
  position: relative;
  overflow: hidden;
}

.two-col-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 0.6s ease;
  box-shadow:
    0 8px 30px rgba(180, 90, 30, 0.15),
    0 2px 8px rgba(180, 90, 30, 0.08);
}

.two-col-image:hover img {
  transform: scale(1.03);
}

/* Editorial blockquotes */
blockquote {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-style: italic;
  color: var(--terracotta);
  border-left: 2px solid var(--terracotta-light);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 2.5rem 0;
  line-height: 1.55;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: -0.1rem;
  font-size: 4rem;
  color: var(--terracotta-light);
  opacity: 0.35;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* ============================================================
   PILLARS — what MSLA offers
   ============================================================ */

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

.pillar-card {
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid var(--border-warm);
  border-top: 3px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(194, 112, 62, 0.1);
  border-top-color: var(--terracotta);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */

.experience-section {
  background: var(--warm-white);
}

.experience-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  margin-top: 4rem;
  align-items: start;
}

.experience-item {
  text-align: center;
  padding: 0 1rem;
}

.experience-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--terracotta-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
  transition: background 0.3s, border-color 0.3s;
}

.experience-item:hover .experience-icon {
  background: var(--terracotta);
  border-color: var(--terracotta-dark);
}

.experience-time {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.experience-title {
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.experience-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
}

.experience-connector {
  width: 2px;
  height: 64px;
  background: linear-gradient(to bottom, var(--terracotta-light), var(--sand));
  margin-top: 0;
  align-self: start;
  margin-top: 0;
  position: relative;
  top: 31px; /* center on the icon */
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */

.testimonial-section {
  padding: 6rem 0;
  background: var(--sand);
  text-align: center;
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
}

.testimonial-mark {
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.22;
  font-style: italic;
  display: block;
  margin-bottom: -2rem;
}

.testimonial-mark.open { text-align: left; }
.testimonial-mark.close { text-align: right; margin-top: -2rem; margin-bottom: 0; }

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.5;
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

/* override the blockquote::before decoration in testimonial context */
.testimonial-quote::before {
  display: none;
}

.testimonial-attribution {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ============================================================
   TOUR DETAILS
   ============================================================ */

.tour-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tour-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tour-highlight .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--terracotta-light);
  line-height: 1;
  flex-shrink: 0;
}

.tour-highlight h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.tour-highlight p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   GALLERY STRIP — 6 images
   ============================================================ */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
}

.gallery-strip-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-strip-item:hover img {
  transform: scale(1.08);
}

/* ============================================================
   CTA BANNER — Ken Burns on bg
   ============================================================ */

.cta-banner {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.1);
  animation: ctaKenBurns 20s ease-in-out infinite alternate;
}

@keyframes ctaKenBurns {
  from { transform: scale(1.0); background-position: center center; }
  to   { transform: scale(1.08); background-position: 60% 40%; }
}

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

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: white;
  margin-bottom: 1rem;
  font-style: italic;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-terracotta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--terracotta);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
}

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  color: white;
}

.btn-outline-white {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.6);
  color: white;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
  margin-left: 1rem;
}

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

/* ============================================================
   PRE-FOOTER QUOTE STRIP
   ============================================================ */

.quote-strip {
  background: var(--sand);
  padding: 5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.quote-strip-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.quote-strip-text em {
  color: var(--terracotta);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

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

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-social a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-social a:hover { color: var(--terracotta-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  /* On tablets collapse to vertical */
  .experience-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .experience-connector {
    display: none;
  }
}

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col-image img { height: 400px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .tour-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .site-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* Experience timeline stacks vertically on mobile */
  .experience-timeline {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .experience-connector {
    display: none;
  }
  .experience-item {
    grid-column: 1 !important;
    grid-row: unset !important;
  }

  .btn-outline-white {
    margin-left: 0;
    margin-top: 1rem;
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

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

  .testimonial-section { padding: 4rem 0; }
  .testimonial-mark { font-size: 5rem; }

  .quote-strip { padding: 3.5rem 1.5rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.visible { opacity: 1; }

.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 252, 247, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  gap: 1.5rem;
}

.nav-links.open a { color: var(--charcoal); font-size: 0.9rem; }
