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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* CSS Variables for Design System */
:root {
    --ocean-blue: #0077b6;
    --sunshine-yellow: #ffd60a;
    --coral-red: #ff6b6b;
    --sky-teal: #00b4d8;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --white: #ffffff;
    
    /* Fonts */
    --font-headers: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 0 1rem;
    --border-radius: 8px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-title {
    text-align: center;
    color: var(--ocean-blue);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--coral-red);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f5f0e8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-fast);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo img {
    height: 75px;
    width: auto;
    max-width: 300px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--ocean-blue);
    font-weight: 600;
    font-family: var(--font-headers);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--coral-red);
    background: rgba(255, 107, 107, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--ocean-blue);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sky-teal), var(--ocean-blue));
    padding: 2rem 0;
}

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

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    margin: 1rem 0;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    font-weight: 500;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--coral-red);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-headers);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background: #e55555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: var(--ocean-blue);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.cta-button.secondary:hover {
    background: #0066a0;
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

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

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

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.credential i {
    font-size: 1.5rem;
}



/* Events Section */
.events {
    padding: var(--section-padding);
    background: var(--white);
}

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

.event-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--sky-teal);
}

.event-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--sky-teal), var(--ocean-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.event-card h3 {
    color: var(--ocean-blue);
    margin-bottom: 1rem;
}

.event-card p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Rates Section */
.rates {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.rates-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.rates-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rates-table th,
.rates-table td {
    padding: 1rem;
    text-align: center;
}

.rates-table th {
    background: var(--ocean-blue);
    color: var(--white);
    font-family: var(--font-headers);
    font-weight: 600;
}

.rates-table tbody tr:nth-child(even) {
    background: rgba(0, 180, 216, 0.05);
}

.rates-table tbody tr:hover {
    background: rgba(0, 180, 216, 0.1);
}

.rates-fine-print {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rates-fine-print ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.rates-fine-print li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

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

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

.contact-intro {
    text-align: center;
    font-size: 1.25rem;
    color: var(--ocean-blue);
    margin-bottom: 3rem;
    font-weight: 500;
}

.form-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.form-container iframe {
    border-radius: var(--border-radius);
    max-width: 100%;
}

.form-container iframe {
    border-radius: var(--border-radius);
}

.contact-fallback {
    text-align: center;
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ocean-blue);
    font-weight: 500;
}

.contact-method i {
    color: var(--coral-red);
}

/* Footer */
.footer {
    background: var(--ocean-blue);
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    text-align: center;
    flex: 1;
}

.footer-text p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition-fast);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--sunshine-yellow);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-fast);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        margin: 0 1rem;
        padding: 1rem;
    }

    /* About */
    .about-content {
        text-align: center;
    }

    .credentials {
        flex-direction: column;
    }

    .credential {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Rates */
    .rates-table th,
    .rates-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }

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

    .footer-text {
        order: 1;
    }

    .footer-social {
        order: 2;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .rates-fine-print {
        padding: 1rem;
    }

    .contact-fallback {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.social-link:focus {
    outline: 2px solid var(--sunshine-yellow);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-button {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}
