/* Enhanced Header Styles */
#header {
    background: #E6D9F2; /* Light lavender/pale purple */
    border-bottom: 2px solid #5a4a6a; /* Dark gray line */
    box-shadow: none;
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    font-family: 'Josefin Sans', sans-serif;
}

#header nav {
    padding-right: 0;
}

#header nav a[href="#menu"] {
    padding: 0.5em 1.25em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2d2d44; /* Dark gray/black */
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 400;
    font-family: 'Josefin Sans', sans-serif;
}

#header nav a[href="#menu"]:hover {
    color: #5a4a6a;
}

/* Remove hamburger icon - just show "Menu" text */
#header nav a[href="#menu"]::after {
    content: none;
}

#header .logo {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2d2d44; /* Dark gray/black */
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-size: 1rem;
    position: relative;
    font-family: 'Josefin Sans', sans-serif;
}

#header .logo:hover {
    color: #5a4a6a;
}

#header .logo span {
    color: #2d2d44; /* Dark gray/black */
}

#header .logo:hover span {
    color: #5a4a6a;
}

/* Logo image styling */
#header .logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* Logo text wrapper */
#header .logo > span {
    display: flex;
    align-items: center;
    gap: 0.25em;
}

/* Enhanced Menu Styles - Matching Image */
#menu {
    background: #c0b3cf63; /* Dark purple/indigo */
    backdrop-filter: none;
    border-left: none;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding: 0;
}

#menu .links {
    border-bottom: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu .links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#menu .links li:last-of-type {
    border-bottom: none;
}

#menu .links a {
    color: #000000; /* White text */
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1em 2em;
    transition: all 0.3s ease;
    position: relative;
}

/* Active/Highlighted menu items */
#menu .links a.active,
#menu .links li:first-child a {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0.25em 0.5em;
}

#menu .links a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 2.5em;
}

/* Live link with red circle */
#menu .links a.nav-live-link {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 0.25em 0.5em;
    color: #000000 !important;
}

#menu .links a.nav-live-link::before {
    content: '🔴';
    display: inline-block;
    margin-right: 0.75em;
    font-size: 0.75em;
}

/* Apply to Join with paper airplane icon */
#menu .links a.apply-link,
#menu .links a[href*="apply"] {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5em;
    padding-top: 1.25em;
    color: #000000 !important;
}

#menu .links a.apply-link i,
#menu .links a[href*="apply"] i {
    color: #000000; /* Light blue */
    margin-right: 0.75em;
    margin-left: 0;
}

/* Login Button - Gradient button */
#menu .links a.login-btn {
    background: linear-gradient(135deg, #e9ccd6 0%, #5a3c7a 100%); /* Dark purple to bluish-purple */
    border: none;
    border-radius: 8px;
    margin: 0.5em;
    padding: 1em 2em;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menu .links a.login-btn i {
    margin-right: 0.75em;
    margin-left: 0;
    color: #000000;
}

#menu .links a.login-btn:hover {
    background: linear-gradient(135deg, #5a3c7a 0%, #6a4c8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#menu .links a i {
    transition: transform 0.3s ease;
}

#menu .links a:hover i {
    transform: scale(1.1);
}

/* Close button - White X in top right */
#menu .close {
    color: #ffffff !important;
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    font-size: 1.5rem;
    z-index: 10;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
}

#menu .close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

#menu .close:before {
    content: '×';
    font-size: 2rem;
    line-height: 1;
    font-weight: 300;
}

/* Universal Footer Styles - The Beanary Theme (Light Purple Style) */
#footer {
    background: #E6D9F2 !important;
    padding: 3rem 2rem 1.5rem !important;
    position: relative !important;
    color: #5a4a6a !important;
    margin-top: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Columns */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-column h3 {
    color: #5a4a6a !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 1.25rem !important;
    text-shadow: none !important;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-column ul li {
    margin-bottom: 0.75rem !important;
}

.footer-column ul li a {
    color: #5a4a6a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    font-size: 0.95rem !important;
}

.footer-column ul li a:hover {
    color: #7a6a8a !important;
    text-decoration: underline !important;
}

.footer-column p {
    color: #5a4a6a !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
}

/* Social Media Icons */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #5a4a6a;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a4a6a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.footer-social a:hover {
    border-color: #7a6a8a;
    background: #f5f0f8;
    transform: translateY(-2px);
}

.footer-social a i {
    font-size: 1.1rem;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(90, 74, 106, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright {
    color: #5a4a6a !important;
    font-size: 0.85rem !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
}

.footer-copyright a {
    color: #5a4a6a !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.footer-copyright a:hover {
    color: #7a6a8a !important;
    text-decoration: underline !important;
}

/* About This Site Section */
.footer-about-toggle {
    background: transparent;
    border: none;
    color: #5a4a6a !important;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 0;
    text-align: center;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-about-toggle:hover {
    color: #7a6a8a !important;
}

.footer-about-toggle .toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 0.7rem;
}

.footer-about-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.footer-about-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
    color: #5a4a6a !important;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

.footer-about-content.active {
    max-height: 200px;
    padding: 1rem;
}

.footer-about-content a {
    color: #5a4a6a !important;
    text-decoration: none !important;
}

.footer-about-content a:hover {
    color: #7a6a8a !important;
    text-decoration: underline !important;
}

/* Legacy Footer Support (for backward compatibility) */
#footer .contact-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    flex-wrap: wrap !important;
    padding: 0 20px !important;
    list-style: none !important;
    margin: 0 !important;
}

#footer .contact-icons li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#footer .contact-icons li a {
    position: relative !important;
    padding: 8px 12px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    color: #e9ccd6 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    font-size: 1em !important;
}

#footer .contact-icons li a:hover {
    background: rgba(203, 202, 238, 0.05) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    color: #a9c9ff !important;
}

#footer .contact-icons li a i {
    margin-right: 8px !important;
    transition: transform 0.3s ease !important;
    color: #ecbac6 !important;
}

#footer .contact-icons li a:hover i {
    transform: scale(1.2) !important;
}

#footer .copyright {
    margin-top: 20px !important;
    color: #cbcaee !important;
    font-size: 0.9em !important;
    letter-spacing: 1px !important;
    text-align: center !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #footer {
        padding: 2rem 1.5rem 1rem !important;
    }
    
    .footer-column h3 {
        font-size: 0.85rem !important;
    }
    
    .footer-column ul li a,
    .footer-column p {
        font-size: 0.9rem !important;
    }
}

/* Neon Destiny Footer - Light Theme */
.neon-destiny-footer {
    background: #E6D9F2 !important;
    padding: 15px !important;
    text-align: center !important;
    border-top: 1px solid rgba(90, 74, 106, 0.2) !important;
}

.neon-destiny-footer a {
    color: #5a4a6a !important;
    text-decoration: none !important;
    font-size: 16px !important;
    text-shadow: none !important;
    position: relative !important;
    display: inline-block !important;
    padding: 5px 15px !important;
    transition: all 0.2s ease !important;
}

.neon-destiny-footer a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(90, 74, 106, 0.1) !important;
    transform: scaleX(0) !important;
    transform-origin: right !important;
    transition: transform 0.3s ease !important;
}

.neon-destiny-footer a:hover {
    color: #7a6a8a !important;
}

.neon-destiny-footer a:hover::before {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

/* Live menu link styling */
#menu .links a.nav-live-link {
    color: #e9ccd6;
    background: linear-gradient(135deg, rgba(169,201,255,0.08), rgba(236,186,198,0.04));
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(169,201,255,0.18);
    transition: all .18s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.25em 0;
}

#menu .links a.nav-live-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(169,201,255,0.16);
}

#menu .links a.nav-live-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #a9c9ff, #ecbac6);
    box-shadow: 0 10px 28px rgba(169,201,255,0.28);
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -100;
    pointer-events: none;
}

/* =========================
   Beanary Content Cards
   ========================= */

.content-box {
    max-width: 820px;
    margin: 3rem auto;
    padding: 2.25rem 2.75rem;

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 40px 60px 45px 70px;

    /* Thicker, more visible pastel borders */
    border: 2px solid rgba(252, 230, 244, 1);              /* soft pink edge */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.24),                   /* drop shadow */
        0 0 0 2px rgba(177, 156, 217, 0.85),               /* outer lilac ring */
        inset 0 0 0 2px rgba(233, 204, 237, 0.95);         /* inner light purple ring */

    color: #1a1a2e;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Center and offset the Team Members glitch heading */
header.major {
    text-align: center;
    margin-top: 7rem;      /* distance from fixed top bar – tweak as needed */
}

header.major .logo-header {
    display: inline-block; /* lets glitch hug content */
    margin: 0 auto 1.5rem; /* centers inside header and adds bottom space */
}

header.major .glitch {
    font-size: 3.2rem;     /* adjust to match banner scale */
    letter-spacing: 0.12em;
}




/* Headings inside cards */
.content-box h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

/* Text spacing */
.content-box p {
    line-height: 1.65;
}

/* Lists */
.content-box ul {
    margin: 0;
    padding-left: 1.2rem;
}

.content-box li {
    margin-bottom: 0.75rem;
}

.content-box li:last-child {
    margin-bottom: 0;
}

/* Subtle hover lift */
.content-box:hover {
    transform: translateY(-3px);
    box-shadow:
        0 26px 50px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .content-box {
        max-width: 92%;
        padding: 2rem;
        border-radius: 32px 40px 36px 44px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* =========================
   Centered Image Card Style
   ========================= */

.image.main {
    max-width: 820px;          /* same as .content-box */
    margin: 5rem auto 3rem;    /* pushed down from header */
}

.image.main img {
    margin: auto;
    width: 65%;
    height: auto;
    display: block;

    border-radius: 40px 60px 45px 70px; /* match kidney bean cards */

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.22),
        inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Give the first text card extra space from the header,
   but keep following cards normal */
.content-box:first-of-type {
    margin-top: 3rem;
}

/* You can remove any padding fixes for #main if they existed,
   since spacing is now controlled here */
/* #main.wrapper { padding-top: 3rem; }
   #main .inner { padding-top: 0; } */
