@import url('styles.css');

/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
      linear-gradient(to bottom, rgba(30,40,32,0.15) 0%, rgba(30,40,32,0.55) 100%),
      url('../images/marcelline_appartements_a_louer_a_bessans_savoie_01.jpg') center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

.hero-content {
  position: relative;
  padding: 0 3rem 5rem;
  max-width: 700px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s 0.4s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.hero h1 em { font-style: italic; color: var(--cream); }

.hero-sub {
  font-size: 0.9rem;
  color: rgba(247,244,239,0.82);
  letter-spacing: 0.06em;
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: background 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--gold);
  color: var(--pine);
}

.btn-solid {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--spruce);
  border-color: var(--spruce);
  color: #fff;
}

/* ── SCROLL INDICATOR ── */
.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── SECTION WRAPPER ── */
section { padding: 7rem 3rem; }

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

.label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--pine);
  margin-bottom: 1.5rem;
}

h2 em { font-style: italic; }

.lead {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5748;
  max-width: 600px;
}

/* ── FEATURES GRID ── */
.features {
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.4rem 2rem;
  background: var(--snow);
  border-top: 2px solid var(--gold);
  opacity: 0;
  transform: translateY(20px);
  transition: box-shadow 0.25s;
}

.feature-card.visible {
  animation: fadeUp 0.6s forwards;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(45,58,46,0.08);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--pine);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.87rem;
  line-height: 1.75;
  color: #5a6856;
}

/* ── SPLIT SECTION ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 520px;
}

.split-img {
  background: url('../images/marcelline_appartements_a_louer_a_bessans_savoie_03.jpg') center/cover no-repeat;
  min-height: 400px;
}

.split-text {
  background: var(--pine);
  color: var(--snow);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text .label { color: var(--gold); }

.split-text h2 { color: var(--cream); }

.split-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(247,244,239,0.75);
  margin-bottom: 1rem;
}

.split-text .btn { margin-top: 1.5rem; }

/* ── FOOTER ── */
footer {
  background: var(--text);
  color: var(--fog);
  text-align: center;
  padding: 2.8rem 3rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--snow);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1.2rem 0;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
  transition: color 0.2s;
}

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

footer small {
  font-size: 0.7rem;
  opacity: 0.45;
  letter-spacing: 0.06em;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 0 1.5rem 4rem; }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
  .split-text { padding: 3.5rem 2rem; }
  .scroll-hint { right: 1.5rem; }
}

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