/* ===================================
   Costa D'Amalfi FC Summer Camp 2026
   Brand Colors: 
   - Blu Mare: #0077BE
   - Giallo Limone: #FCD116
   =================================== */

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

:root {
    --blu-mare: #0077BE;
    --giallo-limone: #FCD116;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-light: #f5f5f5;
    --gray-medium: #888;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

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

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--blu-mare);
    color: var(--blu-mare);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    background: var(--blu-mare);
    color: var(--white);
}

.lang-btn.active {
    background: var(--blu-mare);
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--blu-mare) 0%, #005a93 100%);
    background-image: url('https://sspark.genspark.ai/cfimages?u1=cnTbEVOG1Z%2FMaBqfl5jhPsIKSmOv91zhc14C2i6CLn3JEnzmizb%2FOusqBGluLcBdVGHh%2FZVti%2BukGaKIZF8uIbMRIas6D2TQttu4SggcyQz4Hp0431WtqRH0PugpjLDb1FB%2Bi%2BHUywPhyZShiIQtHftOzOn0mRZUx78nz7IOf8mNJgDiWH1HEeJzOar8GWmndm1C5AhGgG2N7Pcw%2B3PXnR7Vv0hmzYod%2BnVHYOka6S8GpvhJpxY%3D&u2=GXrA3SQkQYVPqph%2F&width=2560');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.85) 0%, rgba(0, 90, 147, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--white);
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 .highlight {
    color: var(--giallo-limone);
    display: block;
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--giallo-limone);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--giallo-limone);
    color: var(--black);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: #ffd700;
}

/* Stats Section */
.stats {
    background: var(--white);
    padding: 60px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--blu-mare);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--blu-mare);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--giallo-limone);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--gray-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.about-text strong {
    color: var(--blu-mare);
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Locations Section */
.locations {
    background: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.location-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.location-image {
    height: 250px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-card h3 {
    font-size: 1.4rem;
    color: var(--blu-mare);
    padding: 20px 20px 10px;
    font-weight: 700;
}

.location-card p {
    padding: 0 20px 20px;
    color: var(--gray-medium);
    font-size: 1rem;
}

/* Features Section */
.features {
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--blu-mare);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--giallo-limone);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--blu-mare);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, var(--blu-mare) 0%, #005a93 100%);
    color: var(--white);
}

.registration .section-title {
    color: var(--white);
}

.registration .section-title::after {
    background: var(--giallo-limone);
}

.registration-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--giallo-limone);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--giallo-limone);
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
}

/* Registration Form */
.registration-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    max-width: 900px;
    margin: 0 auto;
    color: var(--black);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--blu-mare);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blu-mare);
}

.form-group textarea {
    resize: vertical;
}

.total-price {
    background: var(--gray-light);
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blu-mare);
    margin: 30px 0;
}

.total-price span:last-child {
    color: var(--giallo-limone);
    font-size: 2rem;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    color: #555;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.privacy-link {
    color: var(--blu-mare);
    text-decoration: underline;
    font-weight: 600;
}

.privacy-link:hover {
    color: var(--giallo-limone);
}

.submit-button {
    width: 100%;
    background: var(--blu-mare);
    color: var(--white);
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: #005a93;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: -30px auto 50px;
    color: #555;
    line-height: 1.8;
}

.faq-intro a {
    color: var(--blu-mare);
    font-weight: 600;
    text-decoration: underline;
}

.faq-intro a:hover {
    color: var(--giallo-limone);
}

.faq-category {
    margin-bottom: 40px;
    background: var(--gray-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-category-header {
    background: linear-gradient(135deg, var(--blu-mare) 0%, #005a93 100%);
    color: var(--white);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-category-header i {
    font-size: 1.8rem;
    color: var(--giallo-limone);
}

.faq-category-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    background: var(--white);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px 30px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blu-mare);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.faq-question:hover {
    background: #f8f9fa;
    padding-left: 35px;
}

.faq-question i {
    color: var(--giallo-limone);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 30px 30px;
}

.faq-answer p {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.faq-answer strong {
    color: var(--blu-mare);
    font-weight: 600;
}

.faq-answer a {
    color: var(--blu-mare);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--giallo-limone);
}

/* FAQ CTA */
.faq-cta {
    background: linear-gradient(135deg, var(--blu-mare) 0%, #005a93 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-top: 60px;
    box-shadow: var(--shadow-hover);
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.faq-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons .cta-button,
.faq-cta-buttons .cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.faq-cta-buttons .cta-button {
    background: var(--giallo-limone);
    color: var(--black);
}

.faq-cta-buttons .cta-button:hover {
    background: #ffd700;
}

.faq-cta-buttons .cta-button-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.faq-cta-buttons .cta-button-secondary:hover {
    background: var(--white);
    color: var(--blu-mare);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--blu-mare);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Privacy Policy Section */
.privacy-policy {
    background: var(--gray-light);
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.privacy-content h3 {
    color: var(--blu-mare);
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.privacy-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.privacy-content a {
    color: var(--blu-mare);
    text-decoration: underline;
}

.privacy-content a:hover {
    color: var(--giallo-limone);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    color: var(--giallo-limone);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-section p {
    line-height: 1.8;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--giallo-limone);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.social-links a {
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--giallo-limone);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 .highlight {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
    
    .faq-category-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-category-header h3 {
        font-size: 1.3rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .faq-question:hover {
        padding-left: 25px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px 25px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
    
    .faq-cta p {
        font-size: 1rem;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
    }
    
    .faq-cta-buttons .cta-button,
    .faq-cta-buttons .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button,
    .cta-button-secondary {
        width: 100%;
        text-align: center;
    }
    
    .privacy-content {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .locations-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 .highlight {
        font-size: 2.5rem;
    }
    
    .language-switcher {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .logo img {
        width: 80px;
        height: 80px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
