
/* Variables y reseteo */
:root {
    --bg-dark: #1A1A1A;
    --text-light: #F4F4F4;
    --gold: #D4AF37;
    --gold-hover: #F3C93F;
    --red-roman: #8B0000;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Cabecera Flotante */
.iammomai-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0) 100%);
}

.iammomai-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.iammomai-brand-text {
    font-family: 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.iammomai-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.iammomai-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.iammomai-nav a:hover {
    color: var(--gold);
}

/* Cabecera Inmersiva (Hero) */
.iammomai-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.iammomai-hero-video, .iammomai-hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.iammomai-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.65);
    z-index: 1;
}

.iammomai-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.iammomai-hero-title {
    color: var(--text-light);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    font-family: 'Georgia', serif;
}

.iammomai-hero-btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--bg-dark) !important;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.iammomai-hero-btn:hover {
    background-color: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Sección Galería Netflix */
.gallery-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section h2 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.gallery-section p {
    font-size: 1.1rem;
    color: #B0B0B0;
    margin-bottom: 40px;
    max-width: 800px;
}

.netflix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.netflix-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.netflix-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.netflix-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: white;
}

.netflix-card h3 {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.netflix-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 5;
}

.netflix-card:hover img {
    transform: scale(1.1);
}

/* Artículos (Cuadernos de Arqueología) */
.article-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-container h1 {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}

.article-container h4 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.article-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.article-container img {
    width: 100%;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.article-quote {
    font-size: 1.3rem;
    font-style: italic;
    border-left: 4px solid var(--red-roman);
    padding-left: 20px;
    margin: 30px 0;
    color: #B0B0B0;
}

.article-video {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 8px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
}

/* Footer */
.iammomai-footer {
    background-color: #121212;
    color: var(--text-light);
    padding: 60px 40px 20px;
    border-top: 4px solid var(--red-roman);
    margin-top: 60px;
}

.iammomai-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.iammomai-footer-col {
    flex: 1;
    min-width: 280px;
}

.iammomai-footer-title {
    font-family: 'Georgia', serif;
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.iammomai-footer-text {
    font-size: 0.95rem;
    color: #B0B0B0;
}

.iammomai-footer-links {
    list-style: none;
}

.iammomai-footer-links li {
    margin-bottom: 12px;
}

.iammomai-footer-links a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.iammomai-footer-links a:hover {
    color: var(--gold);
}

.iammomai-footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #2A2A2A;
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 768px) {
    .iammomai-header {
        flex-direction: column;
        gap: 15px;
        background: rgba(26,26,26,0.95);
        position: relative;
    }
    .iammomai-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .iammomai-hero {
        height: 60vh;
    }
}
