/* ====================================
   ESTILOS PRINCIPAIS - CastraPetBH
   Comentários indicam onde editar conteúdo ou aparência
==================================== */

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ===== VARIÁVEIS ===== */
:root {
    --primary: #4CAF50;
    --dark: #2E7D32;
    --light: #E8F5E9;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.nav-logo {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
}
.nav-menu { display: flex; gap: 2rem; list-style: none; }
.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}
.nav-link:hover { color: var(--primary); }
/* ===== HERO ===== */


.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem;
    background: linear-gradient(135deg, var(--light), #f0fff0);
}
.hero-content { max-width: 900px; text-align: left; }
.hero-title { font-size: 2.5rem; color: var(--dark); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; color: #666; margin-bottom: 2rem; }
.hero-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--dark); }
.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; }

/* ===== SERVICES ===== */
.services { padding: 5rem 2rem; background: #fff; text-align: center; }
.section-title { color: var(--dark); font-size: 2rem; margin-bottom: 2rem; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.service-icon { width: 60px; margin-bottom: 1rem; }

/* ===== ABOUT ===== */
.about { background: var(--light); padding: 5rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
.about-content img { width: 350px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.about-content div { max-width: 500px; }
.about-content p { color: #555; margin-bottom: 2rem; }

/* ===== CONTACT ===== */
.contact { padding: 5rem 2rem; text-align: center; }
.contact-text { color: #666; margin-bottom: 2rem; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: #fff; padding: 1.5rem 2rem; text-align: center; }
.footer-links a { color: #a5d6a7; text-decoration: none; margin: 0 5px; }
.footer-links a:hover { color: #fff; }

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 32px; height: 32px; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 7rem; }
    .about { flex-direction: column; }
}

.nav-logo img {
    height: 60px; /* ajuste conforme a proporção da sua logo */
    width: auto;
}

/* ===== AJUSTE DE TAMANHO PADRÃO PARA IMAGENS HERO E ABOUT ===== */

/* Imagem principal do cabeçalho */
.hero-image img {
    max-width: 400px;      /* limite de largura */
    width: 100%;           /* responsivo */
    height: auto;          /* mantém proporção */
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Imagem da seção "Sobre" */
.about-content img {
    max-width: 30px;      /* define um limite menor */
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
