@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Fredoka:wght@400;500;600&display=swap");

/* GENERAL RESET AND BASE STYLES */
body {
    margin: 0;
    line-height: 1.8em;
    font-family: "Fredoka", Arial, sans-serif;
    font-size: 30px;
    color: #5b4624;
}

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", serif;
    color: #5b4624;
}

h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 1.6px;
    margin-top: 0;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 0;
}

h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 0;
}

p,
li {
    font-family: "Fredoka", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8rem;
    letter-spacing: 0.2px;
    margin-bottom: 1rem;
}

a {
    font-family: "Fredoka", sans-serif;
    font-size: 24px;
    text-decoration: none;
    padding: 30px 30px;
    color: #fff;
    display: inline-block;
    transition: all 0.6s;
}

a:hover {
    color: #5b4624;
}

/* NAVIGATION */
nav {
    background: #a4b28c;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style-type: none;
}

nav li {
    display: inline;
    text-align: center;
    text-transform: uppercase;
}

/* FOOTER */
footer {
    margin-top: 30px;
    background-color: #a4b28c;
    padding: 30px;
    font-size: 12px;
}

footer p,
footer li,
footer a {
    font-size: 12px;
}

/* BUTTONS */
.btn,
.contact-form .button,
.signup-section .button,
.contact-form .membership-form input[type="submit"] {
    font-family: "Fredoka", sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #b99568;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn {
    font-size: 20px;
    width: 200px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    padding: 20px;
    background: #755123;
    color: #b99568;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.5s ease,
        color 0.5s ease;
}

.btn:hover,
.contact-form .button:hover,
.signup-section .button:hover,
.contact-form .membership-form input[type="submit"]:hover {
    background-color: #755123;
    color: #fff;
}

.btn:hover {
    background: #b99568;
    color: #755123;
}

/* IMAGES */
.logo {
    max-width: 500px;
}

.logofooter {
    max-width: 350px;
    margin-top: 30px;
}

.large-image {
    width: 800px;
    border-radius: 20px;
}

.medium-image {
    width: 450px;
    height: 450px;
    padding: 20px;
    border-radius: 40px;
}

.small-image {
    width: 250px;
    height: 250px;
    border-radius: 20px;
}

.image-left,
.image-right {
    width: 312px;
    height: 312px;
    object-fit: cover;
    border-radius: 20px;
    vertical-align: top;
    margin: 40px;
    margin-bottom: 60px;
}

.image-left {
    margin-left: 40px;
}

.image-right {
    margin-right: 40px;
}

.image-left-resources,
.image-right-resources {
    width: 400px;
    height: 400px;
    border-radius: 20px;
}

/* LAYOUT HELPERS */
.ctr {
    text-align: center;
}

.alt {
    background-color: #ccd9b6;
    margin: 60px 0;
    padding: 30px;
}

/* CARD STYLES */
.card,
.card2 {
    padding: 30px;
    text-align: center;
    font-family: "Fredoka", sans-serif;
    border-radius: 5px;
}

.card {
    background-color: #fff;
}

.card2 {
    border: 5px solid #b99568;
}

/* GRID SYSTEM */
.grid1,
.grid2 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    margin: 0 auto;
}

.grid2 {
    margin-top: 80px;
}

.cell {
    min-height: 100px;
    padding: 10px;
}

/* SIGNUP SECTION */
.signup-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.signup-section .grid1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-section .cell.col1.ctr {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 40px;
    background-color: #ccd9b6;
    border-radius: 20px;
    padding: 40px;
}

.signup-section h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #5b4624;
}

.signup-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    font-family: "Fredoka", sans-serif;
}

.signup-section form label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
}

.signup-section form input[type="text"],
.signup-section form input[type="email"],
.signup-section form input[type="tel"] {
    padding: 0.75rem;
    border: 1px solid #5b4624;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.signup-section form label[for="newsletter"] {
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    background-color: #fff;
    max-width: 350px;
    margin-left: 200px;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #5b4624;
    display: flex;
}

.signup-section input[type="checkbox"] {
    transform: scale(1.8);
    transform-origin: center;
    cursor: pointer;
    accent-color: #ccd9b6;
}

/* CONTACT FORM */
.contact-form {
    background-color: #ffffff;
}

.contact-form .grid2 {
    max-width: 600px;
    text-align: center;
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #5b4624;
}

.contact-form .membership-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    padding: 40px;
    background-color: #ccd9b6;
    border-radius: 20px;
    font-family: "Fredoka", sans-serif;
}

.contact-form .membership-form label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
}

.contact-form .membership-form input[type="text"],
.contact-form .membership-form input[type="email"],
.contact-form .membership-form textarea {
    padding: 0.75rem;
    border: 1px solid #5b4624;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

/* MEDIA QUERIES */
@media (max-width: 600px) {
    .signup-section h1,
    .contact-form h2 {
        font-size: 1.5rem;
    }

    .signup-section .button,
    .contact-form .button,
    .contact-form .membership-form input[type="submit"] {
        width: 100%;
    }
}

/* Default (mobile-first): full-width columns */
[class="col"] {
    grid-column-end: span 12;
}

/* Responsive columns */

/* Tablet: up to 600px */
@media only screen and (max-width: 600px) {
    .sm1 {
        grid-column-end: span 12;
    }
    .sm2 {
        grid-column-end: span 6;
    }
    .sm3 {
        grid-column-end: span 4;
    }
    .sm4 {
        grid-column-end: span 3;
    }
    .sm6 {
        grid-column-end: span 2;
    }
    .sm12 {
        grid-column-end: span 1;
    }
}

/* Tablet and small desktop: 601px to 1024px */
@media only screen and (min-width: 601px) {
    .md1 {
        grid-column-end: span 12;
    }
    .md2 {
        grid-column-end: span 6;
    }
    .md3 {
        grid-column-end: span 4;
    }
    .md4 {
        grid-column-end: span 3;
    }
    .md6 {
        grid-column-end: span 2;
    }
    .md12 {
        grid-column-end: span 1;
    }
}

/* Desktop: 1025px and up */
@media only screen and (min-width: 1025px) {
    .grid1 {
        margin: 0 auto;
        max-width: 1400px;
    }

    .grid2 {
        margin: 80px auto;
        max-width: 1024px;
    }

    .col1 {
        grid-column-end: span 12;
    }
    .col2 {
        grid-column-end: span 6;
    }
    .col3 {
        grid-column-end: span 4;
    }
    .col4 {
        grid-column-end: span 3;
    }
    .col6 {
        grid-column-end: span 2;
    }
    .col12 {
        grid-column-end: span 1;
    }
}
