/* ============================================
   CAPSULES MOYRA - DESERT EXPERIENCE
   Custom Styles
   ============================================ */

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: #5C565E;
}

/* ============================================
   WELCOME SECTION — Clip-path text reveal
   ============================================ */
#welcomeSection {
    padding: 120px 0;
}

.welcome-text {
    font-size: clamp(28px, 5.5vw, 72px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 500;
}

/* Animated Text Lines - Line by Line Reveal */
.animated-text-lines {
    overflow: visible;
}

.text-line-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 1.6;
}

.text-line {
    display: block;
    margin: 0;
    transform: translateY(100%);
    will-change: transform;
}

.welcome-line {
    position: relative;
    display: block;
    margin-bottom: -0.02em;
}

.welcome-line-base {
    display: block;
    color: hsla(285, 5%, 71%, 0.06);
    white-space: nowrap;
}
 
h1,
h2,
h3,
h4,
h5,
h6 { 
    letter-spacing: .1px;
}
body .lead {
    font-size: 1.45rem;
    font-weight: 400;
}
.welcome-clip {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    color: #B8B2BA;
    white-space: nowrap;
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}

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

#heroSection {
    height: calc(100vh - 30px);
    width: calc(100% - 30px);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: auto;
    margin-top: 15px;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform, opacity;
    transform-origin: center center;
    animation: heroZoomIn 1.5s ease-out forwards;
    opacity: 0;
    transform: scale(1.1);
}

@keyframes heroZoomIn {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.hero-title {
    opacity: 0;
    transform: translateY(50px);
}

.hero-tagline {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
#gallerySection {
    height: 100vh;
    position: relative;
}

.gallery-inner {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    will-change: transform;
}

/* ── TICKER ─────────────────────────────────── */
.gallery-ticker-wrap {
    position: absolute;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.gallery-ticker-track {
    display: flex;
    will-change: transform;
}

.gallery-ticker-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: clamp(50px, 8vw, 130px);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #FAF1E3;
    gap: 40px;
    padding-right: 40px;
    flex-shrink: 0;
}

.ticker-sep {
    color: rgba(255,255,255,0.3);
}

/* ── CÁPSULA PRINCIPAL ───────────────────────── */
.gallery-capsule-wrap {
    width: 100%;
    height: 100%;
    padding: 10px;
    position: relative;
    z-index: 2;
    will-change: transform;
}

.gallery-capsule {
    width: 100%;
    height: 100%;
    border-radius: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    transform: scale(0.45);
    will-change: transform, border-radius;
    transform-origin: center center;
}

.gallery-capsule-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
    z-index: -1;
    will-change: transform;
}

.gallery-capsule-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: hard-light;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* ── CONTENIDO SOBRE LA IMAGEN ───────────────── */
.gallery-capsule-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 30px;
    z-index: 3;
}

.gallery-capsule-name {
    font-size: clamp(50px, 8vw, 100px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: #FAF1E3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.gallery-letter-wrap {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.gallery-letter {
    display: block;
    transform: translateX(100%);
    will-change: transform;
}

/* ── FOOTER DE LA CÁPSULA ────────────────────── */
.gallery-capsule-footer {
    position: absolute;
    left: 20px;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.gallery-details-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #b1a696;
    border: none;
    font-size: 24px;
    color: #2a2725;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    will-change: transform;
}

.gallery-capsule-desc {
    color: #FAF1E3;
    font-size: 16px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(10%);
    will-change: opacity, transform;
}

/* ── SCROLL HINT Y PROGRESS BAR ──────────────── */
.gallery-scroll-hint {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    mix-blend-mode: exclusion;
}

.gallery-progress-bar {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.gallery-progress-bg {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
}

.gallery-progress-fill {
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* ============================================
   CAPSULES PANEL SECTION (Events)
   ============================================ */
#capsulesPanel {
    padding: 100px 0;
}

.capsule-card {
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.capsule-card:hover {
    transform: scale(1.05);
}

/* Event Card Styles */
.event-card {
    background: #2a2725;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
    transform: scale(1.02) translateY(-5px);
}

.event-card:hover .event-img-wrapper img {
    transform: scale(1.1);
}

.event-img-wrapper {
    overflow: hidden;
    width: 100%;
    height: 250px;
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(184, 188, 178, 0.95);
    border-radius: 8px;
    padding: 10px 15px;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-width: 70px;
}

.event-month {
    font-size: 12px;
    font-weight: 600;
    color: #2a2725;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-day {
    font-size: 28px;
    font-weight: 700;
    color: #2a2725;
    line-height: 1;
}

.event-img-wrapper img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.event-content {
    background: #2a2725;
}

.event-time {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-time::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    content: "\f017";
    font-size: 14px;
}

.event-card h4 {
    font-size: 22px;
    font-weight: 600;
}

.event-card p {
    font-size: 14px;
    line-height: 1.6;
}

.btn-outline-light {
    border: 2px solid #B8BCB2;
    color: #B8BCB2;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #B8BCB2;
    color: #2a2725;
    border-color: #B8BCB2;
}

/* ============================================
   MAP SECTION
   ============================================ */
#mapSection {
    padding: 80px 0;
    background: #FAF1E3;
}

.map-pin {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
}

.map-thumbnail {
    opacity: 0;
    transform: scale(0.8);
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */
#activitiesSection {
    height: 100vh;
}

#activitiesSection .container {
    position: relative;
}

#activitiesSection .container:before {
    content: "";
    position: absolute;
    top: -5%;
    left: -20vw;
    width: 64vw;
    height: 120%;
    background: linear-gradient(90deg, #696D62 90%, transparent 95%);
    z-index: 9;
    pointer-events: none;
}

.carrousel-gallery {
    min-width: calc(33vw * 5);
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: 10px;
}

.carrousel-gallery li {
    width: 33vw;
}

.carrousel-gallery li img {
    min-height: 55vh;
    object-fit: cover;
    border-radius: 10px;
}

.vertical-align {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.activity-card {
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
#reviewsSection {
    padding: 80px 0;
    background: #f8f9fa;
}

.review-card {
    opacity: 0;
    transform: translateX(-50px);
}

/* ============================================
   CTA SECTION
   ============================================ */
#ctaSection {
    padding: 100px 0;
    background: #1a1a1a;
}

.cta-content {
    opacity: 0;
    transform: scale(0.9);
}

/* ============================================
   UTILITIES
   ============================================ */
.object-fit-cover {
    object-fit: cover;
}

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

/* ============================================
   SPACING UTILITIES - Margin & Padding
   ============================================ */

/* Margin Bottom (mb-) */
.mb-0 { margin-bottom: 0px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-70 { margin-bottom: 70px; }
.mb-80 { margin-bottom: 80px; }
.mb-90 { margin-bottom: 90px; }
.mb-100 { margin-bottom: 100px; }
.mb-110 { margin-bottom: 110px; }
.mb-120 { margin-bottom: 120px; }
.mb-130 { margin-bottom: 130px; }
.mb-140 { margin-bottom: 140px; }
.mb-150 { margin-bottom: 150px; }
.mb-160 { margin-bottom: 160px; }
.mb-170 { margin-bottom: 170px; }
.mb-180 { margin-bottom: 180px; }
.mb-190 { margin-bottom: 190px; }
.mb-200 { margin-bottom: 200px; }
.mb-210 { margin-bottom: 210px; }
.mb-220 { margin-bottom: 220px; }
.mb-230 { margin-bottom: 230px; }
.mb-240 { margin-bottom: 240px; }
.mb-250 { margin-bottom: 250px; }
.mb-260 { margin-bottom: 260px; }
.mb-270 { margin-bottom: 270px; }
.mb-280 { margin-bottom: 280px; }
.mb-290 { margin-bottom: 290px; }
.mb-300 { margin-bottom: 300px; }

/* Margin Top (mt-) */
.mt-0 { margin-top: 0px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mt-70 { margin-top: 70px; }
.mt-80 { margin-top: 80px; }
.mt-90 { margin-top: 90px; }
.mt-100 { margin-top: 100px; }
.mt-110 { margin-top: 110px; }
.mt-120 { margin-top: 120px; }
.mt-130 { margin-top: 130px; }
.mt-140 { margin-top: 140px; }
.mt-150 { margin-top: 150px; }
.mt-160 { margin-top: 160px; }
.mt-170 { margin-top: 170px; }
.mt-180 { margin-top: 180px; }
.mt-190 { margin-top: 190px; }
.mt-200 { margin-top: 200px; }
.mt-210 { margin-top: 210px; }
.mt-220 { margin-top: 220px; }
.mt-230 { margin-top: 230px; }
.mt-240 { margin-top: 240px; }
.mt-250 { margin-top: 250px; }
.mt-260 { margin-top: 260px; }
.mt-270 { margin-top: 270px; }
.mt-280 { margin-top: 280px; }
.mt-290 { margin-top: 290px; }
.mt-300 { margin-top: 300px; }

/* Padding Bottom (pb-) */
.pb-0 { padding-bottom: 0px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }
.pb-70 { padding-bottom: 70px; }
.pb-80 { padding-bottom: 80px; }
.pb-90 { padding-bottom: 90px; }
.pb-100 { padding-bottom: 100px; }
.pb-110 { padding-bottom: 110px; }
.pb-120 { padding-bottom: 120px; }
.pb-130 { padding-bottom: 130px; }
.pb-140 { padding-bottom: 140px; }
.pb-150 { padding-bottom: 150px; }
.pb-160 { padding-bottom: 160px; }
.pb-170 { padding-bottom: 170px; }
.pb-180 { padding-bottom: 180px; }
.pb-190 { padding-bottom: 190px; }
.pb-200 { padding-bottom: 200px; }
.pb-210 { padding-bottom: 210px; }
.pb-220 { padding-bottom: 220px; }
.pb-230 { padding-bottom: 230px; }
.pb-240 { padding-bottom: 240px; }
.pb-250 { padding-bottom: 250px; }
.pb-260 { padding-bottom: 260px; }
.pb-270 { padding-bottom: 270px; }
.pb-280 { padding-bottom: 280px; }
.pb-290 { padding-bottom: 290px; }
.pb-300 { padding-bottom: 300px; }

/* Padding Top (pt-) */
.pt-0 { padding-top: 0px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-70 { padding-top: 70px; }
.pt-80 { padding-top: 80px; }
.pt-90 { padding-top: 90px; }
.pt-100 { padding-top: 100px; }
.pt-110 { padding-top: 110px; }
.pt-120 { padding-top: 120px; }
.pt-130 { padding-top: 130px; }
.pt-140 { padding-top: 140px; }
.pt-150 { padding-top: 150px; }
.pt-160 { padding-top: 160px; }
.pt-170 { padding-top: 170px; }
.pt-180 { padding-top: 180px; }
.pt-190 { padding-top: 190px; }
.pt-200 { padding-top: 200px; }
.pt-210 { padding-top: 210px; }
.pt-220 { padding-top: 220px; }
.pt-230 { padding-top: 230px; }
.pt-240 { padding-top: 240px; }
.pt-250 { padding-top: 250px; }
.pt-260 { padding-top: 260px; }
.pt-270 { padding-top: 270px; }
.pt-280 { padding-top: 280px; }
.pt-290 { padding-top: 290px; }
.pt-300 { padding-top: 300px; }

/* Padding Y (py-) - Top and Bottom */
.py-0 { padding-top: 0px; padding-bottom: 0px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-30 { padding-top: 30px; padding-bottom: 30px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-50 { padding-top: 50px; padding-bottom: 50px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-70 { padding-top: 70px; padding-bottom: 70px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-90 { padding-top: 90px; padding-bottom: 90px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.py-110 { padding-top: 110px; padding-bottom: 110px; }
.py-120 { padding-top: 120px; padding-bottom: 120px; }
.py-130 { padding-top: 130px; padding-bottom: 130px; }
.py-140 { padding-top: 140px; padding-bottom: 140px; }
.py-150 { padding-top: 150px; padding-bottom: 150px; }
.py-160 { padding-top: 160px; padding-bottom: 160px; }
.py-170 { padding-top: 170px; padding-bottom: 170px; }
.py-180 { padding-top: 180px; padding-bottom: 180px; }
.py-190 { padding-top: 190px; padding-bottom: 190px; }
.py-200 { padding-top: 200px; padding-bottom: 200px; }
.py-210 { padding-top: 210px; padding-bottom: 210px; }
.py-220 { padding-top: 220px; padding-bottom: 220px; }
.py-230 { padding-top: 230px; padding-bottom: 230px; }
.py-240 { padding-top: 240px; padding-bottom: 240px; }
.py-250 { padding-top: 250px; padding-bottom: 250px; }
.py-260 { padding-top: 260px; padding-bottom: 260px; }
.py-270 { padding-top: 270px; padding-bottom: 270px; }
.py-280 { padding-top: 280px; padding-bottom: 280px; }
.py-290 { padding-top: 290px; padding-bottom: 290px; }
.py-300 { padding-top: 300px; padding-bottom: 300px; }
