/* ====== Hero Section ====== */
.hero-section {
    background-image: url('../images/activity_hero.JPG');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(76, 28, 34, 0.466) 60%, rgb(234, 197, 122, 0.466) 100%);
    backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-icon {
    display: block;
    margin: 0 auto;
    animation: bounce 2s infinite;
    font-size: clamp(40px, 10vw, 60px);
    color: var(--golden-yellow);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ====== Intro Section ====== */
.intro-section {
    padding: 4rem 0;
    background: var(--section-bg);
    text-align: center;
}

.section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.8rem;
    color: var(--deep-plum);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(to right, var(--deep-plum), var(--forest-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--golden-yellow), var(--modern-green));
    border-radius: 2px;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--deep-plum);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ====== Sports Activities Section ====== */
/* ====== Premium Color Palette ====== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-blur: 12px;
    --glass-border: rgba(234, 197, 122, 0.18);
    --card-shadow: 0 10px 40px rgba(72, 31, 36, 0.10), 0 2px 8px rgba(62, 195, 129, 0.08);
    --card-shadow-hover: 0 18px 48px rgba(72, 31, 36, 0.16), 0 4px 16px rgba(62, 195, 129, 0.14);
    --icon-glow: 0 0 18px #eac57a88, 0 0 32px #3ec38155;
}

/* ====== Section Background ====== */
.premium-activities {
    background: linear-gradient(120deg, #f6f6f6 0%, #e8f0f5 100%);
    padding: 5rem 0 5rem 0;
    position: relative;
    overflow: hidden;
}

.premium-activities::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #eac57a33 0%, transparent 70%);
    z-index: 0;
}

.premium-activities::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle at 70% 70%, #3ec38122 0%, transparent 80%);
    z-index: 0;
}

/* ====== Section Title ====== */
.premium-activities .section-title {
    font-family: 'Merriweather', serif;
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 3.5rem;
    background: linear-gradient(90deg, var(--deep-plum) 60%, var(--forest-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.premium-activities .section-title::after {
    content: '';
    display: block;
    margin: 1.2rem auto 0 auto;
    width: 110px;
    height: 5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--modern-green));
    opacity: 0.7;
}

/* ====== Responsive Grid ====== */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.7rem;
    max-width: 1300px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

/* ====== Glassmorphic Card ====== */
.premium-card {
    background: var(--glass-bg);
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    border: 1.5px solid var(--glass-border);
    overflow: hidden;
    transition:
        transform 0.38s cubic-bezier(.4, 2, .6, 1),
        box-shadow 0.38s cubic-bezier(.4, 2, .6, 1),
        border-color 0.38s;
    position: relative;
    backdrop-filter: blur(var(--glass-blur));
    will-change: transform, box-shadow;
    cursor: pointer;
    animation: floatCard 1.2s cubic-bezier(.4, 2, .6, 1) both;
}

@keyframes floatCard {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.premium-card:hover {
    transform: translateY(-14px) scale(1.035) rotate(-0.5deg);
    box-shadow: var(--card-shadow-hover);
    border-color: #eac57a99;
    z-index: 3;
}

/* ====== Icon Styling ====== */
.sports-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 1.1rem 0;
    background: linear-gradient(90deg, #eac57a22 60%, #3ec38122 100%);
    border-radius: 0 0 44% 44% / 0 0 66% 66%;
    min-height: 110px;
    position: relative;
}

.sports-card-media i {
    font-size: 3.6rem;
    background: linear-gradient(135deg, #eac57a 40%, #3ec381 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px #eac57a33);
    text-shadow: 0 2px 8px #eac57a33;
    transition:
        color 0.3s,
        filter 0.3s,
        text-shadow 0.3s,
        transform 0.32s cubic-bezier(.4, 2, .6, 1);
    animation: iconGlow 2.5s infinite alternate;
}

@keyframes iconGlow {
    from {
        filter: drop-shadow(0 0 8px #eac57a55) drop-shadow(0 0 0px #3ec38100);
        text-shadow: 0 2px 8px #eac57a33;
        transform: scale(1);
    }

    to {
        filter: drop-shadow(0 0 22px #3ec38199) drop-shadow(0 0 12px #eac57a55);
        text-shadow: 0 4px 18px #3ec38133;
        transform: scale(1.08) rotate(-2deg);
    }
}

.premium-card:hover .sports-card-media i {
    filter: drop-shadow(0 0 24px #3ec381cc) drop-shadow(0 0 12px #eac57a99);
    text-shadow: 0 6px 20px #3ec38188;
    transform: scale(1.12) rotate(2deg);
}

/* ====== Card Content ====== */
.sports-card-content {
    padding: 2.1rem 1.7rem 2.1rem 1.7rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sports-card-content h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: var(--deep-plum);
    font-weight: 900;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--deep-plum) 60%, var(--forest-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s;
}

.premium-card:hover .sports-card-content h3 {
    background: linear-gradient(90deg, var(--forest-green), var(--golden-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sports-card-content p {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.13rem;
    color: #222;
    line-height: 1.7;
    opacity: 0.93;
    margin-bottom: 0;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

/* ====== Card Overlay Shine Effect ====== */
.premium-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -60px;
    width: 120%;
    height: 70px;
    background: linear-gradient(110deg, #fff8e199 10%, #eac57a33 50%, transparent 100%);
    opacity: 0.0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(.4, 2, .6, 1);
    border-radius: 40px;
    z-index: 5;
}

.premium-card:hover::before {
    opacity: 0.65;
    animation: shine 1.1s linear;
}

@keyframes shine {
    0% {
        left: -60px;
        opacity: 0.0;
    }

    40% {
        left: 40%;
        opacity: 0.7;
    }

    100% {
        left: 120%;
        opacity: 0;
    }
}

/* ====== Responsive Design ====== */
@media (max-width: 1024px) {
    .hero-section {
        height: 350px;
    }

    .sports-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .intro-section,
    .premium-activities {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .sports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 250px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .premium-activities .section-title {
        font-size: 1.4rem;
    }

    .sports-card-content h3 {
        font-size: 1.1rem;
    }

    .sports-card-content p {
        font-size: 0.97rem;
    }

    .sports-card-media {
        padding: 1.2rem 0 0.5rem 0;
        min-height: 70px;
    }

    .sports-card-media i {
        font-size: 2.2rem;
    }

    .premium-card {
        border-radius: 18px;
    }

    .sports-card-content {
        padding: 1.2rem 0.7rem 1.4rem 0.7rem;
    }
}

/* ====== Accessibility & Focus ====== */
.premium-card:focus-within,
.premium-card:focus-visible {
    outline: 3px solid var(--modern-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #3ec38144;
}

/* ====== Subtle Floating Animation for Cards ====== */
.premium-card {
    animation: floatCard 1.2s cubic-bezier(.4, 2, .6, 1) both;
}

.premium-card:nth-child(2n) {
    animation-delay: 0.13s;
}

.premium-card:nth-child(3n) {
    animation-delay: 0.26s;
}

.premium-card:nth-child(4n) {
    animation-delay: 0.39s;
}