/* Praja Distribuidora - Style CSS */

:root {
    --primary-color: #e67e22; /* Laranja Cozinha */
    --secondary-color: #2c3e50; /* Azul Escuro Corporativo */
    --accent-color: #f39c12;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
    transition: var(--transition);
}

img:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

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

header.scroll {
    padding: 10px 0;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

#menu {
    display: flex;
    gap: 30px;
}

#menu a {
    font-weight: 600;
    color: var(--secondary-color);
}

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

#btn-mobile {
    display: none;
}

/* Hero */
.hero {
    padding: 150px 0 80px;
    background: var(--light-bg);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* About */
.about {
    padding: 80px 0;
}

.about .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card img {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Contact */
.contact {
    padding: 80px 0;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .about .container, .contact .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .about-stats { justify-content: center; }
    .hero-image { order: -1; }
}

@media (max-width: 768px) {
    #btn-mobile {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    #hamburger {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--secondary-color);
        position: relative;
    }
    
    #hamburger::before, #hamburger::after {
        content: '';
        display: block;
        width: 25px;
        height: 2px;
        background: var(--secondary-color);
        position: absolute;
        transition: 0.3s;
    }
    
    #hamburger::before { top: -8px; }
    #hamburger::after { bottom: -8px; }
    
    #nav.active #hamburger { background: transparent; }
    #nav.active #hamburger::before { transform: rotate(135deg); top: 0; }
    #nav.active #hamburger::after { transform: rotate(-135deg); bottom: 0; }
    
    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: 70px;
        right: 0;
        background: var(--white);
        height: 0;
        transition: 0.6s;
        z-index: 1000;
        visibility: hidden;
        overflow-y: hidden;
    }
    
    #nav.active #menu {
        height: calc(100vh - 70px);
        visibility: visible;
        overflow-y: auto;
    }
    
    #menu li {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}
