/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fbbf24;
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 1;
    z-index: 1;
}

.hero-background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: heroSlideshow 24s ease-in-out infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slide:nth-child(3) {
    animation-delay: 8s;
}

.hero-slide:nth-child(4) {
    animation-delay: 12s;
}

.hero-slide:nth-child(5) {
    animation-delay: 16s;
}

.hero-slide:nth-child(6) {
    animation-delay: 20s;
}

@keyframes heroSlideshow {
    0%, 15% {
        opacity: 0;
    }
    20%, 35% {
        opacity: 1;
    }
    40%, 100% {
        opacity: 0;
    }
}


.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: #f97316;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.cta-button:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Activities Section */
.activities-section {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    z-index: 5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e40af;
    font-weight: 700;
}

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

.activity-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #f97316);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #2563eb;
}

.card-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    border: 2px solid #ddd;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: block;
}

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

/* Fallback for missing images */
.activity-img:not([src]),
.activity-img[src=""] {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.activity-img:not([src])::after,
.activity-img[src=""]::after {
    content: "📷";
    font-size: 3rem;
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
    font-weight: 600;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Main Inscription Button */
.main-inscription-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.main-inscription-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 250px;
}

.main-inscription-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    transition: left 0.4s ease;
    z-index: 0;
}

.main-inscription-btn:hover::before {
    left: 0;
}

.main-inscription-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.main-inscription-btn .btn-text,
.main-inscription-btn .btn-icon {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.main-inscription-btn:hover .btn-text {
    color: white;
}

.main-inscription-btn:hover .btn-icon {
    transform: rotate(10deg) scale(1.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #f97316;
}

/* Activity Detail Modal */
.activity-detail {
    padding: 1rem 0;
}

.activity-detail h2 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.activity-detail .price {
    font-size: 1.5rem;
    color: #f97316;
    margin-bottom: 1.5rem;
}

.activity-detail .description {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.activity-detail .benefits {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.activity-detail .benefits h3 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.activity-detail .benefits ul {
    list-style: none;
    padding: 0;
}

.activity-detail .benefits li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.activity-detail .benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Inscription Modal */
.inscription-modal {
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2% auto;
}

/* Custom scrollbar for inscription modal */
.inscription-modal::-webkit-scrollbar {
    width: 8px;
}

.inscription-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.inscription-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 4px;
}

.inscription-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.modal-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.inscription-modal h2 {
    color: #1e40af;
    margin: 0;
    font-size: 2rem;
}

.inscription-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.form-left-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-right-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-title {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.activities-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-group:has(.activities-container) {
    width: 100%;
}

.activities-container {
    display: grid;
    gap: 1rem;
}

.select-class-message {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px dashed #d1d5db;
}

.activity-schedule-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.activity-schedule-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.activity-name {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
}

.activity-price {
    font-weight: 600;
    color: #f97316;
    font-size: 0.95rem;
}

.activity-schedule {
    margin-bottom: 0.8rem;
}

.schedule-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.day-tag {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.activity-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.8rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #2563eb;
    background-color: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 200px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Footer */
.footer {
    background: #1e40af;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
    z-index: 5;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slide {
        background-size: cover;
        background-position: center;
    }

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

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .inscription-modal {
        max-width: 95%;
    }

    .inscription-form {
        grid-template-columns: 1fr;
    }

    .form-left-section,
    .form-right-section {
        gap: 1rem;
    }

    .activities-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-slide {
        background-size: cover;
        background-position: center;
    }

    .activities-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .activity-card {
        padding: 1.5rem;
    }

    .inscription-form {
        grid-template-columns: 1fr;
    }

    .form-left-section,
    .form-right-section {
        gap: 1rem;
    }

    .activities-checkboxes {
        grid-template-columns: 1fr;
    }
}
