/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0056b3;
}

.logo span {
    color: #ff7b00;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0056b3;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Banner Principal */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/banner-principal.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    margin: 5px;
}

.btn:hover {
    background-color: #128C7E;
}

.btn-call {
    background-color: #FF0000;
}

.btn-call:hover {
    background-color: #CC0000;
}

/* Seção Serviços */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.img-eletricista {
    background-image: url('../img/eletricista.jpg');
}

.img-encanamento {
    background-image: url('../img/encanamento.jpg');
}

.img-desentupimento {
    background-image: url('../img/desentupimento.jpg');
}

.img-reparos {
    background-image: url('../img/reparos.jpg');
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: #0056b3;
    margin-bottom: 10px;
}

/* Seção Sobre */
.about {
    padding: 80px 0;
    background-color: #f1f7fe;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: #0056b3;
    margin-bottom: 20px;
}

.about-text ul {
    margin-top: 20px;
    list-style-position: inside;
}

.about-text li {
    margin-bottom: 10px;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Seção Depoimentos */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #0056b3;
}

/* Seção Contato */
.contact {
    padding: 80px 0;
    background-color: #f1f7fe;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: #0056b3;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: #0056b3;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.emergency-contact {
    margin-top: 30px;
    background-color: #ffebee;
    padding: 15px;
    border-radius: 5px;
}

.emergency-contact h4 {
    color: #d32f2f;
    margin-bottom: 10px;
}

.emergency-phone {
    font-weight: bold;
    font-size: 18px;
}

.emergency-phone a {
    color: #d32f2f;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #003d7a;
}

/* Rodapé */
footer {
    background-color: #0056b3;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Botões Flutuantes */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.float-whatsapp {
    right: 40px;
    background: #25D366;
    color: white;
}

.float-phone {
    left: 40px;
    background: #FF0000;
    color: white;
}

.float-btn i {
    font-size: 24px;
}

.float-btn span {
    display: none;
    font-size: 14px;
    margin-left: 5px;
}

.float-btn:hover {
    width: auto;
    padding: 0 20px;
}

.float-btn:hover span {
    display: inline;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsivo */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
    }
    
    .float-whatsapp {
        right: 20px;
    }
    
    .float-phone {
        left: 20px;
    }
}