.josefin-sans-uniquifier {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.josefin-sans-uniquifier {
    font-family: "Josefin Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Header ultra moderno */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 5%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px rgba(227, 140, 0, 0.12);
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 20px 5% 0;
    border-radius: 60px;
    border: 1px solid rgba(227, 140, 0, 0.15);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo {
    max-height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(227, 140, 0, 0.1));
}

.logo:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 8px 12px rgba(227, 140, 0, 0.25));
}

.navbar {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item-servicios,
.nav-item-galeria,
.nav-item-contactame {
    margin: 0;
    position: relative;
}

.navbar p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #1a1a1a;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 30px;
    background: transparent;
    display: inline-block;
}

/* Efecto de fondo dinámico */
.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #E38C00 0%, #ffb347 100%);
    border-radius: 30px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.navbar a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(227, 140, 0, 0.4);
}

.navbar a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Efecto de onda al hacer click */
.navbar a:active {
    transform: scale(0.95);
}

/* Indicador de página activa con animación */
.navbar a.active {
    color: white;
    background: linear-gradient(135deg, #E38C00 0%, #ffb347 100%);
    box-shadow: 0 10px 25px -5px rgba(227, 140, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px -5px rgba(227, 140, 0, 0.5);
    }
    50% {
        box-shadow: 0 15px 35px -5px rgba(227, 140, 0, 0.8);
    }
    100% {
        box-shadow: 0 10px 25px -5px rgba(227, 140, 0, 0.5);
    }
}

/* Efecto de partículas en hover (super moderno) */
.nav-item-servicios:hover::after,
.nav-item-galeria:hover::after,
.nav-item-contactame:hover::after {
    content: '✦';
    position: absolute;
    font-size: 10px;
    color: #E38C00;
    animation: floatParticle 1s ease-out forwards;
    pointer-events: none;
}

@keyframes floatParticle {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(20px, -20px) rotate(180deg);
    }
}

/* Línea decorativa animada */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E38C00, transparent);
    transition: width 0.4s ease;
}

.navbar:hover::after {
    width: 60%;
}

/* Responsive con animaciones */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 20px;
        top: 10px;
        margin: 10px 3% 0;
        border-radius: 30px;
    }
    
    .logo {
        margin-bottom: 12px;
        max-height: 45px;
        animation: bounce 2s ease-in-out infinite;
    }
    
    @keyframes bounce {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
    }
    
    .navbar {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar p {
        font-size: 14px;
    }
    
    .navbar a {
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .header {
        border-radius: 25px;
        padding: 12px 15px;
    }
    
    .navbar {
        gap: 8px;
    }
    
    .navbar p {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .navbar a {
        padding: 6px 10px;
    }
}

/* Efecto de brillo en los bordes */
.header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #E38C00, 
        transparent 20%, 
        transparent 80%, 
        #E38C00
    );
    border-radius: 62px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s linear infinite;
}

.header:hover::before {
    opacity: 0.5;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 300% 0%;
    }
}

/* Efecto de scroll dinámico */
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(227, 140, 0, 0.2);
    padding: 8px 5%;
}

/* Partículas flotantes (super moderno) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}

.nav-item-servicios {
    animation: float 4s ease-in-out infinite;
    animation-delay: 0s;
}

.nav-item-galeria {
    animation: float 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.nav-item-contactame {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Estilo para el body (manteniendo tu fondo) */
body {
    background-color: #E8E8E3;
    margin: 0;
    padding: 0;
    font-family: "Josefin Sans", sans-serif;
}

/* Smooth scroll para toda la página */
html {
    scroll-behavior: smooth;
}
/* Gallery Container */
.container-gallery {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-card {
    background: #FFFFFF;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0px 4px 20px #00000015;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    border: 1px solid #E38C0020;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px #E38C0030;
    border-color: #E38C00;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #E38C00;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #E38C0040;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
}

.filter-btn:hover {
    background: #fffaf2;
    border-color: #E38C00;
    color: #E38C00;
}

.filter-btn.active {
    background: #E38C00;
    color: white;
    border-color: #E38C00;
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    font-size: 16px;
    border: 1px solid #E38C0020;
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #E38C00;
    box-shadow: 0px 4px 20px #E38C0020;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 15px #00000015;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px #E38C0030;
}

.gallery-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 25px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.gallery-tag {
    background: #E38C00;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.gallery-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: white;
}

.gallery-desc {
    font-size: 14px;
    margin: 0 0 10px;
    color: #f0f0f0;
    opacity: 0.9;
}

.gallery-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 10px;
}

.gallery-views {
    color: #E38C00;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.play-button svg {
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
}

.gallery-item:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
}

/* Featured Banner */
.featured-banner {
    background: linear-gradient(135deg, #FFFFFF 0%, #fffaf2 100%);
    border-radius: 30px;
    padding: 40px;
    margin: 60px 0;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0px 10px 40px #E38C0020;
    border: 1px solid #E38C0030;
}

.featured-content {
    flex: 1;
}

.featured-tag {
    background: #E38C00;
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 32px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 700;
}

.featured-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.featured-stats span {
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 15px;
    color: #555;
    box-shadow: 0px 2px 10px #00000010;
}

.featured-btn {
    background: #E38C00;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px #E38C0040;
}

.featured-btn:hover {
    background: #c77a00;
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px #E38C0060;
}

.featured-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 30px #00000020;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
}

.lightbox-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    color: #E38C00;
    transform: rotate(90deg);
    background: rgba(255,255,255,0.2);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-media-container {
    max-width: 100%;
    max-height: 70vh;
}

.lightbox-media-container img,
.lightbox-media-container video {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-info {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    max-width: 600px;
}

.lightbox-info h3 {
    color: #333;
    margin: 0 0 10px;
    font-size: 24px;
}

.lightbox-info p {
    color: #666;
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.lightbox-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lightbox-tags span {
    background: #f0f0f0;
    color: #E38C00;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 40px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #E38C00;
}

/* No Results Message */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 20px;
    color: #999;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .featured-banner {
        flex-direction: column;
        padding: 20px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 15px 10px;
    }
    
    .lightbox-info {
        padding: 15px;
    }
    
    .lightbox-info h3 {
        font-size: 20px;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 60px 5% 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E38C00, #ffb347, #E38C00);
    animation: slide 10s linear infinite;
    background-size: 200% 100%;
}

@keyframes slide {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #E38C00;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #E38C00, #ffb347);
    border-radius: 2px;
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-col ul li a:hover {
    color: #E38C00;
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(227, 140, 0, 0.2);
}

.social-links a:hover {
    background: #E38C00;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(227, 140, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    color: #E38C00;
    font-size: 18px;
}

.contact-item p {
    margin: 0;
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #aaa;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -12px;
    color: #E38C00;
}

.footer-links a:hover {
    color: #E38C00;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-right {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .who-grid {
        grid-template-columns: 1fr;
    }
    
    .who-content {
        padding-right: 0;
        order: 2;
    }
    
    .who-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-title .highlight {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 20px;
        top: 10px;
        margin: 10px 3% 0;
        border-radius: 30px;
    }
    
    .logo {
        margin-bottom: 12px;
    }
    
    .navbar {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar p {
        font-size: 14px;
    }
    
    .navbar a {
        padding: 8px 14px;
    }
    
    .hero-section {
        margin: 10px 3% 30px;
    }
    
    .hero-content {
        padding: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-title .highlight {
        font-size: 42px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-image-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image-item.large {
        grid-row: auto;
    }
    
    .section {
        padding: 60px 5%;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        border-radius: 25px;
        padding: 12px 15px;
    }
    
    .navbar {
        gap: 8px;
    }
    
    .navbar p {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .navbar a {
        padding: 6px 10px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-title .highlight {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .who-quote {
        font-size: 24px;
    }
}

/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');