/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

/* Header */
header {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 25px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.logo-text h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.logo-text .subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

.campus-info {
    display: flex;
    gap: 30px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
}

.info-box i {
    font-size: 20px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
}

.empty-state {
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 100%;
}

.empty-state i {
    color: #2a5298;
    opacity: 0.3;
    margin-bottom: 25px;
}

.empty-state h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 28px;
}

.empty-state p {
    color: #666;
    margin-bottom: 25px;
    font-size: 18px;
}

.admin-btn {
    display: inline-block;
    background: #2a5298;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
}

.admin-btn:hover {
    background: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.2);
}

/* Carousel Container */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Card Design */
.member-card {
    display: flex;
    min-height: 650px;
    position: relative;
}

/* Left Photo Section */
.photo-section {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

.photo-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100%;
    background: white;
    transform: skewX(-15deg);
    z-index: 1;
}

.photo-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.member-photo {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.photo-label {
    color: white;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.photo-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 400;
}

/* Right Info Section */
.info-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    color: #1e3c72;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
}

.member-role {
    color: #2a5298;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-role i {
    font-size: 20px;
}

.divider {
    height: 3px;
    width: 80px;
    background: #1e3c72;
    margin: 25px 0;
    border-radius: 2px;
}

.member-description {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 35px;
    text-align: justify;
}

.section-title {
    color: #1e3c72;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-quote {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
}

/* Card Navigation */
.card-number {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: #1e3c72;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.nav-btn {
    background: #1e3c72;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #2a5298;
    transform: scale(1.1);
}

.dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #1e3c72;
    transform: scale(1.2);
}

.rotate-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rotate-info i {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 20px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-section i {
    color: #2a5298;
}

.copyright {
    opacity: 0.7;
    font-size: 13px;
}

/* Carousel Slides */
.carousel {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .member-card {
        min-height: 600px;
    }
    
    .member-photo {
        width: 280px;
        height: 280px;
    }
    
    .member-name {
        font-size: 36px;
    }
    
    .member-role {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .member-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .photo-section {
        flex: none;
        height: 300px;
        padding: 30px;
    }
    
    .photo-section::before {
        display: none;
    }
    
    .member-photo {
        width: 180px;
        height: 180px;
        margin-bottom: 15px;
    }
    
    .info-section {
        padding: 40px 30px;
    }
    
    .carousel-container {
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .campus-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .member-name {
        font-size: 28px;
    }
    
    .member-role {
        font-size: 18px;
    }
    
    .member-description,
    .member-quote {
        font-size: 16px;
    }
}