/* ========================================
   Beach Volley Pages
   ======================================== */

/* Hero Image (Beach Index) */
.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, rgba(3, 35, 116, 0.3), rgba(3, 35, 116, 0.8)), url("/assets/beach-volley-hero.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-image-placeholder {
    font-size: 6rem;
    opacity: 0.3;
}

/* Features Grid (Beach Index) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(220, 175, 77, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(220, 175, 77, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Content Section (Beach Index) */
.content-section {
    margin-bottom: 4rem;
}

.content-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.content-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-image {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

/* Quick Links (Beach Index) */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary-foreground);
    transition: all 0.3s;
}

.quick-link:hover {
    border-color: var(--accent);
    background: rgba(220, 175, 77, 0.1);
}

.quick-link h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quick-link p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Pricing Grid (Beach Inscription) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: rgba(220, 175, 77, 0.5);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: rgba(220, 175, 77, 0.1);
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Schedule Table (Beach Pratiquer) */
.schedule-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.schedule-table thead {
    background: rgba(220, 175, 77, 0.2);
}

.schedule-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.schedule-table td {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.schedule-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Level Badges (Beach Pratiquer) */
.level-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.level-debutant {
    background: rgba(34, 197, 94, 0.2);
    color: rgb(134, 239, 172);
}

.level-intermediaire {
    background: rgba(59, 130, 246, 0.2);
    color: rgb(147, 197, 253);
}

.level-confirme {
    background: rgba(168, 85, 247, 0.2);
    color: rgb(216, 180, 254);
}

.level-tous {
    background: rgba(220, 175, 77, 0.2);
    color: var(--accent);
}

/* Stages Grid (Beach Pratiquer) */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.stage-card:hover {
    border-color: rgba(220, 175, 77, 0.5);
}

.stage-image {
    height: 160px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-image-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

.stage-content {
    padding: 1.5rem;
}

.stage-date {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stage-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stage-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.stage-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

/* Location Card (Beach Pratiquer) */
.location-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.location-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.location-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.location-map {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-map-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

/* Events List (Beach Calendrier) */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s;
}

.event-card:hover {
    border-color: rgba(220, 175, 77, 0.5);
}

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

.event-day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.event-month {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-type {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    width: fit-content;
}

.type-tournoi {
    background: rgba(220, 175, 77, 0.2);
    color: var(--accent);
}

.type-stage {
    background: rgba(34, 197, 94, 0.2);
    color: rgb(134, 239, 172);
}

.type-competition {
    background: rgba(239, 68, 68, 0.2);
    color: rgb(252, 165, 165);
}

.type-event {
    background: rgba(59, 130, 246, 0.2);
    color: rgb(147, 197, 253);
}

.event-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.event-location {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-event {
    background: linear-gradient(135deg, #dcaf4d 0%, #e5c171 100%);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.btn-event:hover {
    transform: scale(1.05);
}

/* News Grid for Beach Actualites (on primary-bg) */
body.primary-bg .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

body.primary-bg .news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: none;
}

body.primary-bg .news-card:hover {
    border-color: rgba(220, 175, 77, 0.5);
    transform: translateY(-4px);
}

body.primary-bg .news-image {
    height: 200px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

body.primary-bg .news-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

body.primary-bg .news-content {
    padding: 1.5rem;
}

body.primary-bg .news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

body.primary-bg .news-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

body.primary-bg .news-category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: rgba(220, 175, 77, 0.2);
    color: var(--accent);
}

body.primary-bg .news-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--primary-foreground);
}

body.primary-bg .news-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

body.primary-bg .news-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

body.primary-bg .news-link:hover {
    gap: 0.75rem;
}

/* Beach Pages Responsive */
@media (max-width: 1024px) {
    .location-card {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .schedule-table {
        display: block;
        overflow-x: auto;
    }

    .event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-date {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .event-actions {
        justify-content: flex-start;
    }

    body.primary-bg .news-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Beach Stages Grid
   ======================================== */
.beach-stages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.beach-stage-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.beach-stage-item:hover {
    border-color: rgba(220, 175, 77, 0.5);
}

.beach-stage-img {
    width: 100%;
    height: auto;
    display: block;
}

.beach-stage-widget {
    padding: 1rem;
}

@media (max-width: 768px) {
    .beach-stages-grid {
        grid-template-columns: 1fr;
    }
}

