/* AppetizEmporio Recipe Blog - Modern Food Blog Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #4CAF50;
    --light-green: #81C784;
    --fresh-green: #66BB6A;
    --light-orange: #FFB74D;
    --warm-orange: #FFA726;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --soft-gray: #E9ECEF;
    --text-dark: #212529;
    --text-medium: #6C757D;
    --text-light: #ADB5BD;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95) 0%, rgba(255, 183, 77, 0.95) 100%),
                url('/images/a6.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.85) 0%, rgba(255, 183, 77, 0.85) 100%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 1.1rem 2.75rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.3px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Featured Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recipe-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--soft-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(76, 175, 80, 0.2);
}

.recipe-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    max-width: 100%;
    transition: transform 0.4s ease;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.recipe-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recipe-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.recipe-card p {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.recipe-link {
    color: var(--warm-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.recipe-link:hover {
    color: var(--light-orange);
    gap: 0.75rem;
}

.recipe-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.recipe-link:hover::after {
    transform: translateX(4px);
}

/* Benefits Section */
.benefits {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--soft-gray);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(76, 175, 80, 0.2);
}

.benefit-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95) 0%, rgba(102, 187, 106, 0.95) 100%),
                url('/images/a7.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(102, 187, 106, 0.9) 100%);
    z-index: 1;
}

.newsletter > * {
    position: relative;
    z-index: 2;
}

.newsletter-form {
    max-width: 550px;
    margin: 2.5rem auto 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 280px;
    padding: 1.1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: var(--shadow-md);
}

.newsletter-form button {
    padding: 1.1rem 2.5rem;
    background-color: var(--warm-orange);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
}

.newsletter-form button:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Blog Content */
.blog-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-post {
    margin-bottom: 4rem;
}

.blog-post img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    display: block;
}

.blog-post h1 {
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.blog-post h2 {
    color: var(--text-dark);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.blog-post ul, .blog-post ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-post li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-post p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.ingredients-list {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid var(--soft-gray);
}

.ingredients-list h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.steps-list {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--primary-green);
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
}

.steps-list h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

/* Contact Form */
.contact-form {
    max-width: 650px;
    margin: 3rem auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--soft-gray);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--soft-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--fresh-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Features List */
.features-list {
    list-style: none;
    max-width: 750px;
    margin: 3rem auto;
}

.features-list li {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--soft-gray);
    border-left: 4px solid var(--primary-green);
}

.features-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.features-list li::before {
    content: "✓ ";
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.features-list li strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 3.5rem 2rem 2rem;
    margin-top: 5rem;
}

footer p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

footer a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--fresh-green);
    text-decoration: underline;
}

/* About Page Image */
.about-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        margin-top: 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 5rem 1.5rem 4rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recipe-card img {
        height: 220px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter {
        padding: 4rem 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .blog-content {
        padding: 2rem 1.5rem;
    }
    
    .blog-post img {
        max-height: 350px;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .about-image {
        max-height: 350px;
    }
}

