:root {
    --primary-gold: #f5b400;
    --primary-red: #8b0000;
    --dark-bg: #0a0f1c;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-muted: #aaa;
}

.mayor-council-page {
    background-color: var(--dark-bg);
    color: white;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-section {
    position: relative;
    padding: 0;
    margin-bottom: 60px;
    border-bottom: 3px solid var(--primary-gold);
}

.mainImg01Wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.mainImg01 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.overlayText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    width: 100%;
    text-align: center;
}

.hero-content {
    display: none;
}

/* Leadership Section */
.leadership-section {
    margin-bottom: 60px;
}

.leadership-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.leader-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.leader-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.leader-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 0;
}

.leader-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.leader-image {
    flex: 0 0 160px;
    height: 160px;
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    background: var(--dark-bg);
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    flex: 1;
    z-index: 1;
}

.leader-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.leader-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.leader-meta {
    font-size: 0.9rem;
    color: var(--primary-gold);
    display: flex;
    gap: 15px;
}

.mayor-highlight {
    background: linear-gradient(135deg, rgba(245, 180, 0, 0.05) 0%, rgba(10, 15, 28, 0.9) 100%);
    border-width: 2px;
}

.deputy-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 15, 28, 0.9) 100%);
}

@media (max-width: 992px) {
    .leader-card {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .leader-image {
        margin: 0 auto;
    }

    .leader-meta {
        justify-content: center;
    }
}

/* Filters Section */
.filters-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
}

.form-select option {
    background: var(--dark-bg);
    color: white;
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.btn-search,
.btn-clear {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.btn-search {
    background: var(--primary-gold);
    color: var(--dark-bg);
    flex: 2;
}

.btn-clear {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    flex: 1;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid var(--glass-border);
    padding: 5px;
    background: var(--dark-bg);
    transition: border-color 0.4s ease;
}

.member-card:hover .member-image {
    border-color: var(--primary-gold);
}

.member-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: rotate(360deg);
}

.council-section {
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.council-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.council-grid .member-card {
    padding: 25px;
}

.council-grid .member-image {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.council-grid .member-name {
    font-size: 1.3rem;
}

/* Animations */
[data-aos] {
    transition-duration: 1000ms !important;
}

@media (max-width: 768px) {
    .overlayText {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }
}

/* Initials Placeholder */
.initials-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-gold), #b8860b);
    color: var(--dark-bg);
    font-size: 3rem;
    font-weight: 800;
    border-radius: 50%;
}

.member-info-details {
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
}

.member-info-details div {
    margin-bottom: 5px;
}

.member-info-details strong {
    color: var(--primary-gold);
}

.no-results {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
}

.no-results i {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    opacity: 0.3;
}