/* /assets/css/style.css */
:root {
    --primary: #0a0a0a;
    --accent: #e63946;
    --text: #1a1a1a;
    --text-muted: #666666;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1280px;
    --section-spacing: 100px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 700;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* --- HEADER --- */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img { height: 32px; filter: grayscale(1) contrast(1.2); }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.main-nav a:hover, .main-nav li.active a {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.header-actions button:hover { color: var(--primary); }

/* --- HERO SECTION --- */
.hero-slider {
    height: 85vh;
    overflow: hidden;
    position: relative;
    background: var(--primary);
}

.slide {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: #fff;
}

.category-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: var(--accent);
    color: #fff;
}

.slide-title {
    font-size: 5rem;
    margin-bottom: 30px;
    line-height: 1;
}

.slide-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.btn-editorial {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-editorial:hover {
    background: #fff;
    color: var(--primary);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* --- NEWS GRID --- */
.latest-news {
    padding: var(--section-spacing) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.news-card {
    grid-column: span 4;
    margin-bottom: 40px;
}

.news-card.featured {
    grid-column: span 8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.news-card .img-wrapper {
    overflow: hidden;
    margin-bottom: 25px;
}

.news-card img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.news-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

/* --- MULTIMEDIA SECTION --- */
.multimedia-section {
    background-color: var(--bg-alt);
    padding: var(--section-spacing) 0;
}

.multimedia-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.podcast-featured h3, .galleries-featured h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.podcast-card {
    background: #fff;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.podcast-img { width: 150px; height: 150px; object-fit: cover; }

.podcast-info h4 { font-size: 1.5rem; margin-bottom: 10px; }
.podcast-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

audio { width: 100%; height: 30px; }

.gallery-card {
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

/* --- FOOTER --- */
.site-footer {
    padding: 80px 0 40px;
    background: var(--primary);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.4);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col a:hover { color: #fff; }

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.newsletter-form input {
    background: none;
    border: none;
    color: #fff;
    flex: 1;
    padding: 10px 0;
    font-family: var(--font-body);
}

.newsletter-form button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* --- RESPONSIVE & MOBILE MENU --- */
@media (max-width: 1024px) {
    .news-card, .news-card.featured { grid-column: span 6; display: block; }
    .multimedia-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 24px; }
}

@media (max-width: 768px) {
    .header-container { padding: 10px 20px; }
    .section-title { font-size: 2.2rem; }
    .slide-title { font-size: 2.5rem; }
    .news-card { grid-column: span 12; }
    .footer-grid { grid-template-columns: 1fr; }
    .podcast-card { flex-direction: column; text-align: center; }
    .container { padding: 0 16px; }

    /* Mobile Nav Overlay */
    .main-nav {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #fff;
        z-index: 2000;
        padding: 100px 40px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .main-nav.nav-open {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .main-nav a {
        font-size: 24px;
        font-family: var(--font-heading);
        text-transform: none;
        letter-spacing: 0;
    }

    /* Mobile Toggle Button */
    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 2100;
    }

    /* Hero adjustments */
    .hero-slider { height: 70vh; }
    .slide-content { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .article-meta { flex-direction: column; gap: 10px; }
}

/* --- SEARCH OVERLAY --- */
#search-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    z-index: 3000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#search-overlay.active { opacity: 1; pointer-events: all; }
#search-overlay-inner { width: 90%; max-width: 800px; position: relative; }
#search-form { display: flex; border-bottom: 2px solid var(--primary); }
#search-form input {
    flex: 1; background: transparent; border: none; color: #fff;
    font-size: clamp(1.5rem, 4vw, 3rem); padding: 20px 0;
    font-family: var(--font-heading); outline: none;
}
#search-form input::placeholder { color: rgba(255,255,255,0.3); }
#search-form button { background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; padding: 0 20px; }
#search-close {
    position: absolute; top: -80px; right: 0;
    background: none; border: none; color: rgba(255,255,255,0.5);
    font-size: 2.5rem; cursor: pointer; transition: color 0.3s;
}
#search-close:hover { color: #fff; }

@media (max-width: 480px) {
    .slide-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-slider { height: 60vh; }
}