/* Estilos Gerais */
:root {
    --primary-color: #b10105;
    --secondary-color: #4B4B4B;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 36px;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #4B4B4B;
    background-image: url(../images/deco/body.jpg);
    background-repeat: repeat;
}

a{transition: all 0.3s ease;}

/* Navbar */
.navbar {
    background-color: #f2f0f1;
    box-shadow: none;
    padding: 1rem 0;
    border-bottom: 1px solid #d1d0d0;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: #000 !important;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-image: url(../images/deco/menu-boton-hover.gif);
    background-repeat: repeat-x;
    color: var(--primary-color) !important;
    text-shadow: none;
    margin: 0;
    border-width: 0;
}

/* Hero Section */
.hero-section {
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-section .badge {
    background-color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: #8c0102 1px 1px 1px;
    font-size: var(--font-size-xxl);
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0;
    background: none;
    border: none;
}

.hero-section .lead {
    color: #fff;
    font-size: var(--font-size-lg);
    text-shadow: #8c0102 1px 1px 1px;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #d30006;
    padding-top: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: #900;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #900;
    border-color: #700;
    transform: translateY(-3px);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
}

/* Seções */
.section-title {
    color: var(--primary-color);
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--font-size-xl);
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 13px 0 13px 50px;
    background-image: url(../images/deco/h1.gif);
    background-repeat: no-repeat;
    border-bottom: 1px solid #9f9f9f;
}

.section-orcamento{background-color:#353535;}

/* Cards */
.card {
    border: 1px solid #9f9f9f;
    transition: transform 0.3s ease;
}

.card-body h4 {
    color: var(--primary-color);
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.card-body p {
    font-size: var(--font-size-base);
    line-height: 1.6;
}

/* Footer */
footer {
    background-image: url(../images/deco/footer.jpg);
    background-repeat: repeat-x;
    padding: 8px 0;
    color: #C0C0C0;
    font-size: var(--font-size-sm);
}

footer a {
    color: #a71216;
    text-decoration: none;
    font-size: var(--font-size-sm);
    padding: 0 2px;
}

footer a:hover {
    color: #353535;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    :root {
        --font-size-base: 14px;
        --font-size-lg: 16px;
        --font-size-xl: 20px;
        --font-size-xxl: 28px;
    }

    .hero-section {
        height: 500px;
        margin-top: 62px;
    }

    .hero-section h1 {
        font-size: var(--font-size-xxl);
    }

    .hero-section .lead {
        font-size: var(--font-size-lg);
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }

    .nav-link {
        font-size: var(--font-size-base);
    }
}

/* Cards de Serviços */
.card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    position: relative;
    z-index: 1;
    background: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Portfólio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 30px;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(177, 1, 5, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-size: var(--font-size-lg);
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    font-size: var(--font-size-base);
}

/* Formulário de Orçamento */
.form-control {
    font-size: var(--font-size-base);
    padding: 0.8rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(227, 24, 55, 0.25);
}

/* Seção Por que nos escolher */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .portfolio-item {
        margin-bottom: 30px;
    }
    
    .portfolio-overlay {
        opacity: 1;
        background: rgba(227, 24, 55, 0.8);
    }
} 
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 1;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float i{font-size: 30px;margin:0!important;}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}
