/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f4f4f4 url('images/wallpaper.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

/* Common Elements */
.title {
    color: #333;
    font-size: 2em;
    margin-bottom: 1rem;
    text-align: center;
}

.description {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.fas {
    margin-right: 0.5rem;
    color: #333;
}

/* Layout Components */
header {
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 1rem;
}

main {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

footer {
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: black;
    backdrop-filter: blur(3px);
    margin-top: auto;
}

/* Navigation */
.main-nav {
    width: 100%;
    padding: 1rem 0;
    background-color: #f8f8f8;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #333;
    color: white;
}

/* Page Title Section */
.page-title {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.page-title h2 {
    color: #333;
    font-size: 2em;
}

/* Index Page Specific */
.address {
    font-size: 0.8em;
    color: #777;
    text-align: center;
    margin-bottom: 0.2rem;
}

.about-section {
    margin-left: 10px;
    color: #333;
    text-align: left;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.hero {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

#hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.2));
    color: white;
    text-align: center;
}

#hero-title {
    font-size: 2.5em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#hero-description {
    font-size: 1.2em;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.nav-button {
    background-color: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.nav-button:hover,
.nav-button:active {
    background-color: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.nav-button:active {
    transform: scale(0.98);
}

.contact-info {
    text-align: center;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Recipes Page Specific */
.recipe-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.recipe-card h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.recipe-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    cursor: pointer;
}

.meta-item {
    text-align: center;
    font-weight: bold;
}

.recipe-details {
    display: none;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.equipment {
    font-size: 0.85em;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
}

.equipment h3 {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Contact Page Specific */
.testimonial {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #333;
    font-style: italic;
}

.contact-form {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
}

.contact-preference {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.contact-preference label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.error-message {
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 0.5rem;
    display: none;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #444;
    transform: scale(1.05);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        height: 400px;
    }

    #hero-title {
        font-size: 2em;
    }

    #hero-description {
        font-size: 1em;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-preference {
        flex-direction: column;
        gap: 1rem;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-content {
        padding: 1rem;
    }

    #hero-title {
        font-size: 1.5em;
    }

    .nav-button {
        padding: 6px 12px;
        margin: 0 5px;
    }
}