/* ESTILOS CABECERA IDÉNTICOS AL ABOUT US */
#navegation .navbar-nav .nav-link {
    font-size: 1.6rem !important;
    font-weight: 600;
    margin: 0 22px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    color: #0F1E38 !important;
}

#navegation .navbar-nav .nav-link:hover,
#navegation .navbar-nav .nav-link.active {
    color: #94BA46 !important;
    transform: translateY(-2px);
}

#navegation .navbar-nav {
    align-items: center;
    gap: 17px;
}

/* ESTILOS PARA EL DROPDOWN */
#navegation .dropdown-toggle:focus {
    box-shadow: none !important;
    color: #94BA46 !important;
}

#navegation .dropdown-menu {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

#navegation .dropdown-item {
    font-size: 1.1rem;
    padding: 10px 15px;
    color: #0F1E38 !important;
    transition: all 0.3s ease;
}

#navegation .dropdown-item:hover,
#navegation .dropdown-item:focus {
    background-color: #94BA46 !important;
    color: white !important;
}

#navegation .dropdown-item.active {
    background-color: #94BA46 !important;
    color: white !important;
}

#navegation .nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.navbar-social .fa-facebook {
    color: #1877f2 !important;
}

.navbar-social .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-social a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.navbar-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Botón Scroll */
.boton-scroll a {
    position: fixed;
    width: 40px;
    text-align: center;
    font-size: 25px;
    bottom: 4%;
    right: 2%;
    z-index: 9;
    background-color: #0f172a;
    color: #d1d5db;
    opacity: 0.5;
    border-radius: 100%;
    visibility: hidden;
    animation: baja-sube 1s ease infinite;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.boton-scroll a:hover {
    background-color: #0f172a;
    color: lawngreen;
    border: 1px solid black;
    transform: scale(1.1);
    opacity: 1 !important;
}

@keyframes baja-sube {
    0% { transform: translateY(10px); }
    25% { transform: translateY(0px); }
    100% { transform: translateY(10px); }
}

/* ESTILOS DECK SERVICES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #2c3e50;
    line-height: 1.6;
    padding: 20px;
}

:root {
    --primary: #2c3e50;
    --secondary: #94BA46;
    --accent: #94BA46;
    --light: #ecf0f1;
}

.deck-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* TÍTULOS PERFECTAMENTE CENTRADOS */
.section-title {
    text-align: center !important;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 0.5rem auto !important;
    position: static !important;
}

.deck-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.deck-intro p {
    font-size: 1.1rem;
    color: #555;
}

.deck-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.deck-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.deck-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.deck-image {
    height: 250px;
    overflow: hidden;
}

.deck-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deck-card:hover .deck-image img {
    transform: scale(1.05);
}

.deck-content {
    padding: 1.5rem;
}

.deck-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50 !important;
}

.deck-content p {
    margin-bottom: 1.5rem;
    color: #555;
}

.deck-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.feature-icon {
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Gallery Styles */
.gallery-section {
    margin: 5rem 0;
}

.gallery-title {
    text-align: center !important;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.gallery-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 0.5rem auto !important;
    position: static !important;
}

/* Estilos para la galería */
.img-thumbnail {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.img-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Sección de Contacto */
.contact-section {
    background: #2c3e50;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-top: 40px;
    border-radius: 12px;
    border-top: 4px solid #94BA46 !important; /* MISMO VERDE QUE EL COPYRIGHT */
    border-bottom: 4px solid #94BA46 !important; /* MISMO VERDE QUE EL COPYRIGHT */
    position: relative;
}

.contact-section .section-title {
    color: white;
    margin-bottom: 20px;
}

.contact-section .section-title:after {
    background: #94BA46;
    margin: 0.5rem auto !important;
}

.contact-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: white;
}

.contact-section .btn {
    display: inline-block;
    background: #94BA46;
    color: white !important;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.contact-section .btn:hover {
    background: #0F1E38;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ESTILOS FOOTER */
.footer-title {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.6rem !important;
    font-weight: 600;
    color: #0F1E38 !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.footer-title:hover,
.footer-title.active {
    color: #94BA46 !important;
    transform: translateY(-2px);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #94BA46;
    transition: left 0.3s ease;
}

.footer-title:hover::after {
    left: 0;
}

.footer-text {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #0F1E38;
}

.footer-section ul li a.footer-text {
    font-size: 1.1rem;
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a.footer-text:hover {
    color: #0d6efd;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-social a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social .fa-facebook {
    color: #1877f2 !important;
}

.footer-social .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 3px solid #94BA46; /* Exactamente igual al de la cabecera */
    max-width: 1200px;
    margin: 0 auto;
}
.footer-bottom .footer-text {
    font-size: 1rem;
    color: white;
}
.site-footer {
    background-color:  #d1d5db !important; /* Azul de la cabecera */
    padding: 3rem 0 1rem;
    margin-top: 5rem;
    border-top: 4px solid #0F1E38; /* Borde verde en la parte superior */
    }
/* Responsive */
@media (max-width: 991px) {
    .navbar-social {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.3);
    }

    #navegation .navbar-nav .nav-link {
        font-size: 1rem !important;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-title, .gallery-title {
        font-size: 2rem;
    }
    
    .deck-grid {
        grid-template-columns: 1fr;
    }
    
    .deck-container {
        padding: 1rem;
    }
}
