/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px; /* Base padding */
}

h1, h2, h3 {
    color: #212121; /* Secondary Color */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #fff;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: #D32F2F; /* Primary Color */
}

a:hover {
    text-decoration: underline;
}

/* Placeholders */
.image-placeholder {
    background-color: #e0e0e0;
    border: 1px dashed #bdbdbd;
    padding: 40px;
    text-align: center;
    color: #757575;
    margin: 20px auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #D32F2F;
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Header & Navigation */
#main-header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

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

#main-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212121;
}

#main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
}

#main-nav a {
    color: #212121;
    font-weight: bold;
}

#main-nav a:hover {
    color: #D32F2F;
    text-decoration: none;
}

.button-register-nav {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Hero Section */
#hero {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)),
                url("hero-optimized.jpg") center center / cover no-repeat;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
    min-height: 500px;
}

#hero h1 {
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#hero h2 {
    font-size: 1.3rem;
    color: #f0f0f0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#hero .urgency {
    color: #D32F2F; /* Primary Color */
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.button-register-hero {
    padding: 15px 35px;
    font-size: 1.2rem;
}

.hero-image-placeholder {
    margin-top: 40px;
    min-height: 150px; /* Example height */
}

/* Locations Section */
#locations {
    background-color: #fff;
}

.location-details {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.location {
    flex-basis: 45%; /* Adjust basis for spacing */
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.location h3 {
    color: #D32F2F;
}

/* About Section */
#about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* What's Included Section */
#included ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 40px;
    max-width: 600px;
    margin: 20px auto;
    padding-left: 20px; /* Indent list items */
}

#included li {
    margin-bottom: 10px;
    break-inside: avoid-column;
    list-style-type: disc; /* Use standard bullets */
}

.included-image-placeholder {
    max-width: 500px;
    min-height: 150px;
}

/* Pricing Section */
.pricing-options {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 250px; /* Prevent cards from becoming too narrow */
    background-color: #fff;
    border: 1px solid #eee;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pricing-card h3 {
    color: #212121;
    margin-bottom: 15px;
}

.price {
    font-size: 2.2rem;
    font-weight: bold;
    color: #D32F2F; /* Primary Color */
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #757575;
    display: block;
}

.registration-fee, .payment-info {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.registration-fee strong, .payment-info strong {
    color: #212121;
}

.pricing-image-placeholder {
    max-width: 400px;
    min-height: 120px;
}

/* Testimonials Section */
#testimonials {
    background-color: #212121; /* Secondary Color */
    color: #f1f1f1;
}

#testimonials h2 {
    color: #fff;
}

.testimonial {
    background-color: #424242;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial .stars {
    color: #FFC107; /* Accent Color */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial .name {
    font-weight: bold;
    text-align: right;
}

/* FAQ Section */
.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 15px 20px;
    margin: 0;
    cursor: pointer;
    background-color: #f1f1f1;
    border-radius: 5px 5px 0 0;
    position: relative;
    font-size: 1.2rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #D32F2F;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 300px; /* Adjust as needed */
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.faq-answer p {
    margin: 0;
}

.faq-image-placeholder {
    max-width: 450px;
    min-height: 130px;
}

/* Contact Form Section */
#contact {
    background-color: #f1f1f1;
}

#contact p {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#registration-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: .65em auto;
    padding-right: 30px; /* Make space for arrow */
}

.consent-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.consent-group input[type="checkbox"] {
    width: auto;
    margin-top: -2px; /* Align checkbox */
}

.consent-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.button-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Sticky Footer CTA */
#sticky-footer-cta {
    background-color: #212121; /* Secondary Color */
    color: #fff;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    bottom: 0;
    z-index: 999;
    display: none; /* Hidden by default, shown by JS */
}

#sticky-footer-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#sticky-footer-cta p {
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.button-register-footer {
    padding: 10px 20px;
    white-space: nowrap; /* Prevent button text wrapping */
}

/* Main Footer */
#main-footer {
    background-color: #1a1a1a;
    color: #aaa;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

#main-footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    #main-header .container {
        flex-direction: column;
        gap: 10px;
    }
    #main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .button-register-nav {
        margin-top: 10px;
    }
    #included ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem; /* Mobile headline size */
    }
    #hero h1 {
        font-size: 24px; /* Explicit mobile size */
    }
    h2 {
        font-size: 1.8rem;
    }
    .container {
        width: 100%;
        padding-left: 20px; /* Ensure 20px padding */
        padding-right: 20px;
        box-sizing: border-box;
    }
    #main-header .container {
        flex-direction: row; /* Keep logo/nav row */
        position: relative; /* For potential mobile menu toggle */
    }
    #main-nav {
        /* Basic mobile menu setup - could be enhanced with JS */
        display: none; /* Hide nav by default on small screens */
        width: 100%;
        text-align: center;
        background-color: #fff;
        padding: 10px 0;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    #main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    /* Add a simple menu toggle button if needed (requires JS) */

    .cta-button,
    .button-register-hero,
    .button-submit,
    .button-register-footer {
        width: 100%; /* Full width buttons */
        box-sizing: border-box;
    }
    .button-register-nav {
        width: auto; /* Keep nav button smaller */
    }
    .location-details {
        flex-direction: column;
        gap: 20px;
    }
    .location {
        flex-basis: 100%;
    }
    .pricing-options {
        flex-direction: column;
        gap: 15px;
    }
    #sticky-footer-cta .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    #sticky-footer-cta p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    #hero h1 {
        font-size: 24px; /* Ensure consistency */
    }
    h2 {
        font-size: 1.5rem;
    }
    #hero h2 {
        font-size: 1.1rem;
    }
    .button-register-hero {
        padding: 12px 25px;
        font-size: 1rem;
    }
    section {
        padding: 40px 0;
    }
    #registration-form {
        padding: 20px;
    }
}

