/* =========================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
:root {
    --color-bg: #F9F8F4;     /* Crema papel (Base) */
    --color-text: #2C1A1D;   /* Marrón chocolate oscuro */
    --color-accent: #D4AF37; /* Dorado sutil */
    --font-serif: 'Cormorant Garamond', serif; /* Títulos */
    --font-sans: 'Montserrat', sans-serif;     /* Textos */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- TEXTURA DE LUJO (FILM GRAIN) --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999; opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* =========================================
   2. TIPOGRAFÍA Y BOTONES
   ========================================= */
h1, h2, h3, .logo-text { 
    font-family: var(--font-serif); font-weight: 600; color: var(--color-text); 
}
h1 { font-size: 3.5rem; line-height: 1.1; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 50px; }
.align-left { text-align: left; }
.no-margin-bottom { margin-bottom: 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Botón Estándar */
.btn-dark {
    background-color: var(--color-text); color: var(--color-bg); border: none;
    padding: 14px 35px; font-family: var(--font-sans); text-transform: uppercase;
    letter-spacing: 1.5px; cursor: pointer; transition: all 0.3s ease;
}
.btn-dark:hover { background-color: #4a3f41; transform: translateY(-2px); }

/* =========================================
   3. HEADER & NAV (Efecto Cristal)
   ========================================= */
#main-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; /* Padding un poco más elegante */
    background-color: rgba(249, 248, 244, 0.85); /* Un poco más sólido para legibilidad */
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(44, 26, 29, 0.05); transition: all 0.3s ease;
}

/* LOGO EDITADO: SOLO TEXTO ELEGANTE */
.logo-container { 
    display: flex; 
    align-items: center; 
    cursor: pointer;
}

.logo-text { 
    font-size: 2.8rem; /* Aumentado para mayor presencia */
    letter-spacing: 4px; /* Espaciado estilo lujo */
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.logo-container:hover .logo-text {
    color: #4a3f41; /* Un tono ligeramente más claro al pasar el mouse */
}

.nav-links { display: flex; list-style: none; gap: 40px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }

/* =========================================
   4. SECCIONES PRINCIPALES
   ========================================= */
.section-padding { padding: 100px 10%; }

/* HERO SECTION */
.hero {
    height: 95vh; margin-top: 80px;
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; position: relative;
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.2);
}
.hero-content {
    position: relative; z-index: 2; color: #fff; padding-left: 10%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); max-width: 900px;
}
.hero h1 { color: #fff; }

/* COLECCIÓN GRID */
.collection-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; justify-items: center;
}
.product-card { width: 100%; max-width: 350px; text-align: center; }

/* Imagen con Slow Motion y Shimmer */
.image-container {
    position: relative; overflow: hidden; margin-bottom: 20px; border-radius: 2px;
}
.image-container img {
    width: 100%; height: auto; display: block;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.image-container:hover img { transform: scale(1.03); }
.overlay-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--font-serif); color: rgba(255,255,255,0.7);
    font-size: 2.5rem; pointer-events: none; z-index: 2;
}

/* EFECTO CINEMAGRAPH (SHIMMER) */
.image-container::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); animation: shimmerEffect 5s infinite; pointer-events: none; z-index: 1;
}
@keyframes shimmerEffect {
    0% { left: -100%; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 200%; opacity: 0; }
}
.product-card:nth-child(2) .image-container::after { animation-delay: 1.5s; }
.product-card:nth-child(3) .image-container::after { animation-delay: 3s; }

/* NOSOTROS */
.nosotros-content p { max-width: 800px; margin: 0 auto; font-size: 1.2rem; }

/* =========================================
   5. CONTACTO (ESTILO MENÚ DE ACCESO)
   ========================================= */
.contact-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; 
}
.align-center { align-items: center; }

.contact-intro {
    font-size: 1.1rem; margin-bottom: 30px; max-width: 450px;
}

.contact-menu {
    display: flex; flex-direction: column; gap: 20px;
}

.contact-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px; border: 1px solid rgba(44, 26, 29, 0.2);
    background: transparent; transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; overflow: hidden;
}

.contact-item:hover {
    background-color: var(--color-text); border-color: var(--color-text);
    transform: translateY(-5px); box-shadow: 0 10px 30px rgba(44, 26, 29, 0.1);
}

.contact-label {
    display: block; font-family: var(--font-serif); font-size: 1.8rem;
    color: var(--color-text); margin-bottom: 5px; transition: color 0.5s ease;
}

.contact-sub {
    font-family: var(--font-sans); font-size: 0.9rem;
    color: rgba(44, 26, 29, 0.7); text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.5s ease;
}

.contact-icon {
    font-size: 1.5rem; color: var(--color-text); transition: transform 0.5s ease, color 0.5s ease;
}

/* Hover States Contacto */
.contact-item:hover .contact-label,
.contact-item:hover .contact-sub,
.contact-item:hover .contact-icon { color: var(--color-bg); }
.contact-item:hover .contact-icon { transform: translateX(10px); }

.floating-image { width: 100%; height: auto; box-shadow: 20px 20px 0px rgba(44, 26, 29, 0.05); }

/* FOOTER */
footer { text-align: center; padding: 40px; font-size: 0.8rem; opacity: 0.7; border-top: 1px solid rgba(44,26,29,0.1); }

/* BURGER MENU */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 2px; background: var(--color-text); margin: 5px; transition: 0.3s; }

/* ANIMACIONES SCROLL */
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: 1s ease; }
.scroll-reveal-left { opacity: 0; transform: translateX(-50px); transition: 1s ease; }
.scroll-reveal-right { opacity: 0; transform: translateX(50px); transition: 1s ease; }
.active-scroll { opacity: 1; transform: translate(0,0); }

/* =========================================
   6. RESPONSIVE
   ========================================= */
@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-options-container { display: flex; flex-direction: column; align-items: center; }
    .contact-menu { width: 100%; }
    .align-left { text-align: center; }
    .floating-image { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; right: 0; top: 80px; height: 100vh;
        background: var(--color-bg); display: flex; flex-direction: column;
        align-items: center; width: 70%; transform: translateX(100%);
        transition: 0.4s; padding-top: 50px; border-left: 1px solid #eee;
    }
    .nav-links.nav-active { transform: translateX(0%); }
    .burger { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 5%; }
    .contact-item { padding: 20px; }
    .contact-label { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    
    /* ESTO ARREGLA EL FONDO EN MÓVIL: */
    .hero {
        background-attachment: scroll; /* Desactiva el efecto fijo */
        background-position: center center; /* Centra la imagen */
        height: 70vh; /* Ajusta la altura para que no sea tan larga en el cel */
    }

    /* ... tus otras reglas de móvil ... */
    .nav-links {
        position: fixed; right: 0; top: 0; height: 100vh;
        background: var(--color-bg); display: flex; flex-direction: column;
        align-items: center; width: 70%; transform: translateX(100%);
        transition: 0.4s; padding-top: 100px; border-left: 1px solid #eee;
    }
    .nav-links.nav-active { transform: translateX(0%); }
    .burger { display: block; }
    .hero h1 { font-size: 2.2rem; } 
    .section-padding { padding: 60px 5%; }
    .contact-item { padding: 20px; }
    .contact-label { font-size: 1.4rem; }
}