/* Variables globales */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --transition: all 0.3s ease;
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(120deg, #e0f7fa 0%, #e3fcec 40%, #e0e7ff 100%);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(120deg, #e0f7fa 0%, #e3fcec 40%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/assets/images/iker-background.JPG') center 18%/cover no-repeat;
    opacity: 0.35;
    filter: blur(6px) brightness(1.1);
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.25), 0 1.5rem 3rem rgba(37,99,235,0.10);
    border: 6px solid #f472b6;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(2px);
    animation: fadeIn 1.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
}

.perfil-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid #2563eb;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.15);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(2px);
    margin-bottom: 1rem;
    border-radius: 0;
}

.glass-card {
    background: rgba(255,255,255,0.55);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(37,99,235,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px 0 rgba(244, 114, 182, 0.15);
    border-color: #f472b6;
}

.galeria-section img {
    border: 4px solid #fff;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    background: #e0e7ff;
}
.galeria-section img:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 32px 0 rgba(244, 114, 182, 0.18);
    border-color: #f472b6;
}

section {
    scroll-margin-top: 90px;
}

/* Botones */
.btn-primary {
    background: linear-gradient(90deg, #2563eb 60%, #f472b6 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px 0 rgba(244, 114, 182, 0.10);
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #f472b6 0%, #2563eb 100%);
    transform: translateY(-2px) scale(1.04);
}

/* Footer */
footer {
    background: linear-gradient(90deg, #2563eb 60%, #f472b6 100%);
    color: #fff;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    box-shadow: 0 -2px 16px 0 rgba(31, 41, 55, 0.10);
}

footer a {
    color: white;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-img {
        max-width: 90vw;
    }
    .perfil-img {
        width: 120px;
        height: 120px;
    }
    .glass-card {
        padding: 1.2rem !important;
    }
}

.lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 20, 30, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.35);
    border: 4px solid #fff;
    background: #fff;
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    text-shadow: 0 2px 8px #000;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: #f472b6;
} 