/* --- Variables & Theme --- */
:root {
    /* Colors */
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --medium-grey: #2c2c2c;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    
    --gold-primary: #d4af37; /* Metallic Gold */
    --gold-hover: #b5952f;
    --gold-light: #f3e5ab;
    
    --whatsapp-green: #25D366;
    
    /* Typography */
    --font-heading: 'Oswald', sans-serif; /* Condensed, Strong like the reference */
    --font-body: 'Inter', sans-serif; /* Modern, Clean */
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Effects */
    --shadow-card: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-text: 0 2px 4px rgba(0,0,0,0.5);
    --transition: 0.3s ease;
}

/* --- Scroll Animation Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    background-color: var(--light-grey);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.5px; /* Tighter letter spacing for non-titles */
}

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

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
}

.text-center { text-align: center; }
.gold-text { color: var(--gold-primary); }
.dark-text { color: var(--dark-grey); }
.white-text { color: var(--white); }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    /* display: inline-block; removed to fix center alignment width */
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--gold-primary);
}

.about-section .section-title::after,
.contact-section .section-title::after {
    left: 0;
    transform: none;
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section { padding: var(--section-padding); }

.dark-bg { background-color: var(--black); color: var(--white); }
.light-bg { background-color: var(--light-grey); color: var(--dark-grey); }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px; /* Rounded pill shape */
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary), #c5a028);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    filter: brightness(1.1);
}

.btn-outline-gold {
    background: transparent;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--black);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-dark:hover {
    background-color: var(--gold-primary);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    width: 100%;
    text-align: center;
    border-radius: 50px;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* --- 1️⃣ Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95); /* Deep dark */
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    /* border-bottom removed as requested */
}

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

.logo img { height: 60px; width: auto; }

.nav-list { display: flex; gap: 25px; }

.nav-list a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

.nav-list a:hover { color: var(--gold-primary); }
.nav-list a:hover::before { width: 100%; }

.mobile-toggle, .mobile-menu { display: none; }

/* --- 2️⃣ Hero Section --- */
.hero {
    height: 110vh; /* Increased first fold size */
    min-height: 900px;
    background-image: url('backgroundprincipal.png');
    background-size: cover; /* Fill the whole area */
    background-repeat: no-repeat;
    background-position: center top; /* Align to top to avoid cutting head */
    background-color: var(--black); /* Fallback color for gaps */
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* background: linear-gradient(...) removed as requested */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 80px;
}

.hero-text-col { max-width: 650px; }

.authority-symbol {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 86px; /* Updated to 86px as requested */
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 16px; /* Updated to 16px */
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* --- 3️⃣ Metrics --- */
.metrics {
    background-color: var(--gold-primary);
    padding: 20px 0; /* Reduced padding as requested */
    position: relative;
    z-index: 3;
    margin-top: -50px; /* Overlap hero slightly */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.metric-card {
    padding: 10px;
}

.metric-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 6.5rem; /* Much larger */
    font-weight: 900;
    color: var(--black);
    line-height: 1;
}

.metric-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-grey);
    letter-spacing: 1px;
}

/* --- 4️⃣ Videos --- */
.video-section { padding-top: 100px; } /* Extra padding for metrics overlap */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover { transform: translateY(-5px); }

.video-thumb {
    height: 300px; /* Increased height for better vertical video display */
    background-color: var(--medium-grey);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-thumb img, .video-thumb iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.thumb-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(45deg, #2c2c2c, #1a1a1a);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--gold-primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.video-title {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

/* --- 5️⃣ News --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

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

.news-img-placeholder {
    height: 200px;
    background-color: #ddd;
}

.news-content { padding: 25px; }

.news-date {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--black);
}

.read-more {
    color: var(--black);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- 6️⃣ About --- */
.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-block { margin-bottom: 30px; }

.about-block h3 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-block h3 i { color: var(--gold-primary); }

.about-bio {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--medium-grey);
    border-left: 4px solid var(--gold-primary);
    padding-left: 20px;
    margin-top: 40px;
}

.portrait-placeholder {
    height: 500px;
    background-color: #ccc;
    border-radius: 10px;
    /* This would be the candidate photo */
    box-shadow: -20px 20px 0 var(--gold-primary);
}

/* --- 7️⃣ Mandate --- */
.mandate-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.mandate-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mandate-content.active { display: grid; }

.mandate-card {
    background-color: var(--medium-grey);
    padding: 30px;
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
}

.mandate-card h3 { color: var(--gold-primary); margin-bottom: 10px; }

/* --- 8️⃣ Transparency --- */
.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.chart-box, .data-table-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-card);
}

.chart-box h3 { margin-bottom: 20px; font-size: 1.1rem; }

.fake-chart-bar {
    height: 30px;
    background-color: #eee;
    border-radius: 15px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--gold-primary);
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.fake-chart-donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--gold-primary) 0% 40%, var(--black) 40% 70%, #999 70% 100%);
    margin: 0 auto 20px;
}

.chart-legend li { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; font-size: 0.9rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.color-1 { background-color: var(--gold-primary); }
.color-2 { background-color: var(--black); }
.color-3 { background-color: #999; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { text-align: left; padding: 10px; border-bottom: 2px solid #ddd; }
.data-table td { padding: 10px; border-bottom: 1px solid #eee; }
.badge { padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; }
.badge.success { background-color: #e6ffed; color: #2ea043; }

/* --- 9️⃣ Media --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    padding-bottom: 100%; /* Square aspect ratio */
    background-color: #333;
    border-radius: 4px;
}

/* --- 🔟 Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.map-placeholder {
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--medium-grey);
    margin-bottom: 30px;
}

.map-placeholder i { font-size: 3rem; margin-bottom: 10px; color: var(--gold-primary); }

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-details i { color: var(--gold-primary); }

/* --- 1️⃣1️⃣ Footer --- */
.footer {
    background-color: var(--black);
    color: #888;
    padding-top: 80px;
    border-top: 1px solid #333;
}

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

.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }

.footer-logo { height: 50px; margin-bottom: 20px; opacity: 0.9; }

.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a:hover { color: var(--gold-primary); }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 40px; height: 40px;
    background-color: #222;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}
.social-icons a:hover { background-color: var(--gold-primary); color: var(--black); }

.footer-bottom {
    background-color: #050505;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .about-container, .contact-wrapper { grid-template-columns: 1fr; }
    .metrics { margin-top: 0; }
    .video-section { padding-top: var(--section-padding); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .mobile-toggle { display: block; font-size: 1.5rem; color: var(--white); background: none; border: none; }
    
    .mobile-menu {
        display: block; position: fixed; top: 0; right: -100%;
        width: 100%; height: 100vh; background-color: var(--black);
        z-index: 1001; transition: 0.4s ease;
        display: flex; align-items: center; justify-content: center;
    }
    .mobile-menu.active { right: 0; }
    
    .mobile-nav-list { text-align: center; }
    .mobile-nav-list li { margin: 20px 0; }
    .mobile-nav-list a { color: var(--white); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
    
    .close-menu {
        position: absolute; top: 20px; right: 20px;
        background: none; border: none; color: var(--white); font-size: 2rem;
    }
    
    .hero { text-align: center; justify-content: center; }
    .hero-text-col { margin: 0 auto; }
    .section-title { font-size: 2rem; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .footer-logo { margin: 0 auto 20px; }
}
