/* ============================================================
   ATTRACTION PAGE (attraction.html) — PAGE-SPECIFIC STYLES
   Global styles are in styles.css
============================================================ */

/* ── HERO ─────────────────────────────────────────────── */
.attr-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.attr-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../ass/img/attraction/3.jpg');
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.05);
    transition: transform 12s ease;
}

.attr-hero:hover .attr-hero-bg {
    transform: scale(1.0);
}

.attr-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(6, 45, 31, 0.82) 0%,
            rgba(11, 74, 52, 0.58) 55%,
            rgba(6, 45, 31, 0.45) 100%);
}

.attr-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5%;
    max-width: 860px;
}

.attr-hero-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 18px;
    display: block;
}

.attr-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 22px;
}

.attr-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.85;
}

/* Floating distance badge */
.attr-hero-badge {
    position: absolute;
    bottom: 50px;
    right: 7%;
    z-index: 3;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    animation: badgeFloat 5s ease-in-out infinite;
}

.attr-hero-badge .badge-icon {
    font-size: 2rem;
}

.attr-hero-badge .badge-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold-accent);
    line-height: 1;
}

.attr-hero-badge .badge-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 3px;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ── INTRO SECTION ────────────────────────────────────── */
.attr-intro {
    background: #ffffff;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.attr-intro::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(11, 74, 52, 0.05);
    animation: orbFloat 20s ease-in-out infinite;
}

.attr-intro::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(11, 74, 52, 0.05);
    animation: orbFloat 28s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -30px) scale(1.04);
    }

    66% {
        transform: translate(-15px, 20px) scale(0.97);
    }
}

.attr-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.attr-intro-text .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--mist-green);
    margin-bottom: 14px;
    display: block;
}

.attr-intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary-forest);
    line-height: 1.25;
    margin-bottom: 28px;
}

.attr-intro-text p {
    font-size: 1.04rem;
    color: #3d5c4a;
    line-height: 1.9;
    margin-bottom: 18px;
}

.attr-intro-text p strong {
    color: var(--primary-forest);
    font-weight: 600;
}

/* Mosaic image block */
.attr-mosaic {
    position: relative;
    width: 100%;
    height: 520px;
}

.attr-mosaic img {
    position: absolute;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.attr-mosaic img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(11, 74, 52, 0.18);
    z-index: 2;
}

.mosaic-a {
    top: 0;
    left: 0;
    width: 62%;
    height: 58%;
    box-shadow: 0 20px 50px rgba(11, 74, 52, 0.12);
}

.mosaic-b {
    top: 0;
    right: 0;
    width: 34%;
    height: 44%;
    box-shadow: 0 15px 40px rgba(11, 74, 52, 0.1);
}

.mosaic-c {
    bottom: 0;
    left: 8%;
    width: 84%;
    height: 40%;
    box-shadow: 0 15px 40px rgba(11, 74, 52, 0.1);
}

.mosaic-badge {
    position: absolute;
    top: 52%;
    right: -24px;
    background: var(--primary-forest);
    color: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(6, 45, 31, 0.28);
    animation: badgeFloat 4.5s ease-in-out infinite;
    z-index: 3;
}

.mosaic-badge-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--gold-accent);
    line-height: 1;
}

.mosaic-badge-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* ── PLACES SECTION ───────────────────────────────────── */
.attr-places {
    background: #f7fdf9;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.attr-places::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(-45deg,
            transparent,
            transparent 40px,
            rgba(11, 74, 52, 0.022) 40px,
            rgba(11, 74, 52, 0.022) 41px);
    pointer-events: none;
}

.attr-places-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.attr-places-header .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--mist-green);
    margin-bottom: 12px;
    display: block;
}

.attr-places-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--primary-forest);
    margin-bottom: 16px;
}

.attr-places-header p {
    font-size: 1.05rem;
    color: #3d5c4a;
    line-height: 1.8;
}

/* Grid */
.attr-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

/* Featured card spans full width top */
.attr-card--featured {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
}

.attr-card--featured .attr-card-img {
    height: auto;
    min-height: 320px;
}

/* Card base */
.attr-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(11, 74, 52, 0.07);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.attr-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(11, 74, 52, 0.14);
}

.attr-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.attr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.attr-card:hover .attr-card-img img {
    transform: scale(1.08);
}

.attr-card-dist {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(6, 45, 31, 0.8);
    color: var(--gold-accent);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 30px;
    backdrop-filter: blur(6px);
    font-weight: 600;
}

.attr-card-body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.attr-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.attr-card-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--primary-forest);
    margin-bottom: 14px;
    line-height: 1.2;
}

.attr-card-body p {
    font-size: 0.97rem;
    color: #3d5c4a;
    line-height: 1.85;
    flex: 1;
}

.attr-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.attr-card-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-forest);
    background: var(--warm-wood);
    border-radius: 30px;
    padding: 5px 14px;
    letter-spacing: 0.5px;
}

/* ── PARALLAX BREAK ───────────────────────────────────── */
.attr-parallax {
    position: relative;
    height: 65vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attr-parallax-bg {
    position: absolute;
    inset: 0;
    background-image: url('../ass/img/attraction/4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.attr-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(6, 45, 31, 0.55) 0%,
            rgba(11, 74, 52, 0.32) 50%,
            rgba(6, 45, 31, 0.65) 100%);
}

.attr-parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 5%;
}

.attr-parallax-content .tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.attr-parallax-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 20px;
}

.attr-parallax-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 35px;
}

.attr-cta-btn {
    border-radius: 50px;
    padding: 14px 36px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ── CUSTOM CURSOR ────────────────────────────────────── */
.attr-cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-forest);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    top: var(--mouse-y);
    left: var(--mouse-x);
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
    opacity: 0.6;
}

.attr-cursor-ring.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--gold-accent);
    opacity: 1;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
    .attr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .attr-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .attr-card--featured .attr-card-img {
        height: 280px;
    }
}

@media (max-width: 900px) {
    .attr-intro-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .attr-mosaic {
        height: 380px;
    }

    .mosaic-badge {
        right: 10px;
    }
}

@media (max-width: 640px) {
    .attr-grid {
        grid-template-columns: 1fr;
    }

    .attr-card--featured {
        grid-template-columns: 1fr;
    }

    .attr-hero-badge {
        bottom: 20px;
        right: 5%;
        left: 5%;
        justify-content: center;
    }

    .attr-mosaic {
        height: 320px;
    }

    .mosaic-badge {
        right: 0;
        top: auto;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .attr-parallax-bg {
        background-attachment: scroll;
    }
}