html {
    scroll-behavior: smooth;
}
body {
    background-color: #000;
    color: white;
    font-family: "Michroma", sans-serif;
    padding-top:  120px;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(to right, #000000, #111111);
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 50px;
    position: fixed; /* Esto hace que el navbar quede fijo cuando bajamos*/
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
/* Link acceso app en navbar */
.nav-link-app {
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    padding: 6px 14px !important;
    transition: background 0.3s ease;
}

.nav-link-app:hover {
    background-color: rgba(212, 175, 55, 0.15);
    color: #f0cc55 !important;
}
.navbar-brand img {
    width: 130px;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    gap: 20px;
}

.nav-link {
    color: white !important;
    font-size: 14px;
    letter-spacing: 4px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #d4af37 !important;
    transform: translateY(-2px);
}

/* HERO / PORTADA */
.guardiaPortada {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background-color: #000;
}

/* Imagen izquierda */
.guardiaPortada img {
    width: 45%;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
    align-self: center;
}

/* Capa oscura sobre imagen */
.overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 15%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* Texto hero */
.hero-content {
    position: absolute;
    z-index: 2;
    max-width: 600px;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.hero-content .btn {
    font-family: "Michroma", sans-serif;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
}

/* Sección Nosotros */
.hero-right {
    width: 55%;
    margin-left: auto;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, #000000, #070707);
    border-left: none;
    scroll-margin-top: 140px;
    
}

.hero-right h2 {
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);

}

.hero-right p {
    color: #dddddd;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.servicios-section {
    background-color: #000;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.servicios-section .container {
    max-width: 1000px;

}

.servicios-columnas {
    display: flex;
    align-items: center;
}

.imagen-bodega {
    width: 45%;
    height: 400px;
    border-radius: 10px;
}

.servicios-section h2 {
    color: #d4af37;
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 45px;
    text-align: center; 
    margin-top: auto;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.lista-servicios {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Michroma", sans-serif;
    width: 55%;
    padding-right: 40px;
}

.lista-servicios li {
    color: #dddddd;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 20px 0 20px 42px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.lista-servicios li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.contacto-section {
    background-color: #000;
    padding: 120px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contacto-section .container {
    max-width: 1000px;
}
.contacto-section h2 {
    color: #d4af37;
    font-size: 2.5rem;
    letter-spacing: 10px;
    margin-bottom: 45px;
    text-align: center;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

/* Seccion del formuario*/
.contacto-section input {
    width: 100%;
    padding: 12px;
    background-color: #111111 ;
    color: #dddddd;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 9px;
}

.honeypot {
    display: none;
}
.contacto-section button {
    width: 100%; 
    padding: 12px;
    background-color: #d4af37;
    color: #000;
    border: none;
    border-radius: 9px;
    cursor: pointer;
}
/* Seccion del mensaje*/
.contacto-section textarea {
    width: 100%;
    padding: 12px;
    background-color: #111111 ;
    color: #dddddd;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 9px;
}

.contacto-section form {
    max-width: 500px;
    align-items: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-columnas {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: auto;
}

.contacto-columnas iframe {
    width: 50%;
    border-radius: 10px;
}

#mensaje-exito {
    display: none;
    color: #d4af37;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
}

.footer {
    text-align: right;
    padding: 30px;
}

.footer a{
    color: #dddddd;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content {
        position: relative;
        top: auto;
        transform: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .guardiaPortada {
        flex-direction: column;
        min-height: auto;
    }

    .guardiaPortada img {
        width: 100%;
    }

    .overlay {
        width: 100%;
        height: 55%;
    }

    .hero-right {
        width: 100%;
        padding: 50px 35px;
        border-left: none;
        border-top: 1px solid rgba(212, 175, 55, 0.25);
    }
}

@media (max-width: 576px) {
    .hero-content {
        left: 5%;
        right: 5%;
        top: 35%;
        transform: translateY(-50%);
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .navbar-nav {
        gap: 8px;
        padding-top: 10px;
    }

    .hero-right {
        padding: 40px 25px;
    }

    .hero-right h2 {
        font-size: 1.5rem;
    }

    .hero-right p {
        font-size: 0.95rem;
    }

    .servicios-section {
        padding: 80px 0;
    }

    .servicios-section h2 {
        font-size: 1.6rem;
    }

    .lista-servicios li {
        font-size: 0.95rem;
        padding-left: 28px;
    }
}