/* 
 * Sempie - Brazilian Culinary Experiences
 * Main Stylesheet
 */

/* ==================== 
   Base Styles 
   ==================== */
:root {
    /* Primary colors - Brazilian flag colors */
    --primary-green: #009c3b; 
    --primary-yellow: #ffdf00;
    --primary-blue: #002776;
    
    /* Secondary colors - Warm food-inspired palette */
    --secondary-brown: #8b4513;
    --secondary-orange: #f58634;
    --secondary-beige: #f5e1c0;
    
    /* Neutral colors */
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #e9e9e9;
    --medium-gray: #888888;
    --dark-gray: #333333;
    --black: #000000;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Merriweather', serif;
    
    /* Dimensions */
    --container-max-width: 1200px;
    --header-height: 80px;
    --section-spacing: 80px;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--off-white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-divider {
    margin: 20px auto;
    width: 150px;
    height: 10px;
}

.section-intro {
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    color: var(--medium-gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: var(--primary-green);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.secondary-btn {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

.secondary-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* ==================== 
   Header
   ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.tagline {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: -5px;
    margin-left: 60px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links li a {
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-green);
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* ==================== 
   Hero Section
   ==================== */
.hero-section {
    padding: 150px 0 80px;
    background: linear-gradient(
        to right bottom,
        rgba(255, 223, 0, 0.1),
        rgba(0, 156, 59, 0.2)
    );
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==================== 
   About Section
   ==================== */
.about-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    text-align: center;
}

.cooking-illustration {
    max-width: 100%;
    height: auto;
}

/* ==================== 
   Recipes Section
   ==================== */
.recipes-section {
    padding: var(--section-spacing) 0;
    background-color: var(--off-white);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.recipe-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.recipe-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.recipe-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-brown);
}

.section-cta {
    text-align: center;
}

/* ==================== 
   Entertainment Section
   ==================== */
.entertainment-section {
    padding: var(--section-spacing) 0;
    background-color: var(--white);
}

.entertainment-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.entertainment-item {
    background-color: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entertainment-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.entertainment-item a {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.entertainment-item a:hover {
    color: var(--primary-green);
}

.entertainment-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ==================== 
   Contact Section
   ==================== */
.contact-section {
    padding: var(--section-spacing) 0;
    background-color: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
}

.contact-info {
    padding: 20px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.contact-info p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
}

.social-links a:hover {
    background-color: var(--primary-blue);
}

/* ==================== 
   Footer
   ==================== */
.site-footer {
    padding: 60px 0 20px;
    background-color: var(--primary-blue);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    margin: 15px 0 5px;
    font-size: 1.5rem;
}

.footer-links h4,
.footer-newsletter h4 {
    position: relative;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary-yellow);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-gray);
}

.footer-links ul li a:hover {
    color: var(--primary-yellow);
}

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.footer-newsletter button {
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* ==================== 
   Responsive Design
   ==================== */
@media (max-width: 992px) {
    :root {
        --section-spacing: 60px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background-color: var(--white);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .footer-newsletter button {
        border-radius: var(--border-radius);
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 50px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        margin-left: 50px;
        font-size: 0.75rem;
    }
    
    .logo-svg {
        width: 40px;
    }
    
    .recipe-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .entertainment-links {
        grid-template-columns: 1fr;
    }
}

/* Add font imports at the top */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Merriweather:wght@400;700&display=swap');
