/* Council Members Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 120px;
    text-align: center;
}

.page-header-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Council Section Layout */
.council-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.council-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.council-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    position: sticky;
    top: 150px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.sidebar-menu h3 {
    color: #2c5aa0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.sidebar-menu ul {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar-menu ul li {
    margin-bottom: 8px;
}

.sidebar-link {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #f0f4ff;
    color: #2c5aa0;
    transform: translateX(-5px);
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.search-btn {
    width: 100%;
    padding: 12px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
}

.search-btn:hover {
    background: #1e3d6f;
}

/* Share Section */
.share-section h4 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    font-size: 16px;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.email {
    background: #34495e;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.print {
    background: #6c757d;
}

.share-btn.chrome {
    background: #4285f4;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Main Content */
.council-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Council Category */
.council-category {
    margin-bottom: 40px;
}

.category-header {
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    padding: 30px;
    margin-bottom: 30px;
}

.category-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* Committee Section */
.committee-section {
    margin-bottom: 40px;
    padding: 0 30px;
}

.committee-section h3 {
    color: #2c5aa0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

/* Members Grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 0 30px 30px;
}

.committee-section .members-grid {
    padding: 0;
}

/* Member Card */
.member-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #2c5aa0;
}

.member-card:hover::before {
    transform: scaleX(1);
}

/* President Card Special Styling */
.president-card {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border: 2px solid #2c5aa0;
}

.president-card::before {
    transform: scaleX(1);
}

/* Member Photo */
.member-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.member-card:hover .member-photo {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Member Info */
.member-info h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.member-title {
    color: #2c5aa0;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Member Details */
.member-details {
    margin-top: 15px;
}

.detail-btn {
    color: #2c5aa0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: underline;
}

.detail-btn:hover {
    color: #1e3d6f;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .council-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .council-sidebar {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
        margin-top: 120px;
    }
    
    .page-header-content h1 {
        font-size: 32px;
    }
    
    .page-header-content p {
        font-size: 16px;
    }
    
    .council-section {
        padding: 60px 0;
    }
    
    .council-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .council-sidebar {
        position: static;
        max-height: none;
        order: 2;
    }
    
    .members-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        padding: 0 20px 20px;
    }
    
    .committee-section .members-grid {
        padding: 0;
    }
    
    .category-header {
        padding: 20px;
    }
    
    .category-header h2 {
        font-size: 22px;
    }
    
    .committee-section {
        padding: 0 20px;
    }
    
    .committee-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .page-header-content h1 {
        font-size: 24px;
    }
    
    .breadcrumb {
        flex-direction: column;
        gap: 5px;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px 15px;
    }
    
    .committee-section .members-grid {
        padding: 0;
    }
    
    .member-card {
        padding: 20px;
    }
    
    .member-photo {
        width: 80px;
        height: 80px;
    }
    
    .member-info h3 {
        font-size: 16px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .council-sidebar {
        padding: 15px;
    }
    
    .sidebar-menu h3 {
        font-size: 16px;
    }
}