/* General Body Styles */
body {
    font-family: 'Georgia', sans-serif;
    color: #383d4b;
    background-color: #ffffff;
    margin: 0;
    line-height: 1.75;
}

/* Header */
header {
    background-color: #fff;
    padding: 1vw 4vw;
    border-bottom: 1px solid #eee;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

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

.tagline p {
    margin: 0;
    font-family: "Barlow", sans-serif;
    color: #000;
}

/* Main Content */
main {
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('images/Woman-Tossing-Money.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;             /* Ensure full viewport height coverage */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4vw 0;
    position: relative;
}

.hero-content {
    background-color: #fff;
    padding: 2.8vw;
    text-align: center;
    width: 500px;
    height: auto;                  /* Allow height to adapt to content */
    min-height: 600px;             /* Maintain minimum height */
    position: absolute;
    left: 10%;
    top: 75px;
}

.hero-content h1 {
    font-size: calc(1.5rem + 2px);
}

.hero-content .cta-button {
    text-align: center;
    display: block;
    width: calc(100% - 3vw);
    margin-top: 10px;
    transition: background-color 0.2s linear;
}

.cta-button2 {
    background-color: #506157;
    color: #fff;
    padding: 14px 24px;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    display: block;
    width: 35%;
    margin: 10px auto 0;
    text-align: center;
    transition: background-color 0.2s linear;

}

.host-image {
    max-width: 156px;
    margin-bottom: 0px;
}

.workshop-details {
    margin: 20px 0;
    font-size: calc(1rem + 2px);
}

.workshop-details p {
    margin: 0 0 5px 0;
}

.workshop-details p em {
    font-size: calc(1rem - 2px);
}

.cta-button {
    background-color: #506157;
    color: #fff;
    padding: 14px 24px;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    display: block;
    width: calc(100% - 4vw);
    margin-top: 10px;
    transition: background-color 0.2s linear;
}

.cta-button:hover {
    background-color: #3c4d43;
}

/* Invitation Section */
.invitation {
    background-color: #fffaed;
    padding: 5vw 0;
    text-align: left;
}

.invitation-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
    font-size: calc(1rem + 1px);
}

.invitation-content .cta-button {
    text-align: center;
    display: block;
    margin: 20px 0 0 0;
    width: 100%;
}

.invitation-content p:last-of-type {
    text-align: center;
    font-size: calc(1rem + 3px);
    font-weight: bold;
}

.invitation h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: -0.75em;
}

.invitation ul {
    list-style: disc;
    text-align: left;
    max-width: 100%;
    margin: 20px 0;
    padding-left: 20px;
}

/* Learn Section */
.learn {
    padding: 5vw 0;
}

.learn-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 5vw;
    font-size: 18px;
}

.learn h2 {
    font-size: 32px;
    margin-bottom: 40px;
    margin-top: 0;
}

.learn-points {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.learn-point {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.learn-number {
    font-size: 3.6rem;
    font-weight: bold;
    color: #506157;
    font-family: "Oswald", sans-serif;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1;
}

.learn-text h3 {
    font-size: 1.5rem;
    font-family: "Oswald", sans-serif;
    margin: 0 0 15px;
}

.learn-text p {
    margin: 0;
    padding-left: 0;
    text-align: left;
}

/* Host Bio Section */
.host-bio {
    background-color: #fffaed;
    padding: 5vw 0;
}

.host-bio-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
}

.host-intro {
    text-align: center;
    margin-bottom: 40px;
}

.host-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.host-image-container {
    flex: 0 0 200px;
}

.host-photo {
    width: 100%;
    height: auto;
}

.host-details {
    background-color: #fff;
    padding: 4vw 5vw;
    width: 100%;
    font-size: 18px;
}

.host-details h2 {
    font-size: 32px;
}

.host-details h2:not(:first-of-type) {
    font-size: 32px;
}

.host-details h2:nth-of-type(2) {
    font-size: 24px;
}

.host-photo-left {
    width: 400px;
    height: auto;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.host-photo-bottom-left {
    width: 400px;
    height: auto;
    float: right;
    margin-left: 20px;
    margin-top: 20px;
    clear: right;
}

.host-photo-right {
    width: 400px;
    height: auto;
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    clear: right;
}

.host-signature {
    margin-top: 20px;
}

.host-signature img {
    max-width: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: 5vw 0;
    font-size: 18px;
}

.testimonials-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5vw;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.testimonial {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/* Financial Future Section */
.financial-future {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Woman-coffee-phone.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 10vw 5vw;
    text-align: center;
    font-size: 18px;
}

.financial-future-content {
    max-width: 800px;
    margin: 0 auto;
}

.financial-future h2 {
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
    margin-bottom: 20px;
    color: #fff;
}

.financial-future h3 {
    font-size: 32px;
    margin-top: 30px;
    color: #fff;
}

.financial-future p {
    color: #fff;
}

/* Final CTA Section */
.final-cta {
    background-color: #506157;
    color: #fff;
    padding: 2vw;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
    font-size: 2.5rem;
}

.final-cta .cta-button {
    background-color: #fff;
    color: #506157;
}

.final-cta .cta-button:hover {
    background-color: #eee;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
}

.site-footer img {
    max-width: 200px;
    margin-bottom: 20px;
}

.site-footer p {
    margin: 5px 0;
    color: #383d4b;
}

.site-footer a {
    color: #383d4b;
    text-decoration: none;
}

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

/* 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);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

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

.close:hover {
    color: #000;
}

/* Mailchimp Form Styles */
#mc_embed_signup {
    margin-top: 20px;
}

#mc_embed_signup h2 {
    display: none; /* Hide the default "Subscribe" heading */
}

.mc-field-group {
    margin-bottom: 20px;
}

.mc-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.mc-field-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.mc-field-group input:focus {
    outline: none;
    border-color: #506157;
    box-shadow: 0 0 5px rgba(80, 97, 87, 0.3);
}

.button {
    background-color: #506157;
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 5px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s linear;
}

.button:hover {
    background-color: #3c4d43;
}

#mce-error-response {
    color: #d63301;
    margin-top: 10px;
}

#mce-success-response {
    color: #28a745;
    margin-top: 10px;
}

.indicates-required {
    display: none; /* Hide the "required" text since we're using asterisks */
}

/* Form Message Styles */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none; /* Hidden by default */
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* Update form styles to match our design */
#mc-form .mc-field-group {
    margin-bottom: 20px;
}

#mc-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#mc-form input[type="text"],
#mc-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#mc-form input:focus {
    outline: none;
    border-color: #506157;
    box-shadow: 0 0 5px rgba(80, 97, 87, 0.3);
}

#mc-form .button {
    background-color: #506157;
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 5px;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s linear;
}

#mc-form .button:hover {
    background-color: #3c4d43;
}

/* Medium screens (tablets and smaller desktops) */
@media (max-width: 1280px) {
    .hero {
        min-height: 100vh;         /* Maintain full viewport height */
    }
    
    .hero-content {
        width: 350px;              /* Proportional to 400px height */
        height: auto;               /* Allow height to adapt to content */
        min-height: 400px;          /* Maintain minimum height */
        left: 8%;
        top: 60px;
    }
    
    .hero-content h1 {
        font-size: 18px;           /* Medium screens: 18px */
    }
    
    .workshop-details {
        font-size: calc(0.8rem + 2px);
    }
}

/* Small screens (tablets) */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;         /* Maintain full viewport height */
    }
    
    .hero-content {
        width: 300px;              /* Proportional to 350px height */
        height: auto;               /* Allow height to adapt to content */
        min-height: 350px;          /* Maintain minimum height */
        left: 5%;
        top: 50px;
    }
    
    .hero-content h1 {
        font-size: 16px;           /* Small screens: 16px */
    }
    
    .workshop-details {
        font-size: calc(0.7rem + 2px);
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;         /* Maintain full viewport height */
        padding: 2vw 0;            /* Reduce padding on mobile */
    }
    
    .logo-container {
        flex-direction: column;     /* Stack logo and tagline vertically */
        justify-content: center;    /* Centers the logo horizontally */
        align-items: center;        /* Centers items horizontally */
        margin-bottom: 20px;       /* Adds space below the logo */
        gap: 10px;                 /* Reduce gap between logo and tagline */
    }
    
    .hero-content {
        width: 90%;
        left: 5%;
        height: auto;
        min-height: 500px;
        padding: 4vw;
        position: relative;         /* Change to relative positioning on mobile */
        top: auto;
    }
    
    .hero-content h1 {
        font-size: 18px;           /* Mobile screens: 18px */
    }
    
    .workshop-details {
        font-size: calc(0.9rem + 2px);
    }
    
    .invitation {
        margin-top: 150px;         /* Push invitation section down further to avoid overlap */
        padding-top: 15vw;         /* Increase top padding for mobile */
    }
    
    .invitation h2 {
        margin-top: 2em;           /* Add extra space above the headline */
        padding-top: 1em;          /* Additional padding for the headline */
    }
}
