/* Variables CSS */
:root {
    --azul-claro: #669bbc;
    --azul-oscuro: #003049;
    --beige-claro: #fdf0d5;
    --rojo-intenso: #c1121f;
    --burdeos-oscuro: #780000;
    --shadow-light: rgba(0, 48, 73, 0.1);
    --shadow-medium: rgba(0, 48, 73, 0.2);
    --shadow-heavy: rgba(0, 48, 73, 0.3);
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather Sans', sans-serif;
    background-color: var(--beige-claro);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-claro) 100%);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px var(--shadow-medium);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: var(--beige-claro);
    text-decoration: underline;
}

.cookie-banner .btn-primary {
    background-color: var(--rojo-intenso);
    border-color: var(--rojo-intenso);
    font-size: 0.85rem;
    padding: 8px 20px;
}

.cookie-banner .btn-outline-secondary {
    color: var(--beige-claro);
    border-color: var(--beige-claro);
    font-size: 0.85rem;
    padding: 8px 20px;
}

/* Navegación */
.navbar {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-claro) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--rojo-intenso);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(0, 48, 73, 0.95);
    box-shadow: 0 4px 20px var(--shadow-medium);
    padding: 10px 0;
}

.navbar-brand {
    font-family: 'Amaranth', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--beige-claro) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%23fdf0d5' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    font-family: 'Metrophobic', sans-serif;
    color: var(--beige-claro) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--rojo-intenso) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--rojo-intenso);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 48, 73, 0.7), rgba(102, 155, 188, 0.5)),
                url('../images/banner.jpg') center/cover;
    z-index: -2;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: -1;
    transform: rotate(180deg);
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}

.hero-waves svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    fill: var(--beige-claro);
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-family: 'Amaranth', cursive;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--rojo-intenso);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: 'Metrophobic', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rojo-intenso) 0%, var(--burdeos-oscuro) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(193, 18, 31, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 18, 31, 0.4);
    background: linear-gradient(135deg, var(--burdeos-oscuro) 0%, var(--rojo-intenso) 100%);
}

.btn-outline-light {
    border: 2px solid var(--beige-claro);
    color: var(--beige-claro);
    background: rgba(253, 240, 213, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--beige-claro);
    color: var(--azul-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 240, 213, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--beige-claro);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Secciones generales */
.section-title {
    font-family: 'Amaranth', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-family: 'Metrophobic', sans-serif;
    font-size: 1.1rem;
    color: var(--azul-claro);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonios Flotantes */
.testimonios-flotantes {
    background: linear-gradient(135deg, var(--beige-claro) 0%, #f8f4e6 100%);
    position: relative;
    overflow: hidden;
}

.testimonios-flotantes::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 155, 188, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.testimonios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonio-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonio-card.floating {
    animation: floatingCard 6s ease-in-out infinite;
}

.testimonio-card:nth-child(2).floating {
    animation-delay: -2s;
}

.testimonio-card:nth-child(3).floating {
    animation-delay: -4s;
}

@keyframes floatingCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rojo-intenso) 0%, var(--azul-claro) 100%);
}

.testimonio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.testimonio-content p {
    font-style: italic;
    font-size: 1rem;
    color: var(--azul-oscuro);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cliente-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cliente-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--azul-claro);
}

.cliente-info h5 {
    font-family: 'Amaranth', cursive;
    font-size: 1.1rem;
    color: var(--azul-oscuro);
    margin-bottom: 0;
}

.cliente-info span {
    font-size: 0.9rem;
    color: var(--azul-claro);
}

/* Galería Collage */
.galeria-collage {
    background: var(--beige-claro);
    position: relative;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.collage-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-item.medium {
    grid-column: span 1;
    grid-row: span 2;
}

.collage-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

.collage-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 48, 73, 0.8) 0%, rgba(193, 18, 31, 0.6) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
}

.collage-item:hover .overlay {
    opacity: 1;
}

.collage-item .overlay h4 {
    font-family: 'Amaranth', cursive;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.collage-item .overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Yates del Mes */
.yates-mes {
    background: linear-gradient(135deg, #f8f4e6 0%, var(--beige-claro) 100%);
    position: relative;
}

.yates-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.yate-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.yate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.yate-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.yate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.yate-card:hover .yate-image img {
    transform: scale(1.05);
}

.yate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--rojo-intenso);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.yate-badge.popular {
    background: var(--azul-claro);
}

.yate-info {
    padding: 2rem;
}

.yate-info h3 {
    font-family: 'Amaranth', cursive;
    font-size: 1.5rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.yate-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.yate-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.yate-specs span {
    font-size: 0.9rem;
    color: var(--azul-claro);
    display: flex;
    align-items: center;
    gap: 5px;
}

.yate-specs i {
    color: var(--rojo-intenso);
}

.yate-price {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.yate-price .price {
    font-family: 'Amaranth', cursive;
    font-size: 1.2rem;
    color: var(--azul-oscuro);
}

.yate-price strong {
    color: var(--rojo-intenso);
    font-size: 1.4rem;
}

/* Experiencias Únicas */
.experiencias-unicas {
    position: relative;
    overflow: hidden;
}

.experiencias-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-claro) 100%),
                url('../images/exp.jpg') center/cover;
    background-blend-mode: overlay;
    z-index: -1;
}

.experiencia-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.experiencia-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(0, 48, 73, 0.2);
}

.experiencia-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--rojo-intenso) 0%, var(--burdeos-oscuro) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.experiencia-card:hover .experiencia-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(193, 18, 31, 0.3);
}

.experiencia-icon i {
    font-size: 2rem;
    color: white;
}

.experiencia-card h4 {
    font-family: 'Amaranth', cursive;
    font-size: 1.4rem;
    color: var(--azul-oscuro);
    margin-bottom: 1rem;
}

.experiencia-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.experiencia-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.experiencia-features span {
    font-size: 0.9rem;
    color: var(--azul-claro);
    display: flex;
    align-items: center;
    gap: 5px;
}

.experiencia-features i {
    color: var(--rojo-intenso);
}

/* Precios Destacados */
.precios-destacados {
    background: var(--beige-claro);
}

.precio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.precio-card.destacado {
    border: 3px solid var(--rojo-intenso);
    transform: scale(1.05);
}

.precio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.precio-card.destacado:hover {
    transform: translateY(-10px) scale(1.05);
}

.precio-header {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-claro) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.precio-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rojo-intenso);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.precio-header h3 {
    font-family: 'Amaranth', cursive;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.precio-valor {
    margin-bottom: 0;
}

.precio-numero {
    font-family: 'Amaranth', cursive;
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.precio-periodo {
    font-size: 1rem;
    opacity: 0.8;
}

.precio-contenido {
    padding: 2rem;
}

.precio-features {
    list-style: none;
    margin-bottom: 2rem;
}

.precio-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.precio-features i {
    color: var(--rojo-intenso);
    font-size: 1rem;
}

.btn-precio {
    background: linear-gradient(135deg, var(--rojo-intenso) 0%, var(--burdeos-oscuro) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-precio:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.3);
    background: linear-gradient(135deg, var(--burdeos-oscuro) 0%, var(--rojo-intenso) 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-claro) 100%);
    color: var(--beige-claro);
    position: relative;
    overflow: hidden;
}

.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
    transform: rotate(180deg);
}

.footer-waves svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    fill: var(--beige-claro);
}

.footer .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Amaranth', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--beige-claro);
}

.footer-brand p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer h5 {
    font-family: 'Amaranth', cursive;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--beige-claro);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--beige-claro);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--rojo-intenso);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--rojo-intenso);
    margin-right: 8px;
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(253, 240, 213, 0.1);
    border: 1px solid rgba(253, 240, 213, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beige-claro);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--rojo-intenso);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 18, 31, 0.3);
}

.footer-divider {
    border-color: rgba(253, 240, 213, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--beige-claro);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    opacity: 1;
    color: var(--rojo-intenso);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonios-container {
        grid-template-columns: 1fr;
    }
    
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
    
    .collage-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .collage-item.medium {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .yates-slider {
        grid-template-columns: 1fr;
    }
    
    .experiencia-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .yate-specs {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-banner .row {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner .col-lg-4 {
        margin-top: 15px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }
    
    .collage-item.large,
    .collage-item.medium,
    .collage-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .testimonio-card,
    .experiencia-card,
    .precio-card {
        margin-bottom: 1rem;
    }
    
    .footer .container {
        padding-top: 60px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Efectos de hover para botones */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Smooth scrolling para navegación */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Estados de focus para accesibilidad */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--rojo-intenso);
    outline-offset: 2px;
}

/* Loader para imágenes */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}