/* Variables de Marca */
:root {
    --primary-gold: #c5a059;
    --dark-bg: #0f0f0f;
    --dark-surface: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header y Navegación */
header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    height: 60px; /* Ajusta según tu logo */
}

/* Hero Section */

 .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('CafeHuilaSommetMontanasCAfe.webp') no-repeat center center/cover;
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.tagline {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Secciones de Características (Altura y Trazabilidad) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 10%;
    background-color: var(--dark-bg);
}

.feature-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: #252525;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

h3 {
    font-family: var(--font-serif);
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Formulario de Suscripción */
.newsletter {
    padding: 6rem 10%;
    text-align: center;
    background-color: var(--dark-surface);
}

.subscribe-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

input[type="email"] {
    padding: 1rem 1.5rem;
    width: 350px;
    border-radius: 4px;
    border: 1px solid #333;
    background: #0f0f0f;
    color: white;
}

button {
    padding: 1rem 2rem;
    background-color: var(--primary-gold);
    color: black;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .subscribe-form { flex-direction: column; align-items: center; }
    input[type="email"] { width: 100%; }
}

.lang-selector {
    display: flex;
    gap: 10px;
}

.lang-selector button {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 5px 10px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.3s;
}

.lang-selector button:hover {
    background: var(--primary-gold);
    color: black;
}





/* Contenedor con máscara de recorte */
.logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* La magia: usamos el mismo logo como máscara para el brillo */
    -webkit-mask-image: url('logo-sommet.png');
    mask-image: url('logo-sommet.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Tamaño del logo */
.logo {
    height: 85px; /* Tamaño optimizado para móvil */
    width: auto;
    display: block;
}

/* El Rayo de Luz corregido */
.rayo-luz {
    position: absolute;
    top: 0;
    left: -150%; 
    width: 60px; /* Ancho del rayo más definido */
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 50%, /* Un poco más brillante para que se note en el café */
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg); /* Rayo diagonal */
    animation: brillo-solar 5s infinite; /* Un ciclo más elegante de 5 segundos */
    pointer-events: none; /* Para que no interfiera con clics */
}

@keyframes brillo-solar {
    0% { left: -150%; }
    20% { left: 150%; } /* El rayo cruza rápido */
    100% { left: 150%; } /* Pausa larga para no saturar visualmente */
}

/* Media Query para escritorio */
@media (min-width: 769px) {
    .logo {
        height: 110px; /* Más imponente en pantallas grandes */
    }
}


.feature-card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Asegura que todas las fotos tengan el mismo tamaño sin deformarse */
    border-radius: 4px;
    filter: grayscale(30%); /* Un toque artístico para el mercado de lujo */
    transition: filter 0.3s ease;
}

.feature-card:hover img {
    filter: grayscale(0%);
}




footer a {
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    border-bottom: 1px solid var(--primary-gold);
    letter-spacing: 2px;
}
