@font-face {
    font-family: 'Genty';
    src: url('/assets/fonts/genty-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}
:root {
    --color-cream: #FFF8F0;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #333333;
    --color-mocca: #EAC839;
    --color-mocca-light: #8B6F47;
    --color-mocca-soft: #A8906A;
    --color-gray-light: #F9F9F9;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-live:#F781B9;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-a: all 400ms ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-genty:'Genty';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-content {
    text-align: center;
}

.mocca-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-live);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.mocca-icon i {
    z-index: 2;
}

.mocca-icon::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--color-mocca);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation: ripple 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes ripple {
    0% { width: 0; height: 0; opacity: 0.4; }
    100% { width: 100px; height: 100px; opacity: 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-white);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--color-gray-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
}
.img-logo{
    display: block;
    height: 50px;
    width: auto;
    border: none;
}
.footer-img-logo{
    display: block;
    height: 100px;
    width: auto;
    border: none;
}
/*
.logo-text {
    color: var(--color-mocca);
    letter-spacing: 1px;
}
*/
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-live);
    margin: 4px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}
.nav-menu a:hover{
    color: var(--color-live);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-live);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--color-live);
    position: relative;
    overflow: hidden;
}

/*
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(107, 68, 35, 0.05) 0%, transparent 70%);
    z-index: 0;
}
*/
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-weight: 300;
    font-family: var(--font-genty);
    font-size: 5rem;
    color: var(--color-white);
    text-shadow:
    -1px -1px 0 var(--color-black),
     1px -1px 0 var(--color-black),
    -1px  1px 0 var(--color-black),
     1px  1px 0 var(--color-black);
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-family: var(--font-genty);
    font-size: 1.8rem;
    color: var(--color-white);
    text-shadow:
    -1px -1px 0 var(--color-black),
     1px -1px 0 var(--color-black),
    -1px  1px 0 var(--color-black),
     1px  1px 0 var(--color-black);
    font-weight: 200;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--color-mocca);
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    transition: var(--transition-a) !important;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.cta-button:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--color-white);
}

.section-title {
    font-family: var(--font-genty);
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-black);
    color: var(--color-mocca);
    padding: 25px;
    transform: translateY(100%);
    transition: var(--transition);
}
.gallery-overlay h3{
    font-weight: 200;
    color: var(--color-white);
}
.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: var(--font-genty);
    font-weigth:200;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Manifest Section */
.manifest-section {
    padding: 100px 0;
    background: var(--color-live);
}

.manifest-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.manifest-title {
    font-family: var(--font-genty);
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--color-white);
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    margin-bottom: 40px;
}

.manifest-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--color-black);
}

.manifest-text p {
    margin-bottom: 20px;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: var(--color-white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    opacity: 0;
    transform: translateY(30px);
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-item {
    display: flex;
    align-items: center; /* Centrado vertical con el texto */
    gap: 20px;
}

.location-icon {
    font-size: 1.8rem;
    min-width: 50px;
    height: 50px;
    color: var(--color-mocca-light);
    background: var(--color-gray-light);
    border-radius: 12px;
    display: flex; /* Centrado absoluto del icono */
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.location-item:hover .location-icon {
    background: var(--color-mocca);
    color: var(--color-white);
}

.location-details h3 {
    font-family: var(--font-genty);
    font-weight: 200;
    font-size: 1.4rem;
    color: var(--color-black);
    margin-bottom: 4px;
}

.location-details p {
    color: var(--color-black);
    font-size: 1rem;
    line-height: 1.4;
}

.location-map {
    background: var(--color-gray-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    padding: 40px;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--color-mocca-soft);
}

/* Footer */
.footer {
    background: var(--color-live);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-brand .logo-text {
    font-size: 24px;
    color: var(--color-white);
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    font-family: var(--font-genty);
    color: var(--color-white);
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
    font-weight:200;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-a);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.social-link i {
    font-size: 1.2rem;
}

.social-link:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--color-white);
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: var(--color-black);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* --- SKELETON ANIMATION --- */
.gallery-item {
    background-color: #eee; /* Fondo base mientras carga */
    position: relative;
    min-height: 350px; /* Misma altura que tus imágenes */
}

/* El efecto de brillo */
.gallery-item.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    z-index: 1;
}

/* Ocultamos la imagen hasta que esté cargada para que no se vea el "salto" */
.gallery-item img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Clase que aplicaremos con JS cuando la imagen termine de cargar */
.gallery-item.loaded img {
    opacity: 1;
}

.gallery-item.loaded::before {
    display: none; /* Quitamos el skeleton */
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .section-title { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .location-content { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }
    .footer-img-logo{
        height: 130px;
    }
    .footer-social { align-items: center; }
    .footer-copyright { text-align: center; margin-top: 20px; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        padding: 30px;
        flex-direction: column;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { padding: 100px 0 60px; }
    .manifest-title { font-size: 2.2rem; }
    .location-icon { min-width: 45px; height: 45px; font-size: 1.5rem; }
}