/* Estilos principales mejorados para Abinails */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f9f9f9, #d4e6ff);
    color: #333;
    line-height: 1.6;
}

/* Header y navegación */
header {
    background: linear-gradient(135deg, #8ab4ff, #1e3c72);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 3.5rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header p {
    margin: 15px 0 0;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav a {
    text-decoration: none;
    color: #1e3c72;
    margin: 0 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #6ff1ff;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #1e3c72;
}

nav a:hover:after {
    width: 100%;
}

/* Contenido principal */
.container {
    padding: 30px 20px;
    max-width: 1200px;
    margin: auto;
}

.section {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.section h2 {
    color: #1e3c72;
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    border-bottom: 2px solid rgba(30, 60, 114, 0.1);
    position: relative;
}

.section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #8ab4ff;
    bottom: -2px;
    left: 0;
}

.section p {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Servicios */
.section ul {
    list-style-type: none;
    padding-left: 5px;
    margin-top: 20px;
}

.section ul li {
    margin: 15px 0;
    color: #444;
    font-size: 1.05rem;
    position: relative;
    padding-left: 25px;
}

.section ul li:before {
    content: '✦';
    color: #8ab4ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Tarjetas de servicios */
.servicios-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.servicio-card {
    background: linear-gradient(to bottom right, #f9f9f9, #f0f8ff);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-left: 4px solid #8ab4ff;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.servicio-card h3 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.servicio-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Galería de imágenes mejorada */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.galeria img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Lightbox mejorado */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.15);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox.active img {
    transform: scale(1);
}

/* Sección de contacto */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contacto-item:hover {
    background: #f0f8ff;
    transform: translateX(5px);
}

.contacto-item i {
    color: #1e3c72;
    font-size: 1.5rem;
}

.contacto-item a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacto-item a:hover {
    color: #8ab4ff;
}

/* Pie de página */
footer {
    background: linear-gradient(135deg, #8ab4ff, #1e3c72);
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 1rem;
    position: relative;
    width: 100%;
}

footer p {
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    nav a {
        margin: 0 15px;
        font-size: 1rem;
    }
    
    .section {
        padding: 25px 20px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .galeria {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .galeria img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    nav a {
        margin: 5px 0;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .galeria {
        grid-template-columns: 1fr;
    }
}