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

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

:root {
  --indian-red: #FF6B6B;
  --blush: #F691A9;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

html {
  scroll-behavior: smooth;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar.visible {
  transform: translateY(0);
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  padding: 0.75rem 2rem;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: #FFF5F5;
  color: var(--indian-red);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    padding: 0;
    gap: 2rem;
  }

  .nav-btn-download {
    position: absolute;
    right: 1rem;
  }

  .menu-burger {
    display: none;
  }
}

.menu-burger {
  cursor: pointer;
  padding: 0.5rem;
}

.menu-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

.nav-btn-download {
  background: var(--indian-red);
  color: white !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: fit-content;
  margin: 0 auto;
}

.nav-btn-download:hover {
  background: #FF5252 !important;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .nav-btn-download {
    padding: 0.5rem 1rem !important;
  }
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("./img/hero.jpg") no-repeat center center/cover;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ================================================
   SCROLL LINE (DESKTOP ONLY)
   ================================================ */

.scroll-line-wrapper {
  display: none;
}

@media (min-width: 1024px) {
  .scroll-line-wrapper {
    display: block;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 100%;
    width: 100px;
    pointer-events: none;
    z-index: 5;
  }

  .scroll-line {
    width: 100%;
    height: 100%;
    display: block;
  }
}

/* ================================================
   LAYOUT
   ================================================ */

section {
  position: relative;
  z-index: 10;
}

.section-colored {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFF 100%);
}

.section-with-deco > .content-wrap {
  position: relative;
  z-index: 2;
}

/* ================================================
   CARDS - LOCATIONS
   ================================================ */

.location-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.location-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
}

.location-card img {
  width: 100%;
  height: 385px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.location-card-content {
  padding: 1.5rem;
}

.location-badge {
  display: inline-block;
  background: var(--indian-red);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1rem;
}

.btn-itinerary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--indian-red);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.btn-itinerary:hover {
  background-color: color-mix(in srgb, var(--indian-red) 60%, black);
}

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

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-day {
  margin-bottom: 3rem;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.day-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.day-name {
  font-weight: 200;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.day-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--indian-red), var(--blush));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline-day-divider {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blush), transparent);
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

@media (max-width: 640px) {
  .timeline-item {
    gap: 0.75rem;
  }
}

.timeline-item-time {
  flex-shrink: 0;
  text-align: center;
  min-width: 70px;
}

.timeline-item-time-hour {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--indian-red);
  line-height: 1;
}

.timeline-item-time-period {
  display: block;
  font-size: 0.7rem;
  color: #999;
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-item-marker {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: white;
  border: 2px solid var(--indian-red);
  border-radius: 50%;
  position: relative;
}

.timeline-item-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  background: var(--indian-red);
  border-radius: 50%;
}

.timeline-item-content {
  flex: 1;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--indian-red);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-item-content {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.timeline-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--indian-red);
}

.timeline-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

@media (max-width: 640px) {
  .timeline-item-time {
    min-width: 60px;
  }

  .timeline-item-time-hour {
    font-size: 1.1rem;
  }

  .timeline-item-content {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
  }

  .timeline-item-title {
    font-size: 0.9rem;
  }
}

/* ================================================
   BUTTONS
   ================================================ */

.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.3s ease;
  z-index: 100;
}

.fab:hover {
  transform: scale(1.1);
}

/* ================================================
   FORM
   ================================================ */

.form-container {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #E5E7EB;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--indian-red);
}

.btn-submit {
  width: 100%;
  background: var(--indian-red);
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: color-mix(in srgb, var(--indian-red) 60%, black);
}

#addPersonBtn {
  background-color: var(--blush);
}

#addPersonBtn:hover {
  background-color: color-mix(in srgb, var(--blush) 60%, black);
}

/* ================================================
   TOAST NOTIFICATIONS
   ================================================ */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 90%;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  border-left: 4px solid #4CAF50;
}

.toast.error {
  border-left: 4px solid #F44336;
}

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

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple-out {
  0% {
    transform: scale(0.2);
    opacity: 0.55;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.fade-in-left {
  animation: fadeInFromLeft 0.8s ease-out forwards;
}

.fade-in-right {
  animation: fadeInFromRight 0.8s ease-out forwards;
}

.fade-in-bottom {
  animation: fadeInFromBottom 0.8s ease-out forwards;
}

.scroll-reveal {
  opacity: 0;
}

.scroll-reveal.fade-in-left > * {
  animation: fadeInFromLeft 0.8s ease-out forwards;
}

.scroll-reveal.fade-in-left > *:nth-child(2) {
  animation-delay: 0.1s;
}

.scroll-reveal.fade-in-left > *:nth-child(3) {
  animation-delay: 0.2s;
}

.scroll-reveal.fade-in-left > *:nth-child(4) {
  animation-delay: 0.3s;
}

.scroll-reveal.fade-in-left > *:nth-child(5) {
  animation-delay: 0.4s;
}

/* ================================================
   RIPPLE CIRCLES (DECORATIVE)
   ================================================ */

.photo-circles-wrap {
  position: relative;
  overflow: visible !important;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: var(--indian-red);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transform: scale(0.2);
}

.ripple-circle.blush {
  border-color: var(--blush);
}

.ripple-circle.playing {
  animation: ripple-out var(--dur, 2.2s) cubic-bezier(0.15, 0.5, 0.3, 1) var(--delay, 0s) forwards;
}

/* ================================================
   DECORATIVE IMAGES
   ================================================ */

.bg-deco-image {
  position: absolute;
  width: 340px;
  max-width: 35vw;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
  filter: grayscale(20%);
}

/* Adapts decoration image for mobile and tablet */
@media (max-width: 1024px) {
  .bg-deco-image {
    width: 200px;
    max-width: 50vw;
    left: auto !important;
    right: 10px !important;
    top: 20px !important;
  }
}

@media (max-width: 640px) {
  .bg-deco-image {
    display: none;
  }
}

.section-before-deroulement {
  position: relative;
}

.section-before-footer {
  position: relative;
}
