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





:root{
    --body-background-color:#fff8f0;
}

/* -------- BODY -------- */
body {
    font-family: Arial, sans-serif;
    background-color: var(--body-background-color);
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* -------- HEADER -------- */
.site-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
}

#main-title {
    color: brown;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin: 20px 0;
}

/* -------- NAVIGATION -------- */
.navigation-bar {
    background-color: #f5d7b2;
    padding: 15px;
    margin: 20px auto;
    border: 2px solid #d2a679;
    border-radius: 10px;
    max-width: 1000px;
}

.nav-items {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-item a:link,
.nav-item a:visited {
    color: brown;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-item a:hover,
.nav-item a:active {
    background-color: darkorange;
    color: white;
}

.current-page {
    background-color: brown;
    color: white !important;
}

/* -------- HERO SECTION -------- */
.hero-section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    background-color: white;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1100px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    color: darkorange;
    font-size: 2rem;
    margin-bottom: 15px;
}

.hero-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.highlight-text {
    color: darkgreen;
    font-weight: bold;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

/* -------- BUTTONS -------- */
.btn:link,
.btn:visited {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    display: inline-block;
    font-weight: bold;
    margin-right: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary:link,
.btn-primary:visited {
    background-color: brown;
    color: white;
}

.btn-primary:hover,
.btn-primary:active {
    background-color: darkorange;
    color: white;
}

.btn-secondary:link,
.btn-secondary:visited {
    background-color: green;
    color: white;
}

.btn-secondary:hover,
.btn-secondary:active {
    background-color: darkgreen;
    color: white;
}

/* -------- INFO BOXES -------- */
.info-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 1100px;
}

.info-box {
    background-color: white;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    text-align: center;
}

.info-box h3 {
    color: brown;
    margin-bottom: 10px;
}

/* -------- CONTENT SECTION -------- */
.content-section {
    background-color: white;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1100px;
}

.content-section h2 {
    color: darkorange;
    text-align: center;
    margin-bottom: 20px;
}

/* -------- RECIPE -------- */
.recipe-layout {
    display: flex;
    gap: 20px;
}

.recipe-box {
    flex: 1;
    background-color: #fff3e6;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 20px;
}

.recipe-box h3 {
    color: brown;
    margin-bottom: 10px;
}

.recipe-list {
    margin-left: 20px;
}

.center-button {
    text-align: center;
    margin-top: 20px;
}

/* -------- TABLE -------- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.price-table th,
.price-table td {
    border: 1px solid #ccc;
    padding: 12px;
}

.price-table th {
    background-color: #f5d7b2;
    color: brown;
}

/* -------- COOKIE CARDS -------- */
.cookie-card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cookie-card {
    background-color: #fff3e6;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
}

.cookie-card h3 {
    color: brown;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: green;
    margin-top: 10px;
}

/* -------- FORM -------- */
.order-form {
    max-width: 500px;
    margin: auto;
}

.order-form label {
    display: block;
    font-weight: bold;
    color: brown;
    margin-bottom: 5px;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.order-form textarea {
    min-height: 100px;
    resize: vertical;
}

.order-form button {
    background-color: brown;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.order-form button:hover {
    background-color: darkorange;
}

/* -------- FOOTER -------- */
.site-footer {
    text-align: center;
    margin-top: 30px;
    color: gray;
    font-size: 14px;
}

/* -------- WEATHER API SECTION -------- */
.section-intro {
    text-align: center;
    margin-bottom: 20px;
}

.weather-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.weather-controls select,
.weather-controls button {
    padding: 10px;
    border: 1px solid #d2a679;
    border-radius: 6px;
    font-size: 1rem;
}

.weather-controls button {
    background-color: brown;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.weather-controls button:hover {
    background-color: darkorange;
}

.weather-card {
    max-width: 450px;
    margin: auto;
    background-color: #fff3e6;
    border: 2px solid #d2a679;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.weather-card h3 {
    color: brown;
    margin-bottom: 10px;
}

/* -------- RESPONSIVE DESIGN -------- */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .nav-items,
    .hero-section,
    .info-section,
    .recipe-layout,
    .cookie-card-container,
    .weather-controls {
        flex-direction: column;
    }

    .hero-section,
    .content-section {
        padding: 20px;
    }

    #main-title {
        font-size: 2rem;
    }

    .weather-controls select,
    .weather-controls button {
        width: 100%;
    }
}
