:root {
    --primary-color: #1a3c5c;
    --secondary-color: #c9a96e;
    --accent-color: #2c5c3d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}
    
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown {
    position: relative; 
    z-index: 1050;
}
    
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
    
.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}
    
.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}
    
.nav-link:hover {
    color: var(--secondary-color) !important;
}
    
.carousel-item {
    height: 70vh;
    min-height: 400px;
}
    
.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.8);
}
    
.carousel-caption {
    bottom: 20%;
    padding: 1rem;
    border-radius: 10px;
}
    
.section-title {
    position: relative;
    margin-bottom: 3rem;
}
    
.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}
    
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}
    
.card-img-top {
    height: 200px;
    object-fit: cover;
}
    
.service-icon {
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}
    
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
    
.btn-primary:hover {
    background-color: #142c44;
    border-color: #142c44;
}

.btn-outline-primary{
    border: solid 1px var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover{
    background-color: var(--primary-color) !important;
    color: var(--light-color) !important;
}
    
footer {
    background-color: var(--dark-color);
}
    
.social-icons a {
    transition: transform 0.3s;
}
    
.social-icons a:hover {
    transform: translateY(-3px);
}
    
.whatsapp-float {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    bottom:20px; 
    right:20px;
}
    
.top-bar {
    background-color: var(--dark-color);
    padding: 8px 0;
    font-size: 0.9rem;
}
    
.top-bar a {
    transition: color 0.3s;
}
    
.top-bar a:hover {
    color: var(--secondary-color) !important;
}
    
.project-card {
    position: relative;
    overflow: hidden;
}
    
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 92, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
    
.project-card:hover .project-overlay {
    opacity: 1;
}
    
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary, .text-decoration-underline {
    color: var(--primary-color) !important;
}

.radio-primary {
  border: 2px solid var(--primary-color);
}

.radio-primary:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.marca-wrapper {
    position: relative;
}

.marca-wrapper .marca-dagua {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-image: url('/img/LogotipoSerralheria.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    background-position: center;
    pointer-events: none;
}

.img-portao {
    max-height: 220px; 
    min-height: 220px; 
    width: 100%; 
    object-fit: cover;
}

.img-card {
    height: 200px; 
    object-fit: cover;
}

.img-foco {
    max-height: 70vh; 
    object-fit: contain;
}

.img-dashboard {
    height: 200px;
}

.btn-outline-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}