:root {
    --primary: #C9A24D;
    --dark: #1b1b1b;
    --light: #f7f7f7;
    --text: #333;
}

/* ==============================
   GENERAL
============================== */

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--text);
    scroll-behavior: smooth;
}

.section {
    padding: 40px 0; /* separación controlada */
}

.section-title {
    font-weight: 700;
    margin-bottom: 20px;
}

/* ==============================
   NAVBAR
============================== */

.navbar {
    background: rgba(0,0,0,.75);
}

.navbar-brand,
.nav-link {
    color: #fff !important;
    font-weight: 600;
    transition: color .3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* LOGO EN NAVBAR */
.navbar-logo {
    height: 36px;        /* ajusta si lo quieres más grande */
    width: auto;
}

/* ==============================
   HERO
============================== */

.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
        url('Medano1.webp') center/cover;
    color: #fff;
}

/* ==============================
   FEATURES
============================== */

.feature i {
    font-size: 3rem;
    color: var(--primary);
}

.feature h5 {
    margin-top: 15px;
    font-weight: 600;
}

/* ==============================
   GALERÍA (MISMO TAMAÑO VISUAL)
============================== */

.gallery-img {
    width: 100%;
    height: 260px;          /* TODAS IGUALES */
    object-fit: cover;      /* RECORTE ELEGANTE */
    border-radius: 20px;
    cursor: pointer;
    transition: transform .4s ease, box-shadow .4s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,.3);
}

/* ==============================
   MODAL / LIGHTBOX TIPO CARRUSEL
============================== */

.modal-content {
    background: transparent;
    border: none;
}

.modal-dialog {
    max-width: 90%;
    margin: auto;
}

.modal-body {
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen grande (NO recortada) */
.modal-body img {
    max-height: 85vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,.6);
}

/* Flechas laterales */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    border: none;
    color: #fff;
    font-size: 2.8rem;
    padding: 10px 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .3s ease, background .3s ease;
    z-index: 10;
}

.gallery-arrow.left {
    left: 15px;
}

.gallery-arrow.right {
    right: 15px;
}

.gallery-arrow:hover {
    background: rgba(0,0,0,.8);
    transform: translateY(-50%) scale(1.15);
}

/* ==============================
   FORMULARIO
============================== */

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.form-control {
    padding: 14px;
    border-radius: 12px;
}

/* ==============================
   BOTONES (COLOR MÉDANO)
============================== */

.btn-primary,
.btn-success {
    background-color: var(--primary) !important;
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all .35s ease;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: #b08d3f !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.25);
    color: #fff;
}

.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(201, 162, 77, 0.35);
}

/* ==============================
   CONTACTO / REDES
============================== */

.contact-icons a {
    font-size: 2.5rem;
    margin: 0 15px;
    color: var(--dark);
    transition: transform .3s ease, color .3s ease;
}

.contact-icons a:hover {
    transform: scale(1.2);
    color: var(--primary);
}

/* ==============================
   MAPA
============================== */

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

/* ==============================
   WHATSAPP FLOAT (FORMA OLA)
============================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;

    width: 70px;
    height: 70px;

    background: linear-gradient(135deg, #C9A24D, #1ebe5d);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;

    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;

    box-shadow: 0 15px 30px rgba(0,0,0,.3);
    transition: transform .4s ease, box-shadow .4s ease;

    animation: wave 4s ease-in-out infinite;
    z-index: 999;
}

.whatsapp-float i {
    z-index: 2;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

/* Animación tipo ola */
@keyframes wave {
    0% {
        border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    }
    50% {
        border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
    }
    100% {
        border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    }
}

/* ==============================
   FOOTER
============================== */

footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
}

footer a {
    color: #aaa;               /* mismo color que el texto */
    text-decoration: none;     /* sin subrayado */
    font-weight: 500;
    transition: color .3s ease, text-shadow .3s ease;
}

footer a:hover {
    color: var(--primary);     /* dorado del sitio */
    text-shadow: 0 0 6px rgba(201,162,77,.6);
}

/* ==============================
   ANIMACIONES
============================== */

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards;
}

.delay-1 { animation-delay: .5s; }
.delay-2 { animation-delay: 1s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}