/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e67e22;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e67e22;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('home.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Menu Section */
.menu-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3 {
    padding: 1.5rem 1rem 0.5rem;
    color: #e67e22;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-item p {
    padding: 0 1rem 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background: #f9f9f9;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    min-width: 300px;
    box-sizing: border-box;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i.fas {
    font-size: 2rem;
    color: #e67e22;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-card p i {
    font-size: 1rem;
    color: #e67e22;
}

.social-links-contact {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links-contact a {
    color: #666;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    color: #e67e22;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f8f8;
    height: 3.5rem;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:focus {
    border-color: #e67e22;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
}

.form-group select option {
    padding: 0.5rem;
    font-size: 1rem;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #e67e22;
    outline: none;
    background-color: white;
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.1);
}

.form-group input:not(:placeholder-shown) + label,
.form-group input:focus + label {
    top: -0.8rem;
    left: 0.8rem;
    font-size: 0.75rem;
    background: #fff;
    padding: 0 0.5rem;
    color: #e67e22;
    font-weight: 600;
    z-index: 2;
    transition: all 0.3s ease;
}
.form-group input::placeholder {
    color: transparent;
}
.form-group input:focus::placeholder {
    color: #bbb;
}
.form-group input[type="number"] + label {
    /* Don't float label for number fields in sofrito-quantities */
    position: static;
    font-size: 1rem;
    color: #333;
    background: none;
    padding: 0;
    left: 0;
    top: 0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e67e22;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active,
.slide-in.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-item {
        max-width: 100%;
    }
}

/* Animation Classes */
.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Recipes Section */
.recipes-section {
    padding: 5rem 5%;
    background: white;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.recipe-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.recipe-item:hover {
    transform: translateY(-10px);
}

.recipe-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-item h3 {
    padding: 1.5rem 1rem 0.5rem;
    color: #e67e22;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.4;
}

.recipe-item p {
    padding: 0 1rem 1rem;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.recipe-button {
    margin: 0 1rem 1.5rem;
    padding: 0.8rem 1.5rem;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.recipe-button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #e67e22;
}

#recipeContent {
    margin-top: 1rem;
}

#recipeContent h2 {
    color: #e67e22;
    margin-bottom: 1rem;
}

#recipeContent h3 {
    color: #333;
    margin: 1.5rem 0 0.5rem;
}

#recipeContent ul, #recipeContent ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#recipeContent li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-item {
        max-width: 100%;
    }
} 

.image-modal-content {
    background: none;
    box-shadow: none;
    border: none;
    text-align: center;
    margin: 5% auto;
    padding: 0;
    max-width: 90vw;
}
#imageModal .close-button {
    color: #fff;
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
#imageModal .close-button:hover {
    color: #e67e22;
} 

.sofrito-quantities {
    margin-bottom: 1.5rem;
}
.sofrito-quantities label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.75rem;
    position: static;
    background: none;
    color: #333;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
}
.sofrito-type-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}
.sofrito-type-row span {
    flex: 1;
    font-size: 1rem;
}
.sofrito-type-row input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
} 