/* =========================
   Import Google Fonts
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

/* =========================
   Reset and Base Styles
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.6;
    background-color: #ECD189;
    color: #392F5A;
}

/* =========================
   Login Page Background
   ========================= */
.body-bg-fixed.login-bg {
    background: url('/images/login-background.png') center center / cover no-repeat fixed !important;
}

/* =========================
   Full Background for Other Pages
   ========================= */
.body-bg-fixed {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1000;
    background: url('/images/aubfest-background3.png') center center / cover no-repeat fixed;
    pointer-events: none;
}

/* =========================
   Header Styles
   ========================= */
.main-header {
    background-color: #AE1C33;
    color: #ECD189;
    padding: 2rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* =========================
   Logo Styles
   ========================= */
.logo img {
    height: 100px !important;
    width: auto !important;
    display: block;
}

/* =========================
   Navigation Links Styles
   ========================= */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    font-size: 1.25rem;
    align-items: center;
}
.nav-links a {
    color: #ECD189;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-size: 1.1em;
}
.nav-links a:hover,
.nav-links a.active {
    color: #392F5A !important;
}

/* =========================
   Tickets Button Styles
   ========================= */
.tickets-btn {
    padding: 0;
    display: flex;
    align-items: center;
}
.tickets-button {
    background: #392F5A;
    color: #ECD189 !important;
    border: 2.5px solid #ECD189;
    border-radius: 22px;
    font-size: 2em;
    font-weight: 900;
    font-family: 'Fredoka', 'Montserrat', 'Arial Black', Arial, sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1.2em 3em;
    margin-left: 0.5em;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 100, 0, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, border 0.2s, transform 0.1s, box-shadow 0.2s;
    animation: tickets-pulse 1.5s infinite alternate;
    text-decoration: none !important;
}
@keyframes tickets-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 100, 0, 0.25); }
    100% { box-shadow: 0 0 16px 8px rgba(34, 139, 34, 0.18); }
}
.tickets-button:hover, .tickets-btn.active .tickets-button {
    background: #392F5A;
    color: #fff;
    border: 2.5px solid #ECD189;
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 100, 0, 0.25), 0 2px 8px rgba(0,0,0,0.12);
}

/* =========================
   Remove Underline from Tickets Button in All States
   ========================= */
.tickets-btn a,
.tickets-btn a:link,
.tickets-btn a:visited,
.tickets-btn a:focus,
.tickets-btn a:hover,
.tickets-btn a:active,
.tickets-btn > a > .tickets-button,
.tickets-button:focus,
.tickets-button:active,
.tickets-btn .tickets-button,
.tickets-btn .tickets-button:visited,
.tickets-btn .tickets-button:active,
.tickets-btn .tickets-button:focus,
.tickets-btn .tickets-button:hover,
.tickets-btn a .tickets-button,
.tickets-btn a .tickets-button:visited,
.tickets-btn a .tickets-button:active,
.tickets-btn a .tickets-button:focus,
.tickets-btn a .tickets-button:hover {
    text-decoration: none !important;
    box-shadow: none;
}

/* =========================
   Main Content Styles
   ========================= */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}
.content-section {
    background: rgba(255,255,255,0.90);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* =========================
   Footer Styles
   ========================= */
.main-footer {
    background: #AE1C33;
    color: #ECD189;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.social-row {
  display: flex;
  gap: 1.5em;
  justify-content: center;
}
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}
.footer-section h3 {
    color: #FFFDD0;
    margin-bottom: 1rem;
}
.footer-section ul {
    list-style: none;
}
.footer-section a {
    color: #FFFDD0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-section a:hover {
    opacity: 0.8;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1rem 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 253, 208, 0.2);
}

/* =========================
   Hamburger Menu Styles
   ========================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1201;
    position: absolute;
    top: 28px;
    right: 24px;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #ECD189 !important;
    border-radius: 2px;
    transition: 0.3s;
}

/* =========================
   Close Button Styles
   ========================= */
.close-menu {
    display: none;
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2em;
    font-weight: bold;
    z-index: 100000 !important;
    cursor: pointer;
    transition: color 0.2s;
}
.slide-menu.open ~ .close-menu {
    display: block;
}

/* =========================
   Slide-in Menu Styles
   ========================= */
.slide-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: #AE1C33 !important;
    box-shadow: -2px 0 12px rgba(0,0,0,0.12);
    flex-direction: column;
    gap: 2rem;
    padding: 100px 2rem 2rem 2rem;
    z-index: 99999 !important;
    transition: right 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
    display: flex;
}
.slide-menu.open {
    right: 0;
}
.nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 99998 !important;
    width: 100vw;
    height: 100vh;
    cursor: pointer;
}
.nav-overlay.active {
    display: block;
}
.slide-menu a {
    color: #ECD189 !important;
    text-decoration: none;
    font-size: 1.35em;
    font-weight: 500;
    padding: 0.7em 0;
    border-radius: 4px;
    transition: color 0.3s;
    z-index: 1000;
}
.slide-menu a:hover,
.slide-menu a.active {
    color: #392F5A !important;
    text-decoration: none;
}

/* =========================
   Page Header Styles
   ========================= */
.page-header {
    width: 100%;
    background: #AE1C33;
    color: #ECD189;
    border-radius: 0 0 48px 48px;
    padding: 3rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}
.page-header h1 {
    font-size: 3rem;
    margin: 0;
    letter-spacing: 0.04em;
    font-family: 'Futara';
    font-weight: bold;
}
@media (max-width: 600px) {
  .page-header {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
    border-radius: 0 0 28px 28px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
}

/* =========================
   Major Headers Font Consistency
   ========================= */
.page-header h1,
.lineup-preview-section h2,
.get-involved-section h2,
.welcome-section h2,
.about-main h1,
.faq-section h2,
.involved-section-box h1,
.involved-section-box h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.04em;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 950px) {
    .nav-container {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: 100px;
    }
    .logo.mobile-logo {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1202;
        height: 100px;
        display: flex;
        align-items: center;
    }
    .logo.mobile-logo img {
        height: 100px;
        width: auto;
    }
    .tickets-button {
        font-size: 1.5em !important;
        padding: 0.9em 2.2em !important;
        border-radius: 18px !important;
    }
    .tickets-btn {
        position: static;
        margin: 0 auto;
        z-index: 1202;
    }
    .nav-links.desktop-nav {
        display: none;
    }
    .slide-menu {
        display: flex;
    }
    .slide-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 1.35em;
        font-weight: 500;
        padding: 0.7em 0;
        border-radius: 4px;
        transition: color 0.3s;
    }
    .slide-menu a:hover,
    .slide-menu a.active {
        color: #FFFDD0;
        text-decoration: none;
    }
    .hamburger {
        display: flex;
    }
    .close-menu {
        display: none;
    }
}

@media (min-width: 950px) {
    .slide-menu, .nav-overlay, .hamburger {
        display: none !important;
    }
    .nav-links.desktop-nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 2.5rem;
        background: none;
        box-shadow: none;
        height: auto;
        padding: 0;
    }
    .tickets-btn {
        position: static;
        transform: none;
    }
}
.tickets-button {
  font-size: 1.5em !important;
  padding: 0.9em 2.2em !important;
  border-radius: 18px !important;
}
.footer-content, 
footer, 
.footer-content p, 
.footer-content a {
    text-align: center;
    justify-content: center;
    align-items: center;
}

@media (min-width: 900px) {
  .main-header .logo img,
  .logo img {
    height: 140px !important;
    max-width: 180px !important;
    width: auto !important;
  }
}

@media(min-width: 530px) {
.hamburger {
    width: 56px;
    height: 56px;
  }
  .hamburger span {
    width: 38px;
    height: 6px;
  }
}
/* Media query for mobile font size adjustment */
@media (max-width: 530px) {
  .main-header .logo img,
  .mobile-logo img {
  max-width: 90px;
  max-height: 90px;
  width: auto;
  }
  .tickets-button {
    font-size: 1.25rem !important;
    padding: 0.4em 1em !important;
    border-radius: 12px !important;
  }
}

/* =========================
   Get Involved Section Margin
   ========================= */
.get-involved-section {
    margin-top: 2.5em;
}

/* =========================
   Shared Button Styles
   ========================= */
.tickets-btn .tickets-btn.active, .tickets-btn .tickets-button,
.about-btn, .lineup-btn, .apply-btn, .involved-nav-link {
    background: #392F5A;
    color: #ECD189 !important;
    border: 2px solid #ECD189;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
}
.tickets-btn .tickets-btn.active:hover, .tickets-btn .tickets-button:hover,
.about-btn:hover, .lineup-btn:hover, .apply-btn:hover, .involved-nav-link:hover {
    background: #241c38;
    color: #ECD189 !important;
    border-color: #ECD189;
}

/* =========================
   Active Link Styles
   ========================= */
.nav-links a.active,
.slide-menu a.active {
    color: #392F5A !important; /* Darker shade of tan for active page */
    background: none;
}

/* =========================
   Responsive Logo Sizing
   ========================= */
@media (max-width: 900px) {
    .logo img {
        height: 140px !important;
        width: auto !important;
    }
}

/* =========================
   Z-Index for Main Layout Elements
   ========================= */
.main-header,
.page-header,
.about-main,
.involved-main,
footer {
    z-index: auto !important;
}

/* =========================
   Login Container Background
   ========================= */
.login-container-bg {
    background: url('/images/login-section-background.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
}
.login-container-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(174,28,51,0.7); /* Less opaque for clearer image */
    z-index: 0;
    border-radius: 18px;
}
.login-container-bg > * {
    position: relative;
    z-index: 1;
}