/* ========================================
   MARCENARIA VERA LUCIA - ESTILOS GLOBAIS
   ======================================== */

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

:root {
    --primary-color: #8B6F47;
    --secondary-color: #D2B48C;
    --dark-color: #2C2C2C;
    --light-color: #F5F5F5;
    --accent-color: #C4A57B;
    --text-color: #333;
    --border-color: #E0E0E0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

/* ========================================
   NAVEGAÇÃO
   ======================================== */

.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a3a3a 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.logo-text .tagline {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 300;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7) 0%, rgba(139, 111, 71, 0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-block;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--light-color);
}

.btn-small {
    padding: 10px 25px;
    font-size: 14px;
    background: var(--primary-color);
    color: white;
    margin-top: 15px;
}

.btn-small:hover {
    background: var(--accent-color);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    font-weight: 700;
    padding: 16px 50px;
    font-size: 18px;
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background: #1ead50;
    transform: translateY(-3px);
}

/* ========================================
   SEÇÃO DE SERVIÇOS
   ======================================== */

.servicos {
    padding: 80px 20px;
    background: var(--light-color);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

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

.servico-card {
    background: white;
    padding: 0;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.servico-imagem {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.servico-card h3,
.servico-card p {
    padding: 0 30px;
}

.servico-card h3 {
    padding-top: 20px;
}

.servico-card p {
    padding-bottom: 20px;
}

.servico-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    padding-top: 20px;
}

.servico-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.servico-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ========================================
   PORTFOLIO
   ======================================== */

.portfolio {
    padding: 80px 20px;
    background: white;
}

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

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item h3 {
    padding: 20px 20px 10px;
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.portfolio-item p {
    padding: 0 20px 20px;
    color: #666;
    font-size: 14px;
}

/* ========================================
   SEÇÃO SOBRE
   ======================================== */

.sobre {
    padding: 80px 20px;
    background: var(--light-color);
}

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

.sobre-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sobre-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
}

.sobre-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.info-item {
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ========================================
   SEÇÃO CONTATO
   ======================================== */

.contato {
    padding: 80px 20px;
    background: white;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: var(--accent-color);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-whatsapp {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 8px;
    border-left: 4px solid #25D366;
    text-align: center;
}

.contato-whatsapp h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contato-whatsapp p {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.contato-form button {
    margin-top: 10px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #3a3a3a 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-endereco {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .servicos-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .placeholder-image {
        height: 300px;
    }

    .navbar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .servico-card,
    .info-box {
        padding: 25px 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
