/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #faf9f6;
}

/* NAVEGACIÓN */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-logo-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8px;
}

.brand-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: #985b63;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #8c7365;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

nav a.btn-nav {
    background: #6b4e71;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* HERO / BANNER PRINCIPAL */
.hero {
    position: relative;
    min-height: 400px;
    background-color: #f3eae8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    overflow: hidden;
}

.hero-content {
    max-width: 480px;
    z-index: 2;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.6rem;
    color: #2b1d2c;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-content p {
    font-size: 1.1rem;
    color: #524253;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.hero-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
    mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.btn-main {
    display: inline-block;
    background: #6b4e71;
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-main:hover {
    background-color: #533a58;
}

/* SECCIONES GENERALES */
.section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bg-light {
    background: #f9f4f2;
}

.section h2 {
    font-size: 2rem;
    color: #4a314d;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #777;
    margin-bottom: 3rem;
}

/* GALERÍA GRID */
.grid-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-info {
    padding: 1.5rem;
    text-align: left;
}

.card-info h3 {
    margin-bottom: 0.5rem;
    color: #4a314d;
}

.card-info p {
    color: #666;
    font-size: 0.95rem;
}

/* CONTACTO */
.contacto-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

.btn-instagram {
    background: #E1306C;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
}

/* FOOTER */
footer {
    background: #333;
    color: #ccc;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* CARRUSEL DE TARJETA */
.carousel-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background-color: #f5f5f5;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    transition: background-color 0.2s ease;
    z-index: 2;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.75);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
        text-align: center;
    }

    .navbar nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .navbar nav a {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .hero {
        flex-direction: column;
        padding: 3rem 1.5rem;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-img {
        position: relative;
        width: 100%;
        height: 250px;
        margin-top: 1.5rem;
        -webkit-mask-image: none;
        mask-image: none;
        border-radius: 12px;
    }
}