/* Metal Singer Portfolio - Main Styles */

:root {
    --primary-color: #ff2d2d;
    --secondary-color: #000000;
    --accent-color: #8b0000;
    --accent-gradient: linear-gradient(135deg, #ff2d2d, #8b0000);
    --text-color: #ffffff;
    --text-muted: #b0b0b0;
    --bg-color: #0a0a0a;
    --bg-alt-color: #151515;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-radius: 12px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --shadow-glow: 0 0 20px rgba(255, 45, 45, 0.3);
    --shadow-glow-intense: 0 0 40px rgba(255, 45, 45, 0.5);
    --success-color: #00ff00;
    --danger-color: rgba(139, 0, 0, 0.8);
    --danger-color-hover: #ff2d2d;
    --pdf-viewer-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QUcCQEWsEbWIAAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAACMElEQVRo3u2aPU7DQBCFv7WdBEEHDUeAG1DTUnAOWo5AQ01FS8MhqJD4UZQjgKjoaLgBFBRYciI5Jr82u7Z38WjiyM6O3jdvdscpYIULYAQ8ACtgBzwDb8BSvRtYIoCmh0eVZ/PvRiYaPSAoVZYqHkxH7XQK4AQYAzNdlJchoF9qrw+M1POtxnexgKZ6fAXs1bsDsDBFDIvJDIDl2c6GKiOgLXqrHfVu6LjIwPbsZtOVnVIkRIkS0VKW6gTPGm+aMqf6XZCDuVQyHnPyWZnMjRJhLUMvZlHZeK+ZpHV2J7/fyvdHC2BlfU5y0RwzI6Qo1knZRswnZlHFLl+l3iVjtM+BZiZ1hVxoYWOH6SIdR5tTIERLHb0J3Rt1VkQL0SnTlcbm01WXiIGkFchlTsR0YojsgcwcSNwRsQCeNJ5C2SgVm0LcWX+XfwcKAx1/xKZQSW4b+xnBp2RmITKdYtM92ZH9wIpbZ+ZEbA+tjZgDmylvB0diEZO0DtiYmXl3lm0bE9uBBdvGJHR7jQ2XiF3gNlIL20kVWJ1dbGHayyRvLlJgCXxqPEvpWi1kRfaJzLY1sWLMEd8jCTKbO0yJZUQRvbPtW3HkKWEZkW49Gx21ZZJS5DdjYXZnGZM0iXhtIibxIsZRE7XdRvhEXiBdXh3EnFXuZHcMVWLMx0mVuMqtiKtEV4a5cnchQeO37vIvUCJKlPiJLxd0Z/bFtkg5AAAAAElFTkSuQmCC');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* Visually hidden class for accessibility - hides elements visually but keeps them accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Metal Mania', cursive;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

h1 {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 45, 45, 0.5));
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
}

a:hover {
    color: var(--text-color);
    text-shadow: 0 0 12px var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--text-color);
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: 'Metal Mania', cursive;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-intense);
}

.btn-youtube {
    background: linear-gradient(135deg, #c4302b, #8b0000);
}

.btn-primary {
    background: var(--accent-gradient);
}

.btn-submit {
    width: 100%;
    font-size: 1.2rem;
    padding: 16px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 45, 45, 0.2);
    transition: all var(--transition-normal);
}

@supports (backdrop-filter: blur(10px)) {
    .main-nav {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

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

.nav-logo {
    font-family: 'Metal Mania', cursive;
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: all var(--transition-normal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-color);
    text-shadow: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header */
header {
    text-align: center;
    padding: 120px 0 40px;
    background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 100%);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

header h2 {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 4px;
}

header h2::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    transform: rotate(-2deg);
    transition: all var(--transition-normal);
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: var(--shadow-glow-intense);
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.4rem;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 45, 45, 0.2);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-gradient);
    color: var(--text-color);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

/* YouTube Section */
.youtube-section {
    padding: 80px 0;
    background-color: var(--bg-alt-color);
    text-align: center;
    position: relative;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.youtube-section h2 {
    display: block;
    text-align: center;
}

.youtube-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.video-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    transition: transform 0.5s ease;
    flex-shrink: 0;
    position: relative;
}

.video-item {
    position: relative;
    width: 100%;
    padding: 0;
}

/* Remove the previous h4 styling since we're now using .video-title */
.video-item h4 {
    display: none;
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid rgba(255, 45, 45, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.8);
}

.video-wrapper:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-glow);
    z-index: 5;
}

.video-wrapper:hover .play-button {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: var(--shadow-glow-intense);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    padding: 30px 15px 15px;
    text-align: center;
    width: 100%;
    z-index: 4;
}

.video-title h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 45, 45, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 3;
    margin: 0 15px;
}

.carousel-btn:hover {
    background: var(--accent-gradient);
    color: var(--text-color);
    border-color: transparent;
    transform: scale(1.1);
}

.youtube-cta {
    margin-top: 30px;
}

/* Vocal Course Section */
.vocal-course {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
}

.vocal-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.course-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.course-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.course-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.course-image img {
    max-width: 100%;
    height: auto;
    border: 3px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    transform: rotate(2deg);
    transition: all var(--transition-normal);
}

.course-image img:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: var(--shadow-glow-intense);
}

.course-features {
    list-style: none;
    margin: 30px 0;
}

.course-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.course-features li i {
    margin-right: 12px;
    color: var(--primary-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 45, 45, 0.5));
}

.course-cta {
    margin-top: 30px;
    text-align: center;
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background-color: var(--bg-alt-color);
    text-align: center;
    position: relative;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.booking-section h2 {
    display: block;
    text-align: center;
}

.booking-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.booking-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: 20px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 45, 45, 0.3);
    outline: none;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: 50px 0 30px;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(255, 45, 45, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h3 {
    margin-bottom: 5px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

.copilot-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #9c9c9c;
    font-style: italic;
    text-shadow: 0 0 3px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.copilot-credit:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

/* Cursor Effect */
.cursor-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.5);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: cursorPulse 0.5s forwards;
}

@keyframes cursorPulse {
    0% { 
        opacity: 0.7;
        width: 10px;
        height: 10px;
    }
    100% { 
        opacity: 0;
        width: 30px;
        height: 30px;
    }
}

/* Headbang animation */
@keyframes headbang {
    0% { transform: translateY(0); }
    25% { transform: translateY(10px) rotate(2deg); }
    50% { transform: translateY(0) rotate(-2deg); }
    75% { transform: translateY(10px) rotate(2deg); }
    100% { transform: translateY(0); }
}

header.headbang {
    animation: headbang 0.3s ease-in-out 3;
}

/* Section reveal animation */
section {
    opacity: 0.7;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Bio Section */
.bio-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    position: relative;
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.bio-section h2 {
    display: block;
}

.bio-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.bio-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
}

.bio-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

@supports (backdrop-filter: blur(10px)) {
    .video-modal {
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
    }
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow-intense);
}

.modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-glow);
}

body.modal-open {
    overflow: hidden;
}

/* Responsive */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .main-nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 45, 45, 0.2);
    }
    
    .main-nav .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    header {
        padding: 100px 0 30px;
    }
    
    .hero-content, 
    .course-content {
        flex-direction: column;
    }
    
    .hero-image, 
    .course-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-text, 
    .course-text {
        order: 2;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Responsive carousel styles */
    .video-carousel {
        flex-direction: column;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 100%;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .video-title {
        padding: 20px 10px 10px;
    }
    
    .video-title h4 {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        position: relative;
        margin: 10px 5px;
        width: 36px;
        height: 36px;
    }
    
    /* Fix video carousel controls positioning */
    .carousel-btn.prev-btn, 
    .carousel-btn.next-btn {
        position: static;
        display: inline-flex;
        margin-top: 15px;
    }
    
    /* Modal responsive fixes */
    .modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .booking-form {
        padding: 25px;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-primary {
    animation: pulse 3s ease-in-out 3;
}

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

.hero, .youtube-section, .vocal-course, .booking-section {
    animation: fadeIn 1s ease-out forwards;
}

/* Resources Page Styles */
.resources-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    min-height: 60vh;
}

.password-form-container,
.admin-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow);
    text-align: center;
}

.password-form-container h2,
.admin-form-container h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.password-form-container h2::after,
.admin-form-container h2::after {
    display: none;
}

.password-form,
.admin-form {
    margin-top: 30px;
}

.error-message {
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: 500;
}

.success-message {
    color: var(--success-color);
    margin-top: 15px;
    font-weight: 500;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.content-header h2::after {
    display: none;
}

.btn-logout {
    background: rgba(255, 45, 45, 0.2);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-logout:hover {
    background: var(--accent-gradient);
}

/* Resources List */
.resources-list {
    display: grid;
    gap: 20px;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.resource-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.resource-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.resource-date,
.resource-file {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.resource-actions {
    flex-shrink: 0;
}

.btn-view {
    background: var(--accent-gradient);
    padding: 10px 20px;
}

.btn-delete {
    background: var(--danger-color);
    padding: 10px 20px;
}

.btn-delete:hover {
    background: var(--danger-color-hover);
}

.no-resources {
    text-align: center;
    color: var(--text-muted);
    padding: 40px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px dashed rgba(255, 45, 45, 0.2);
}

/* Admin Section */
.admin-section {
    padding: 80px 0;
    background-color: var(--bg-color);
    min-height: 60vh;
}

.admin-panel {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: var(--border-radius);
}

.admin-panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.admin-panel h3 i {
    font-size: 1.2rem;
}

.admin-panel .admin-form {
    margin-top: 20px;
}

/* File Upload Styling */
.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px dashed rgba(255, 45, 45, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
    justify-content: center;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(255, 45, 45, 0.1);
}

.file-upload-label input[type="file"] {
    display: none;
}

.file-upload-label i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.file-name {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* PDF Modal */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    background: var(--bg-alt-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-glow-intense);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.pdf-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pdf-viewer {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 8px;
    background: var(--pdf-viewer-bg);
}

.download-btn {
    margin-top: 15px;
    align-self: center;
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive styles for resources/admin pages */
@media screen and (max-width: 768px) {
    .resource-card {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-info {
        text-align: center;
    }
    
    .content-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pdf-modal-content {
        height: 90vh;
        padding: 15px;
    }
    
    .admin-panel {
        padding: 20px;
    }
}