:root {
    /* Colors based on requirements */
    --clr-primary: #E63946;
    /* Red */
    --clr-primary-dark: #C1121F;
    --clr-black: #1A1A1A;
    /* Pure black */
    --clr-black-light: #2B2B2B;
    --clr-white: #FFFFFF;
    --clr-bg-light: #F8F9FA;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-max: 1200px;
    --section-pad: 5rem 0;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-black);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-pad);
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 800;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-black);
}

.highlight {
    color: var(--clr-primary);
}

.dot {
    color: var(--clr-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
}

.btn-secondary:hover {
    background-color: var(--clr-white);
    color: var(--clr-black);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--clr-black);
}

.site-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-wrapper:hover .site-logo {
    transform: scale(1.05);
}

.brand-name {
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-black);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--clr-black);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right, var(--clr-black-light) 0%, var(--clr-black) 100%);
    z-index: 1;
}

/* Subtle animated background pattern */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--clr-primary) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: 1;
    animation: bgMove 30s linear infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Giant Wheelchair Art */
.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheelchair-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(230, 57, 70, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.giant-icon {
    font-size: 8rem;
    color: var(--clr-primary);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.speed-lines {
    position: absolute;
    top: 50%;
    left: -50px;
    width: 0;
    height: 100px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 10px,
        var(--clr-primary) 10px,
        var(--clr-primary) 15px
    );
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.wheelchair-wrapper:hover {
    box-shadow: 0 0 100px rgba(230, 57, 70, 0.4);
    transform: translateX(40px);
}

.wheelchair-wrapper:hover .giant-icon {
    transform: rotate(15deg) scale(1.1);
    color: var(--clr-white);
    text-shadow: -10px 10px 0px var(--clr-primary-dark);
}

.wheelchair-wrapper:hover .speed-lines {
    width: 200px;
    left: -200px;
    opacity: 0.8;
    animation: speedDash 0.5s linear infinite;
}

@keyframes speedDash {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -50px 0;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--clr-black-light);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--clr-primary);
    transition: var(--transition);
}

.stat-box.black-box {
    background: var(--clr-black);
    color: var(--clr-white);
    border-left-color: var(--clr-white);
}

.stat-box:hover {
    transform: translateX(10px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.black-box .stat-icon {
    color: var(--clr-white);
}

.stat-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* About Horizontal Layout & Photos */
.about-stats-horizontal {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.about-stats-horizontal .stat-box {
    flex: 1;
    border-left: none;
    border-top: 5px solid var(--clr-primary);
}

.about-stats-horizontal .stat-box.black-box {
    border-top-color: var(--clr-white);
}

.about-stats-horizontal .stat-box:hover {
    transform: translateY(-8px);
}

.about-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.about-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    transition: var(--transition);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.image-overlay-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--clr-white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 260px;
    z-index: 5;
    border-left: 5px solid var(--clr-primary);
    transition: var(--transition);
}

.about-image-wrapper:hover .image-overlay-card {
    transform: translateY(-5px);
}

.image-overlay-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0.25rem 0;
    color: var(--clr-black);
}

.image-overlay-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.overlay-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--clr-primary);
    letter-spacing: 0.5px;
}

/* Activities Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-group-wrapper {
    grid-column: 1 / -1;
    border: 3px solid var(--clr-black);
    border-radius: 28px;
    padding: 2.25rem 2rem;
    background: var(--clr-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
    position: relative;
}

.category-group-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-black);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 3px solid var(--clr-primary);
}

.category-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: var(--clr-white);
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--clr-primary);
    z-index: -1;
    transform: translateY(100%);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-10px);
    color: var(--clr-white);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.2);
}

.activity-card:hover::before {
    transform: translateY(0);
}

.card-icon {
    font-size: 2.25rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.activity-card:hover .card-icon {
    color: var(--clr-white);
    transform: scale(1.1);
}

/* Social Section */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--clr-white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-card i {
    font-size: 3rem;
    margin-right: 1.5rem;
    z-index: 2;
}

.social-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    z-index: 2;
}

.social-info .handle {
    font-size: 1.25rem;
    font-weight: 800;
}

.social-info .followers {
    font-size: 0.9rem;
    opacity: 0.9;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.facebook {
    background: #1877F2;
}

.social-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-card:hover::after {
    opacity: 1;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--clr-bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: var(--clr-white);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--clr-black);
    color: var(--clr-white);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #888;
}

.footer-slogan {
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    color: var(--clr-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes bgMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 40px 40px;
    }
}

/* Scroll Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-art {
        margin-top: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-column {
        margin-top: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* ── Navbar ── */
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--clr-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.4rem;
    }

    /* ── Hero ── */
    .hero-section {
        min-height: 100svh; /* safe viewport height on iOS */
    }

    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.2;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* hide decorative wheelchair art on mobile to save space */
    .hero-art {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    /* ── Section titles ── */
    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    /* ── About ── */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text .lead {
        font-size: 1.1rem;
    }

    .about-stats-horizontal {
        flex-direction: column;
        gap: 1rem;
    }

    .about-stats-horizontal .stat-box {
        border-top: none;
        border-left: 5px solid var(--clr-primary);
    }

    .about-stats-horizontal .stat-box.black-box {
        border-left-color: var(--clr-white);
    }

    .image-overlay-card {
        left: 10px;
        bottom: -15px;
        right: 10px;
        max-width: none;
    }

    /* ── Activities grid — single column on small phones ── */
    .activities-grid,
    .category-group-grid {
        grid-template-columns: 1fr;
    }

    /* ── Social cards ── */
    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        padding: 1.5rem;
    }

    /* ── Contact form ── */
    .contact-container {
        padding: 2rem 1.25rem;
    }

    /* ── Footer ── */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        text-align: center;
    }

    /* ── Carousel hero slides on mobile ── */
    .carousel-control {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--clr-bg-light);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--clr-primary);
    border: 4px solid var(--clr-white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Form */
.contact-section {
    background: var(--clr-white);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--clr-bg-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-control:hover {
    background: var(--clr-primary);
}

.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--clr-primary);
    transform: scale(1.2);
}

/* Carousel height fix — ensures it fills the hero even without news slides */
.carousel,
.carousel-inner,
.carousel-item {
    min-height: 100vh;
}

/* Mobile: team grid stacks to 2 columns */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .team-member h3 {
        font-size: 1rem;
    }
}

/* Admin toast notification */
.admin-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #155724;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.admin-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Scala di Valutazione */
.rating-section {
    margin-top: 3rem;
    background: var(--clr-bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.rating-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.rating-item {
    background: var(--clr-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.rating-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    border-color: var(--clr-primary);
}

.rating-label {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--clr-black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    font-size: 1.4rem;
    display: flex;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.rating-star-filled {
    color: #FFB01F; /* Premium Warm Gold */
    text-shadow: 0 0 10px rgba(255, 176, 31, 0.2);
}

.rating-star-empty {
    color: #E2E8F0; /* Clean grey outline */
}

/* ── Cinema Mode Sports / Video Overlay (Layout Stable Floating Sidebar) ── */
.activities-layout-wrapper {
    position: relative;
    width: 100%;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#verticalVideoPanel {
    position: fixed;
    right: -450px; /* Fully offscreen initially */
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    height: 80vh;
    max-height: 700px;
    z-index: 2500;
    overflow: hidden;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.99));
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: -15px 25px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
}

/* When Cinema Mode is Active */
.cinema-active #verticalVideoPanel {
    right: 4rem; /* Slide into screen margin */
    opacity: 1;
    pointer-events: auto;
}

.cinema-active .activity-card {
    opacity: 0.15 !important;
    transform: scale(0.95) !important;
    pointer-events: none !important;
}

.cinema-active .activity-card.active-cinema {
    opacity: 1 !important;
    transform: scale(1.05) !important;
    pointer-events: auto !important;
    border: 2px solid var(--clr-primary) !important;
    box-shadow: 0 20px 45px rgba(230, 57, 70, 0.3) !important;
    z-index: 10;
}

/* Mobile responsive cinema mode */
@media (max-width: 992px) {
    #verticalVideoPanel {
        right: 0;
        left: 0;
        top: auto;
        bottom: -100%;
        transform: translateY(0);
        width: 100%;
        height: 75vh;
        border-radius: 32px 32px 0 0;
        box-shadow: 0 -15px 40px rgba(0,0,0,0.3);
    }
    
    .cinema-active #verticalVideoPanel {
        right: 0;
        bottom: 0;
        opacity: 1;
        pointer-events: auto;
    }
}

/* ── PREMIUM ACTIVITY DETAIL CAROUSEL SLIDER ── */
.activity-carousel {
    position: relative;
    width: 100%;
    max-height: 450px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .activity-carousel {
        height: 280px;
    }
}

.activity-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.98);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Glassmorphic Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.activity-carousel:hover .carousel-nav-btn {
    opacity: 1;
    visibility: visible;
}

.carousel-nav-btn:hover {
    background: var(--clr-white);
    color: var(--clr-black);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev {
    left: 20px;
}

.carousel-nav-btn.next {
    right: 20px;
}

/* Dots Indicators */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
    background: var(--clr-white);
    width: 24px;
    border-radius: 10px;
}