/* Color Palette & Variables */
:root {
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --black: #0A0A0A;
    --dark-grey: #1A1A1A;
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* Reset basic spacing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.header-mobile {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #DDDDDD;
    margin-left: 15px;
    letter-spacing: normal;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Typography */
.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 60px;
    background: radial-gradient(circle at center, var(--dark-grey) 0%, var(--black) 100%);
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1.5s ease forwards;
}

.election-title {
    font-size: 20px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.candidate-name {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 1.1;
    color: var(--gold);
    margin-bottom: 30px;
}

.ballot-highlight {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 15px 30px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.ballot-highlight span {
    font-size: 20px;
    color: var(--black);
    font-weight: bold;
    text-transform: uppercase;
}

.ballot-highlight .ballot-number {
    font-size: 72px;
    margin-left: 15px;
}

.slogan {
    font-family: var(--font-heading);
    font-size: 28px;
    font-style: italic;
    color: var(--white);
    border-left: 4px solid var(--gold);
    padding-left: 20px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: slideInRight 1.5s ease forwards;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 700px;
    border-radius: 10px;
    box-shadow: -15px 15px 0px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Voter Search Section */
.search-section {
    padding: 100px 0;
    background-color: var(--dark-grey);
}

.search-form {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    flex-grow: 1;
    padding: 20px 30px;
    font-size: 18px;
    border: none;
    background-color: var(--white);
    color: var(--black);
    outline: none;
    font-family: var(--font-body);
}

.search-button {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: bold;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.search-button:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.results-container {
    display: none;
    max-width: 800px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: var(--black);
    border: 1px solid var(--gold);
    border-radius: 10px;
    text-align: center;
}

.mock-note {
    font-size: 14px;
    color: #888;
    margin-top: 15px;
    font-style: italic;
}

/* Search Results Formatting */
.result-card {
    background-color: var(--dark-grey);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.result-row {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.result-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-key {
    font-weight: bold;
    color: var(--gold);
    margin-right: 10px;
}

.result-val {
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--black);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.8;
    text-align: center;
    color: #DDDDDD;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background-color: var(--dark-grey);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vision-card {
    background-color: var(--black);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

.vision-card i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.vision-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.vision-card p {
    color: #BBBBBB;
    font-size: 16px;
}

/* Support Section */
.support-section {
    padding: 100px 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'), radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.support-text {
    font-size: 22px;
    margin-bottom: 40px;
    color: #DDDDDD;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer p {
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .slogan {
        border-left: none;
        border-top: 4px solid var(--gold);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
    }
    
    .hero-image-container {
        margin-top: 50px;
        justify-content: center;
    }

    .hero {
        padding-top: 220px; /* Increased padding to clear the taller mobile header */
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .header-mobile {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }

    nav a {
        margin: 0 10px;
    }
    
    .candidate-name {
        font-size: 42px;
    }
    
    .ballot-highlight .ballot-number {
        font-size: 54px;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-button {
        padding: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}
