@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Montserrat:wght@300;400;500;600;700&family=Pinyon+Script&display=swap');

/* ========== VARIABLES Y ESTILOS GLOBALES ========== */
:root {
    --color-primary: #12100C;
    --color-secondary: #C9A24A;
    --color-accent: #6B4E2E;
    --color-light: #F8F3E7;
    --color-dark: #1F1B16;
    --color-white: #FFFDF7;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVEGACIÓN ========== */
.navbar {
    background-color: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

/* Logo reemplazado por imagen */
.logo {
    width: 180px;
    height: 65px;
    background-image: url('../img/logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 17px;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========== SECCIÓN HERO ========== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #12100C 0%, #3A2A18 55%, #6B4E2E 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,253,247,0.08)"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

/* Título central con estilo cursivo dorado */
.hero-title {
    font-family: 'Pinyon Script', cursive;
    font-size: 115px;
    font-weight: 400;
    color: #D6AF4B;
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: none;
    background: linear-gradient(180deg, #FFF1A8 0%, #D6AF4B 45%, #9F741E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 8px rgba(214, 175, 75, 0.35),
        0 0 20px rgba(214, 175, 75, 0.20),
        2px 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--color-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn-whatsapp-hero {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(201, 162, 74, 0.4);
}

.btn-whatsapp-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 162, 74, 0.6);
    background-color: #E0BE66;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECCIÓN GALERÍA ========== */
.galeria {
    padding: 80px 0;
    background-color: var(--color-light);
}

.section-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: #7A746A;
    font-size: 18px;
    margin-bottom: 50px;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.carousel-main {
    width: 100%;
    max-width: 700px;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(18, 16, 12, 0.28);
}

.carousel-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #CFC6B5;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--color-secondary);
    transform: scale(1.3);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.galeria-item {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.galeria-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(18, 16, 12, 0.25);
}

.galeria-item.activa {
    border-color: var(--color-secondary);
    box-shadow: 0 0 12px rgba(201, 162, 74, 0.85);
}

/* ========== SECCIÓN SOBRE NOSOTROS ========== */
.sobre-nosotros {
    padding: 80px 0;
    background-color: var(--color-white);
}

.sobre-contenido {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-contenido p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #5F584E;
    text-align: justify;
}

.caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.caracteristica {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(201, 162, 74, 0.16) 0%, rgba(107, 78, 46, 0.10) 100%);
    border-radius: 10px;
    transition: var(--transition);
}

.caracteristica:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(18, 16, 12, 0.12);
}

.caracteristica h3 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.caracteristica p {
    font-size: 16px;
    color: #6E675C;
    margin-bottom: 0;
}

/* ========== SECCIÓN CONTACTO ========== */
.contacto {
    padding: 80px 0;
    background: linear-gradient(135deg, #12100C 0%, #3A2A18 60%, #6B4E2E 100%);
    color: var(--color-white);
}

.contacto .section-title,
.contacto .section-subtitle {
    color: var(--color-secondary);
}

.contacto .section-subtitle {
    color: var(--color-light);
}

.contacto-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.info-contacto {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 253, 247, 0.10);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.info-contacto:hover {
    background-color: rgba(255, 253, 247, 0.18);
    transform: translateY(-5px);
}

.info-contacto h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.info-contacto p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-whatsapp {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    background-color: #E0BE66;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* ========== FOOTER ========== */
.footer {
    background-color: #12100C;
    color: var(--color-white);
    text-align: center;
    padding: 30px 0;
    border-top: 3px solid var(--color-secondary);
}

.footer p {
    margin: 5px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        justify-content: center;
        height: 80px;
    }

    .logo {
        width: 170px;
        height: 65px;
        background-size: contain;
        background-position: center;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger span {
        width: 28px;
        height: 3px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0;
        padding: 25px 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 16px 20px;
        text-align: center;
        font-size: 21px;
        font-weight: 600;
        border-bottom: 1px solid rgba(255, 253, 247, 0.12);
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 76px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .btn-whatsapp-hero {
        padding: 12px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .carousel-main {
        max-width: 100%;
        height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .caracteristicas {
        grid-template-columns: 1fr;
    }

    .sobre-contenido p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 70px;
        justify-content: center;
    }

    .logo {
        width: 145px;
        height: 55px;
    }

    .hamburger {
        right: 12px;
    }

    .hamburger span {
        width: 27px;
        height: 3px;
    }

    .nav-menu {
        top: 70px;
        padding: 22px 0;
    }

    .nav-link {
        font-size: 20px;
        padding: 15px 20px;
    }

    .hero-title {
        font-size: 58px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .carousel-container {
        gap: 10px;
    }

    .carousel-main {
        height: 300px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}