body{
margin:0;
font-family:'Montserrat', sans-serif;
background:#4b1fd1;
color:white;
}

header{
display: flex;
  justify-content: space-between;
  padding: 15px;
 background: #4d28ac;
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

nav a{
margin:0px  60px 10px 50px;
color:#7765ba;
text-decoration:none;
font-weight:600;
}

nav a:hover {
  color: #a891e3; /* El mismo rojo de tu botón para mantener la armonía */
  border-bottom: 0px solid #a891e3; /* Opcional: una línea debajo */
}

nav a.active-link {
    color: #ffffff; /* Color lila para resaltar */
    border-bottom: 0px solid #d19df1;
    padding-bottom: 5px;
}

.menu-toggle{
display:none;
cursor:pointer;
}

.hero{
position:relative;
height:100vh;
overflow:hidden;
}

.slide{
position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex; /* Para ayudar a centrar el contenido si fuera necesario */
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Se va al fondo */
}

.active{
opacity:1;
}

.arrow{
position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    background: #381a7b;
    padding: 30px;
    border-radius: 100%;
    z-index: 2000;
    color: #a891e3;
    user-select: none;
}

.left{ left:20px; 
 font-family: Montserrat;}
.right{ right:20px;
 font-family: Montserrat; }

.hero-content{
position: absolute;
  top: 30%;
  left: 10%;
  font-size: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;    /* Cambiado de 400 a 700 para que sea Bold */
  font-style: italic;
  z-index: 10;         /* Para que no lo tape el slider */
}

.hero-content button {
    pointer-events: auto; /* Permite clics en los botones */
}

.active {
    opacity: 1;
    z-index: 1; /* El slide activo se pone al frente */
}



button{
       padding: 8px 40px;
    border: none;
    background: #ff3b3b;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: larger;
}

.outline{
background:transparent;
border:2px solid white;
}

.cards{
display:flex;
gap:20px;
justify-content:center;
}

.card{
background:#d19df1;
padding:20px;
cursor:pointer;
border-radius:10px;
}

.servicios, .galeria{
padding:40px;
text-align:center;
}

.grid{
display: flex;          /* Cambiamos a flex para controlar mejor el centrado */
    flex-wrap: wrap;        /* Permite que bajen a la siguiente línea */
    justify-content: center; /* ¡ESTO LAS CENTRA! */
    gap: 15px;              /* Espacio entre las fotos */
    max-width: 800px;       /* Limitamos el ancho total para que no se expandan tanto */
    margin: 0 auto;
}

.grid img{
width: calc(25% - 15px); /* Aquí ajustas el tamaño (25% es la mitad de lo que tenías antes) */
    min-width: 150px;        /* Evita que se hagan demasiado diminutas */
    aspect-ratio: 1 / 1;     /* Las mantiene cuadradas como en tu diseño */
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.grid img:hover {
    transform: scale(1.05);  /* Un pequeño efecto visual al pasar el mouse */
}

@media(max-width:768px){
nav{display:none;}
.menu-toggle{display:block;}
.cards{flex-direction:column;}
.grid{grid-template-columns:1fr;}
}



/* Contenedor General */
.servicios {
    padding: 60px 10%;
    background-color: #4b1fd1; /* Color de tu fondo general */
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 40px;
}

.cards-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estilo Base de las Cards */
.service-card {
    width: 300px;
    min-height: 400px;
    height: auto;
    border-radius: 30px;
    position: relative;
    padding: 25px;
    padding-bottom: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
    transition: transform 0.3s ease;
}

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

/* Colores de las Cards */
.card-lila { background: linear-gradient(180deg, #d19df1 0%, #d19df1 100%); }
.card-lila:hover {
    border-color: #ffffff; 
}

.card-dark { background: linear-gradient(180deg, #2e2156 0%, #2e2156 100%);}
.card-dark:hover {
    border-color: #a866ee; 
}

.card-yellow { background: linear-gradient(180deg, #feeabe 0%, #feeabe 100%); }
.card-yellow:hover {
    border-color: #5a3d00; 
}

/* Textos dentro de la card */
.card-header .category {
    font-weight: 800;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 40px;
}

.card-header p {
   font-size: 1rem;
    font-weight: 500;
    line-height: 2;
}

/* Estilos de texto por color de card */
.card-lila { color: #2e2156; }
.card-dark { color: #d19df1; }
.card-yellow { color: #5a3d00; }

/* Imagen que sobresale */
.service-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%; /* Ajusta según el tamaño de tus PNGs */
    z-index: 1;
}

/* Footer de la Card */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2; /* Por encima de la imagen */
}

.icons {
    display: flex;
    gap: 10px;
}

.icon-circle {
    background: rgba(255, 255, 255, 0.3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: violet;
}

.card-dark .icon-circle {
    background: rgba(255, 255, 255, 0.1);
}

.read-more {
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.8;
}


footer {
    background-color: #2e0f7d; /* El morado más oscuro de tu paleta */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; /* Tamaño pequeño como en la imagen */
    color: #a891e3;  /* Color lila suave para que no brille tanto como el blanco */
    margin: 0;
    letter-spacing: 1px;
}

/* --- BOTÓN WHATSAPP FLOTANTE --- */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 3000; /* Por encima de TODO */
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Efecto de crecimiento al pasar el mouse */
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

/* Ajuste para que el footer no tape contenido en móviles */
@media (max-width: 768px) {
    .footer-content p {
        font-size: 10px;
        padding: 0 20px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}



.cta-section {
    position: relative;
    background-image: linear-gradient(90deg, rgba(116, 153, 172, 0.30), rgba(62, 110, 135, 0.30)),  
                  url('../img/calltoactionbackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Esto da un efecto "parallax" muy pro */
    padding: 60px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px; /* Para que no se estire demasiado */
}

.cta-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    color: white;
    margin: 0;
    font-size: 1.8rem;
}

.cta-text p {
    color: #4ade80; /* Color verde claro para el subtítulo */
    font-weight: 600;
    margin: 5px 0 0 0;
}

/* --- BOTÓN DEL CTA --- */
.cta-button {
    background-color: #00ff85; /* Verde brillante tipo WhatsApp */
    color: #1a1a1a;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 133, 0.4);
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
}



/* =========================================
   SECCIÓN PAQUETES (CARRUSEL)
   ========================================= */

.paquetes {
    padding: 60px 0;
    background-color: #4b1fd1; /* Fondo general de la sección */
    text-align: center;
    overflow: hidden; /* CRUCIAL: Oculta el desbordamiento de las tarjetas laterales */
}

/* La "ventana" que limita el ancho de lo que vemos */
.paquetes-mask {
    width: 90%;
    max-width: 750px; /* AQUÍ controlas qué tan angostas son las tarjetas */
    margin: 0 auto;
    overflow: visible; /* Permite que el 'track' se mueva libremente */
    position: relative;
}

/* El riel que contiene todas las tarjetas una tras otra */
.paquetes-track {
    display: flex !important;
    gap: 40px; /* SEPARACIÓN entre tarjetas */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* Estilo individual de cada tarjeta */
.paquete-card {
    min-width: 100%; /* Ocupa el 100% de los 750px de la máscara */
    flex-shrink: 0;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, #4d28ac 0%, #2e0f7d 100%);
    border-radius: 30px;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* --- Contenido de la Tarjeta (Lado Izquierdo) --- */
.paquete-info {
    flex: 1;
    text-align: left;
}

.paquete-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.paquete-info ul {
    list-style: none;
    padding: 0;
}

.paquete-info li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #ddd;
    font-weight: 500;
}

/* --- Lado Derecho (Vinilo y Botón) --- */
.paquete-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vinyl-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 25px;
}

.album-art {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: 10px 0 20px rgba(0,0,0,0.6);
    object-fit: cover;
}

.vinyl-disc {
    width: 185px;
    height: 185px;
    position: absolute;
    right: -70px; /* Efecto de que sale de la funda */
    top: 0;
    z-index: 1;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Controles de Navegación --- */
.paquetes-controls {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    user-select: none;
}

.p-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
}

.p-arrow:hover {
    color: #ff3b3b;
    transform: scale(1.3);
}

/* --- Adaptación para Móviles --- */
@media (max-width: 768px) {
    .paquete-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .paquete-info {
        text-align: center;
        margin-bottom: 20px;
    }

    .vinyl-wrapper {
        width: 180px;
        height: 180px;
    }

    .album-art, .vinyl-disc {
        width: 140px;
        height: 140px;
    }
}