/* General Styles */
body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #fff;
    background-color: #1f1f1f;
}

/* Header Styles */
header {
    background-color: #1f1f1f;
    color: #f0f0f0;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
}

.banner {
    display: flex;
    color: #f0f0f0;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    margin: 0;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.logo:hover {
    transform: scale(1.02);
}

/* Navigation */

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e53e3e;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #e53e3e;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Home Section */
#home {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Images/QC2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 200px 20px;
    text-align: left;
    color: white;
    margin-top: 80px;
}

.home-content {
    max-width: 800px;
    margin-left: 40px;
}

.home-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.home-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

/* Buttons */
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-buttons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    /* same width for all */
    height: 55px;
    /* same height for all */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.join-button {
    background-color: #e53e3e;
    color: white;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    /* fixed width like others */
    height: 55px;
    /* fixed height like others */
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.join-button i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.join-button:hover {
    background-color: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}


/* Shared CTA button style */
.cta-buttons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    /* same width for all */
    height: 55px;
    /* same height for all */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Discord button */
.discord-button {
    background-color: #5865F2;
    /* Discord blue */
    color: #fff;
}

.discord-button img {
    max-height: 60%;
    /* keeps logo proportional */
    max-width: 80%;
}

/* LinkedIn button */
.linkedin-button {
    background-color: #fff;
    /* LinkedIn blue */
    color: #fff;
}

.linkedin-button img {
    max-height: 60%;
    max-width: 80%;
}

/* Hover states */
.discord-button:hover,
.linkedin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.linkedin-button:hover {
    transform: translateY(-2px);
}

.linkedin-button img {
    height: 40px;
    border-radius: 8px;
    vertical-align: middle;
}

.discord-button:hover {
    transform: translateY(-2px);
}

.discord-button img {
    height: 50px;
    border-radius: 8px;
    vertical-align: middle;
}

/* Events Section */
#events {
    padding: 100px 20px;
    background-color: #1f1f1f;
    color: #fff5f5;
    text-align: center;
}

#events h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff5f5;
}


#events h3 {
    font-size: 1.5rem;
    margin: 5px;
    color: #fff5f5;
}

#events p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff5f5;
}

#events a {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #c593fd;
}

/* Team Section */
#team,
#faculty {
    padding: 100px 20px;
    background-color: #181616;
    color: #fff5f5;
    text-align: center;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    justify-content: center;
}


.team-member {
    background-color: #313131;
    color: #fff5f5;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #e53e3e;
}

.team-member h3 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.team-member h3 a {
    color: #cfcfcf;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-member h3 a:hover {
    color: #e53e3e;
}

.team-member p {
    color: #abb3be;
    font-size: 1rem;
}

.team-member p a {
    color: #c593fd;
    font-size: 1rem;
}

/* Faculty Advisor specific */
.faculty-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.faculty-member {
    background-color: #313131;
    color: #fff5f5;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.faculty-member:hover {
    transform: translateY(-5px);
}

.faculty-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #e53e3e;
}

.faculty-member h3 {
    font-size: 1.25rem;
    margin: 10px 0;
}

.faculty-member h3 a {
    color: #fff5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faculty-member h3 a:hover {
    color: #e53e3e;
}

/* About Section */
#about {
    padding: 100px 20px;
    background-color: #363131;
    color: #fff5f5;
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff5f5;
}

#about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff5f5;
}

/* Contact Section */
#contact {
    padding: 100px 20px;
    background-color: #1c252b;
    text-align: center;
}

#contact p a {
    color: #c593fd;
}


.social-media {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-media a {
    margin: 0 10px;
    transition: transform 0.3s ease;
    font-size: 2.5rem;
    color: #c593fd;
    /* Discord blue */
}

.social-media a:hover {
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #2d3748;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Section Headers */

.section h1 {
    font-size: 2.5rem;
    color: #fcfcfc;
    position: relative;
    display: inline-block;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-block-start: 0;
    margin-block-end: 0;
}

.section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #e53e3e;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        margin-right: 10px;
    }

    .fallfest-theme .menu-icon {
        display: block;
    }

    .fallfest-theme #nav-links {
        background-color: #1f1f1f;
        color: #fff;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1f1f1f;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .home-content {
        margin-left: 20px;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .team-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .join-button {
        margin-bottom: 15px;
    }
}

main.section {
    padding-top: 100px;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

main.section h1,
main.section h2 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}


main.section h3 {
    color: #9b9494;
    margin-top: 20px;
    font-size: 1.8rem
}

main.section p a {
    color: #c593fd;
    font-size: 1 rem;
}

main.section p,
main.section ul,
main.section ol {
    margin-left: 1.5rem;
    line-height: 1.6;
}

main.section ul,
main.section ol {
    padding-left: 1.5rem;
}

main.extra-gap {
    display: block;
    /* just to be safe */
    padding-top: 120px;
    /* bigger than your header height */
}

/* Dropdown container */
.dropdown {
    position: relative;
}

/* Style for the dropdown link */
.dropdown>a {
    cursor: pointer;
    padding: 10px 15px;
}

/* Dropdown menu hidden by default */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    /* directly below Events */
    left: 0;
    background-color: #1f1f1f;
    color: #fff5f5;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dropdown links */
.dropdown-content li a {
    display: block;
    padding: 10px 15px;
    color: #fff5f5;
    text-decoration: none;
}

.dropdown-content li a:hover {
    background-color: #6b6b6b;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* ===============================
   Qiskit Fall Fest THEME
   Scoped under .fallfest-theme
   =============================== */
.fallfest-theme {
    font-family: 'Inter', 'Montserrat', sans-serif;
    background-color: #121212;
    /* dark background */
    color: #fff5f5;
}

/* Header */
.fallfest-theme header {
    background-color: #1f1f1f;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.fallfest-theme nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.fallfest-theme nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e53e3e;
    transition: width 0.3s ease;
}

.fallfest-theme .fallfest-title {
    font-family: 'IBM Plex Sans', 'Inter', 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0 1rem;
    color: #fff;
    width: 100%;
}

.fallfest-theme .fallfest-title span {
    background: linear-gradient(90deg, #007bff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    display: inline-block;
}

/* Section Headings */
body.fallfest-theme section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

body.fallfest-theme section.show {
    opacity: 1;
    transform: translateY(0);
}

.fallfest-theme .section h1,
.fallfest-theme .section h2,
.fallfest-theme .section h3 {
    font-family: 'IBM Plex Sans', 'Inter', 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0 1rem;
    width: 100%;
    color: #c593fd;
}

.fallfest-theme .section h2:after {
    background-color: #c593fd;
}

/* Buttons */
.fallfest-theme .register-btn,
.fallfest-theme .join-button {
    background-color: #c593fd;
    color: #121212;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.fallfest-theme .register-btn:hover,
.fallfest-theme .join-button:hover {
    background-color: #00c4cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

/* Social Media */
.fallfest-theme .social-media a {
    color: #c593fd;
    transition: transform 0.3s ease, color 0.3s ease;
}

.fallfest-theme .social-media a:hover {
    color: #fff;
    transform: scale(1.2);
}

/* Footer */
.fallfest-theme footer {
    background-color: #1f1f1f;
    color: #aaa;
}

.fallfest-theme contact {
    padding: 100px 20px;
    background-color: #f7fafc;
    text-align: center;
}

.dark-schedule {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: 'Inter', 'Montserrat', sans-serif;
    background: #1a1a1a;
    color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.dark-schedule thead {
    background: linear-gradient(90deg, #c593fd, #e53e3e);
}

.dark-schedule th,
.dark-schedule td {
    padding: 14px 20px;
    text-align: left;
}

.dark-schedule th {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.dark-schedule tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.dark-schedule tbody tr:hover {
    background: rgba(197, 147, 253, 0.1);
}

.dark-schedule td {
    font-size: 0.95rem;
    color: #ddd;
}

.dark-schedule td:first-child {
    font-weight: 600;
    color: #c593fd;
    text-align: center;
}

/* ---------- Mobile Tile Layout ---------- */
@media (max-width: 768px) {

    .dark-schedule,
    .dark-schedule thead,
    .dark-schedule tbody,
    .dark-schedule th,
    .dark-schedule tr,
    .dark-schedule td {
        display: block;
        width: 100%;
    }

    .dark-schedule thead {
        display: none;
        /* Hide header row */
    }

    .dark-schedule tr {
        background: #1a1a1a;
        margin: 0 0 0.8rem;
        /* less spacing between tiles */
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 10px;
        padding: 0.8rem 1rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    }

    .dark-schedule td {
        border: none;
        padding: 6px 0;
        text-align: left;
        font-size: 0.9rem;
    }

    .dark-schedule td::before {
        content: attr(data-label) ": ";
        /* show heading before value */
        font-weight: 600;
        color: #c593fd;
        display: inline-block;
        min-width: 90px;
        /* keeps labels aligned */
        font-size: 0.85rem;
    }

    .dark-schedule td:first-child {
        font-weight: 600;
        color: #c593fd;
        text-align: left;
    }

}


.register-container {
    text-align: center;
    margin: 2rem 0;
}

.register-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #121212;
    background: linear-gradient(90deg, #c593fd, #00c4cc);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.register-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
    background: linear-gradient(90deg, #00c4cc, #c593fd);
}