/* ========= RESET ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* ========= HEADER ========= */
.header {
    background-color: #1f3a66;
    color: white;
    padding: 25px;
    text-align: center;
}

/* ========= NAVIGATION ========= */
.navbar {
    background-color: #355aa5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

/* ========= MAIN CONTENT ========= */
.main-content {
    max-width: 1200px;
    background-color: white;
    margin: 30px auto;
    padding: 30px;
}

/* ========= INTRO ========= */
.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro p {
    max-width: 800px;
    margin: 10px auto;
}

/* ========= CARD GRID ========= */
.card-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* ========= CARD ========= */
.card {
    background-color: #eef3f7;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin: 15px;
}

.card p {
    margin: 0 15px 20px;
    font-size: 0.95rem;
}

/* ========= STATIC IMAGES (HOME) ========= */
.card img.static {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ========= SLIDESHOW ========= */
.slideshow {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation-name: slideShow;
    animation-duration: 12s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 3s; }
.slideshow img:nth-child(3) { animation-delay: 6s; }

.card:nth-child(1) .slideshow img { animation-duration: 9s; }
.card:nth-child(2) .slideshow img { animation-duration: 11s; }
.card:nth-child(3) .slideshow img { animation-duration: 13s; }
.card:nth-child(4) .slideshow img { animation-duration: 10s; }
.card:nth-child(5) .slideshow img { animation-duration: 12s; }
.card:nth-child(6) .slideshow img { animation-duration: 14s; }

/* ========= FEATURED FOOD CARD ========= */
.featured-card .slideshow {
    height: 420px;
}

/* ========= SLIDE ANIMATION ========= */
@keyframes slideShow {
    0% { opacity: 0; }
    12% { opacity: 1; }
    30% { opacity: 1; }
    45% { opacity: 0; }
    100% { opacity: 0; }
}

/* ========= CONTACT FORM ========= */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form input[type="submit"] {
    background-color: #355aa5;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-weight: bold;
}

.contact-form input[type="submit"]:hover {
    background-color: #1f3a66;
}

/* ========= FOOTER ========= */
.footer {
    background-color: #1f3a66;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}
