/* 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: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2E5BBA;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1F2937;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #4B5563;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #3B82F6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563EB;
}

.btn-secondary {
    background-color: transparent;
    color: #3B82F6;
    border: 2px solid #3B82F6;
}

.btn-secondary:hover {
    background-color: #3B82F6;
    color: white;
}

.btn-package {
    background-color: #10B981;
    color: white;
    width: 100%;
}

.btn-package:hover {
    background-color: #059669;
}

.btn.large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.logo-section {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
}

.brand-name {
    font-size: 3rem;
    font-weight: 700;
    color: #2E5BBA;
    margin: 0;
}

.tagline {
    font-size: 1.3rem;
    color: #6B7280;
    font-weight: 500;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1F2937;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background-color: #FAFAFA;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #2E5BBA;
    margin-bottom: 0.5rem;
}

/* Image Placeholders */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    object-fit: cover;
}

.content-image.large {
    min-height: 300px;
    max-height: 400px;
}

.content-image.profile {
    min-height: 250px;
    max-height: 300px;
    width: 100%;
}

.content-image.hero-image {
    min-height: 200px;
    max-height: 250px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Coaching Section */
.coaching-section {
    background-color: white;
}

.coaching-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.coaching-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3B82F6;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6B7280;
}

/* Tournaments Section */
.tournaments-section {
    background-color: #FAFAFA;
}

.tournaments-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.tournament-schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tournament-day {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tournament-day h3 {
    color: #2E5BBA;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.time {
    font-weight: 600;
    color: #374151;
}

.activity {
    color: #10B981;
    font-weight: 500;
}

/* Workshops Section */
.workshops-section {
    background-color: white;
}

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

.workshop-item {
    background: #FAFAFA;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E5E7EB;
}

.workshop-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.workshop-level {
    display: inline-block;
    background: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Coaches Section */
.coaches-section {
    background-color: #FAFAFA;
}

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

.coach-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.coach-specialty {
    color: #3B82F6;
    font-weight: 600;
    margin-bottom: 1rem;
}

.coach-bio {
    font-size: 1rem;
    color: #6B7280;
}

/* Packages Section */
.packages-section {
    background-color: white;
}

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

.package-card {
    background: #FAFAFA;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    text-align: center;
}

.package-card.featured {
    border-color: #3B82F6;
    background: #F0F9FF;
    position: relative;
}

.package-card.featured::before {
    content: "POPULARNE";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header {
    margin-bottom: 2rem;
}

.package-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 0;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
    color: #4B5563;
}

.package-features li:last-child {
    border-bottom: none;
}

/* Programs Section */
.programs-section {
    background-color: #FAFAFA;
}

.calendar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.schedule-highlights {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.day {
    font-weight: 600;
    color: #374151;
}

.activity {
    color: #3B82F6;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #2E5BBA;
}

.contact-details a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.cta-section {
    background: #F9FAFB;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #D1D5DB;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand .logo-container.small {
    gap: 10px;
    margin-bottom: 0.5rem;
}

.footer-brand .logo-container.small .logo {
    width: 40px;
    height: 40px;
}

.footer-brand .brand-name {
    font-size: 1.5rem;
    color: #F9FAFB;
}

.footer-brand p {
    color: #9CA3AF;
    margin: 0;
}

.footer-section h4 {
    color: #F9FAFB;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #3B82F6;
}

.footer-info {
    text-align: left;
}

.footer-info h4 {
    color: #F9FAFB;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #9CA3AF;
}

.footer-info a {
    color: #3B82F6;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: #F9FAFB;
    padding: 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    border-top: 1px solid #374151;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.5;
}

.cookie-text a {
    color: #3B82F6;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #60A5FA;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #10B981;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #059669;
}

.cookie-btn-reject {
    background-color: #6B7280;
    color: white;
}

.cookie-btn-reject:hover {
    background-color: #4B5563;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #3B82F6;
    border: 1px solid #3B82F6;
}

.cookie-btn-customize:hover {
    background-color: #3B82F6;
    color: white;
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #1F2937;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    margin: 0;
    color: #374151;
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0;
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D1D5DB;
    transition: 0.2s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.2s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #10B981;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #9CA3AF;
    cursor: not-allowed;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.cookie-modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-btn-save {
    background-color: #10B981;
    color: white;
}

.cookie-modal-btn-save:hover {
    background-color: #059669;
}

.cookie-modal-btn-cancel {
    background-color: #6B7280;
    color: white;
}

.cookie-modal-btn-cancel:hover {
    background-color: #4B5563;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .brand-name {
        font-size: 2rem !important;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
    
    .about-content,
    .coaching-content,
    .tournaments-content,
    .calendar-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tournament-schedule {
        grid-template-columns: 1fr;
    }
    
    .coaching-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand .logo-container.small {
        justify-content: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
}