@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #FFFFFF;       /* Pure white background as in the image */
  --color-dark: #3C3B37;     /* Warm graphite charcoal for text */
  --color-primary: #B08C67;  /* Brand primary golden/bronze for buttons */
  --color-text-muted: #4A4A4A; /* Clean neutral grey for the paragraph text */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  background-color: var(--color-bg);
  font-family: var(--font-sans);
  color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Selection colors matching the editorial tone */
::selection {
  background-color: var(--color-dark);
  color: var(--color-bg);
}

/* Base Typography Classes */
.font-editorial-title {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

.font-editorial-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--color-text-muted);
}

/* Button Premium styling */
.btn-editorial {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 1.1rem 2.8rem;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-editorial:hover {
  background-color: #9C7A56;
  transform: translateY(-2px);
}

.btn-editorial:active {
  transform: translateY(0);
}

.btn-editorial-outline {
  background-color: transparent;
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 1.1rem 2.8rem;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-editorial-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-editorial-outline:active {
  transform: translateY(0);
}

/* Entry Animation: Sophisticated fade-in and slide-up */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-reveal {
  opacity: 0;
  animation: revealUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Delay Utilities */
.delay-1 {
  animation-delay: 200ms;
}

.delay-2 {
  animation-delay: 500ms;
}

.delay-3 {
  animation-delay: 750ms;
}

/* Scroll Indicator arrow bounce */
.animate-scroll-bounce {
  animation: arrowBounce 1.8s infinite ease-in-out;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
/* Second Fold Typography styling */
.second-fold-text {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #FFFFFF;
}


/* Section 3 Axis Cards styling */
.axis-card {
  border: 1px solid var(--color-primary);
  background-color: transparent;
  transform: translateY(0);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, background-color;
}

.axis-card:hover {
  background-color: #FAF7F2; /* Soft warm brand cream */
  border-color: #9C7A56;     /* Darker gold/bronze for hover state */
  transform: translateY(-4px);
}

/* Section 4 A Jornada Humana styling */
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background-color: rgba(176, 140, 103, 0.15); /* Soft gold vertical line */
  top: 0;
  z-index: 1;
}

@media (max-width: 1023px) {
  .timeline-line {
    display: none;
  }
}

.timeline-node {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #1C1B19;
  border: 2px solid var(--color-primary);
  z-index: 5;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) {
  .timeline-node {
    display: none;
  }
}

.timeline-item:hover .timeline-node {
  background-color: var(--color-primary);
  transform: translate(-50%, 6px) scale(1.3);
}



.journey-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(176, 140, 103, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, border-color, box-shadow;
}

.journey-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(176, 140, 103, 0.06);
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Section 4 Card Hover Image Reveal (opposite side) */
.timeline-hover-image {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  will-change: opacity, transform;
}

.timeline-item:hover .timeline-hover-image {
  opacity: 0.85; /* Slightly opaque to blend with dark layout */
  transform: scale(1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Section 6 (Por Que Milah) Cards Hover styling */
.pillar-col {
  transform: translateY(0);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, background-color, border-color, box-shadow;
}

.pillar-col:hover {
  background-color: #FAF7F2; /* Soft warm brand cream */
  border-color: #9C7A56;     /* Darker gold/bronze for hover state */
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(176, 140, 103, 0.04);
}

/* Floating Hover Image Preview container for Section 6 */
#hover-image-preview {
  position: fixed;
  pointer-events: none;
  z-index: 50;
  width: 320px;   /* Landscape width */
  height: 200px;  /* Landscape height */
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(176, 140, 103, 0.25); /* Subtle gold border */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); /* Premium deep shadow */
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, left, top;
}

#hover-image-preview.active {
  opacity: 1;
  transform: scale(1);
}






