* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
    background-color: #e5e5ff;
}

img {
    max-width: 100%;
    height: auto;
}

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

.header {
    background: #292990;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
}

/* Desktop styles */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
    }
    .hamburger {
        display: none;
    }
    .nav-links li {
        display: inline;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        text-align: center;
        background: #292990;
        z-index: 1000;
    }
    .nav-links li {
        display: block;
    }
    /* Add checkbox for menu state */
    #nav-toggle {
        display: none;
    }
    #nav-toggle:checked ~ .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a:visited {
    color: white;
}

.nav-links a:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.menu-toggle {
    display: none;
}

/* Hamburger button */
.hamburger {
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.hamburger:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Logo Links*/
.logo-link {
    color: white !important;
    text-decoration: none !important;
    padding: 0.5rem 1rem !important;
    display: inline-block !important;
}

.logo-link:hover,
.logo-link:focus,
.logo-link:visited {
    color: white !important;
}

.logo-link:focus {
    outline: 2px solid white !important;
    outline-offset: 2px !important;
}

/* Mobile-only styles */
@media (max-width: 768px) {
    .hamburger {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        display: none;
    }
}

/* Grid*/
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 2rem;
}

/* About Us */
.section {
    margin-bottom: 4rem;
}

.exec-profile {
    text-align: center;
}

.exec-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #e5e5ff;
    margin: 0 auto 1rem;
}

.video-placeholder {
    background: #e5e5ff;
    aspect-ratio: 16/9;
    width: 100%;
}

/* Footer */
.footer {
    background: #292990;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
}

/* Supplies */

.supplies-image,
.cooking-supplies-image,
.chefs-hat-image,
.apron-image {
    background-color: #3333bc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

/* Recipes */
.recipe-category {
    margin-bottom: 20px;
}
.recipe-category h3 {
    background: #3333bc;
    color: white;
    padding: 10px;
}
.recipe-description {
    background: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dropdown-btn {
    background: #292990;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}
.recipe-dropdown {
    background: #e5e5ff;
    padding: 10px;
    display: none;
}
.recipe-category:hover .recipe-dropdown {
    display: block;
}
.calendar-image {
    background-color: #e5e5ff;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

/* Events */
.section {
    margin-bottom: 4rem;
}

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

.info-box {
    background: #3333bc;
    color: white;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.image-placeholder {
    background-color: #e0e0e0;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* Join Us */
h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.social-placeholder {
    aspect-ratio: 1;
    border: 1px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.email-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.email-label {
    background: #3333bc;
    color: white;
    padding: 0.5rem 1rem;
}

.email-input {
    padding: 0.5rem;
    border: 1px solid #666;
}

/* Home/Index */

.logo-section {
    grid-column: span 6;
}

.images-section {
    grid-column: span 6;
}

.logo-placeholder {
    background: #e5e5ff;
    color: #000;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    width: 100%;
}

.image-placeholder {
    background-color: #3333bc;
    aspect-ratio: 9/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
    width: 100%;
}

/* Responsive screens */
@media only screen and (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    [class*="sm"] {
        grid-column: span 12;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .md1 {
        grid-column: span 12;
    }
    .md2 {
        grid-column: span 6;
    }
    .md3 {
        grid-column: span 4;
    }
    .md4 {
        grid-column: span 3;
    }
}

@media only screen and (min-width: 1025px) {
    .col1 {
        grid-column: span 12;
    }
    .col2 {
        grid-column: span 6;
    }
    .col3 {
        grid-column: span 4;
    }
    .col4 {
        grid-column: span 3;
    }
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}
.cell {
    background-color: rgb(220, 220, 220);
    height: 100px;
}

/* default - small devices */

[class*="col"] {
    grid-column-end: span 12;
}

/* below 600px typically tablet*/

@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;
    }
}

/* above 601px typically tablet*/

@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;
    }
}

/* above 1025px typically desktop*/

@media only screen and (min-width: 1025px) {
    .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;
    }
}
