/* CSS Variables for Color Scheme */
:root {
    --text: #4f6d7b;
    --text-dark: #54291e;
    --border: #b64023;
    --primary: #e9702d;
    --secondary: #ffb338;
    --primary-dark: #b64023;
    --bg: #fef0d4;
    --bg-alt: #ffffff;
    --overlay: #54291ecc;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body scroll containment - prevents mobile address bar from affecting fixed elements */
html {
    overflow: hidden;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

/* ================================
   EPIC HOMEPAGE STYLES
   ================================ */

/* Homepage specific body styles */
body.homepage {
    position: relative;
    background: transparent;
}

/* Full-page background image (JS randomizes, this is fallback) */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url('../images/backgrounds/background.jpg') no-repeat center center;
    background-size: cover;
}

/* Gradient overlay for better text readability */
.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(84, 41, 30, 0.3) 0%,
        rgba(84, 41, 30, 0.2) 30%,
        rgba(84, 41, 30, 0.4) 70%,
        rgba(84, 41, 30, 0.7) 100%
    );
}

/* Transparent header for homepage */
.header-transparent {
    background-color: transparent;
    border-bottom: none;
    position: relative;
    z-index: 10;
}

.header-transparent .nav-container {
    background: rgba(254, 240, 212, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(182, 64, 35, 0.3);
}

.header-transparent .logo {
    font-size: 1.5rem;
}

.header-transparent .logo-image {
    height: 3rem;
    width: 3rem;
}

/* Epic Hero Section */
.hero-epic {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 6rem;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-epic h1 {
    font-size: 6rem;
    color: #fff;
    font-weight: 800;
    text-shadow:
        0 0 0 3px var(--primary-dark),
        4px 4px 0 var(--primary-dark),
        8px 8px 0 rgba(84, 41, 30, 0.5),
        0 0 40px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 2px var(--primary-dark);
    paint-order: stroke fill;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    animation: heroFadeIn 1s ease-out;
    background: linear-gradient(180deg, rgba(84, 41, 30, 0.6) 0%, rgba(84, 41, 30, 0.4) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
}

.hero-epic .conference-tagline {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem;
    max-width: 650px;
    text-align: center;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-epic .brought-to-you {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    animation: heroFadeIn 1s ease-out 0.3s both;
}

.hero-epic .brought-to-you-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-epic .brought-to-you-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-epic .brought-to-you-logos a {
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.hero-epic .brought-to-you-logos a:hover {
    opacity: 1;
}

.hero-epic .brought-to-you-logos a img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.hero-epic .brought-to-you-logos a.brought-to-you-featured img {
    height: 40px;
}

.hero-epic .conference-info {
    font-size: 2rem;
    color: var(--secondary);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.25rem;
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.hero-epic .home-actions {
    margin: 2rem 0 1rem;
    animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero-epic .home-actions .cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    box-shadow:
        0 10px 40px rgba(233, 112, 45, 0.4),
        0 0 20px rgba(233, 112, 45, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-epic .home-actions .cta-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 15px 50px rgba(233, 112, 45, 0.5),
        0 0 30px rgba(233, 112, 45, 0.3);
}

.hero-epic .announcement {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffc857 100%);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(255, 179, 56, 0.4);
    animation: heroFadeIn 1s ease-out 0.8s both;
}

.hero-epic .social-media-links {
    animation: heroFadeIn 1s ease-out 1s both;
}

.hero-epic .social-media-links a {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-epic .social-media-links a:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 8px 30px rgba(255, 179, 56, 0.5);
}

.hero-epic .subscribe-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(182, 64, 35, 0.2);
    animation: heroFadeIn 1s ease-out 1.2s both;
}

/* Homepage footer styling */
body.homepage footer {
    background: rgba(254, 240, 212, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* Fade-in animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   EPIC INNER PAGES (Tickets, etc.)
   ================================ */

body.page-epic {
    position: relative;
    background: transparent;
}


/* Epic page content styling */
.page-content-epic {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 6rem;
    min-height: calc(100vh - 100px);
}

.page-content-epic h1 {
    font-size: 5rem;
    color: #fff;
    font-weight: 800;
    text-shadow:
        0 0 0 3px var(--primary-dark),
        4px 4px 0 var(--primary-dark),
        8px 8px 0 rgba(84, 41, 30, 0.5),
        0 0 40px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 2px var(--primary-dark);
    paint-order: stroke fill;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    animation: heroFadeIn 1s ease-out;
    background: linear-gradient(180deg, rgba(84, 41, 30, 0.6) 0%, rgba(84, 41, 30, 0.4) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
}

/* Epic ticket info styling */
.page-content-epic .ticket-info {
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.page-content-epic .ticket-info > p {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

.page-content-epic .ticket-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(182, 64, 35, 0.3);
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.page-content-epic .ticket-card:nth-child(2) {
    animation-delay: 0.5s;
}

.page-content-epic .ticket-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Epic travel page styling */
.page-content-epic .travel-section h2 {
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: heroFadeIn 1s ease-out 0.3s both;
}

.page-content-epic .venue-info,
.page-content-epic .hotel-card,
.page-content-epic .food-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(182, 64, 35, 0.3);
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.page-content-epic .hotel-card:nth-child(2) {
    animation-delay: 0.5s;
}

.page-content-epic .venue-info:hover,
.page-content-epic .hotel-card:hover,
.page-content-epic .food-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Epic speakers page styling */
.page-content-epic .announcement {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffc857 100%);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(255, 179, 56, 0.4);
    animation: heroFadeIn 1s ease-out 0.3s both;
    display: block;
    max-width: fit-content;
    margin: 0 auto 2rem;
}

.page-content-epic .speaker-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(182, 64, 35, 0.3);
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.page-content-epic .speaker-card:nth-child(2) {
    animation-delay: 0.5s;
}

.page-content-epic .speaker-card:nth-child(3) {
    animation-delay: 0.6s;
}

.page-content-epic .speaker-card:nth-child(4) {
    animation-delay: 0.7s;
}

.page-content-epic .speaker-card:nth-child(5) {
    animation-delay: 0.8s;
}

.page-content-epic .speaker-card:nth-child(6) {
    animation-delay: 0.9s;
}

.page-content-epic .speaker-card:nth-child(7) {
    animation-delay: 1.0s;
}

.page-content-epic .speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Epic things-to-do page styling */
.page-content-epic .intro-text {
    font-size: 1.25rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: heroFadeIn 1s ease-out 0.2s both;
    margin-bottom: 2rem;
}

.page-content-epic .sponsor-attribution {
    animation: heroFadeIn 1s ease-out 0.3s both;
}

/* Epic sponsor page styling */
.page-content-epic .sponsor-slot,
.hero-epic .sponsor-slot {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(182, 64, 35, 0.3);
    animation: heroFadeIn 1s ease-out 0.3s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.page-content-epic .sponsor-slot:hover,
.hero-epic .sponsor-slot:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

.page-content-epic .sponsor-grid-bottom .sponsor-slot:nth-child(2),
.hero-epic .sponsor-grid-bottom .sponsor-slot:nth-child(2) {
    animation-delay: 0.4s;
}

/* Epic about page styling */
.page-content-epic.container {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
}

.page-content-epic .about-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(182, 64, 35, 0.3);
    border-radius: 12px;
    padding: 2rem;
    animation: heroFadeIn 1s ease-out 0.3s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.page-content-epic .about-section:nth-child(2) {
    animation-delay: 0.4s;
}

.page-content-epic .about-section:nth-child(3) {
    animation-delay: 0.5s;
}

.page-content-epic .about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Epic page footer */
body.page-epic footer {
    background: rgba(254, 240, 212, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

/* Mobile responsive for epic pages */
@media (max-width: 768px) {
    .page-content-epic {
        padding: 2rem 1rem 4rem;
    }

    .page-content-epic h1 {
        font-size: 2.5rem;
        -webkit-text-stroke: 1px var(--primary-dark);
        padding: 0.4rem 1rem;
    }

    .page-content-epic .ticket-info > p {
        font-size: 1.1rem;
    }

    .page-content-epic .about-section {
        padding: 1.25rem !important;
        margin-bottom: 1.5rem;
    }

    .page-content-epic.container {
        padding: 1rem;
    }
}

/* Mobile responsive for epic homepage */
@media (max-width: 768px) {
    .header-transparent .nav-container {
        border-radius: 12px;
        margin: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgba(254, 240, 212, 0.95);
    }

    .header-transparent .nav-links {
        background-color: rgba(254, 240, 212, 0.98);
    }

    .hero-epic {
        padding: 2rem 1rem 4rem;
        min-height: calc(100vh - 80px);
    }

    .hero-epic h1 {
        font-size: 2.5rem;
        text-shadow:
            2px 2px 0 var(--primary-dark),
            4px 4px 0 rgba(84, 41, 30, 0.5),
            0 0 30px rgba(0, 0, 0, 0.8);
        -webkit-text-stroke: 1px var(--primary-dark);
        padding: 0.4rem 1rem;
    }

    .hero-epic .conference-tagline {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-epic .conference-info {
        font-size: 1.5rem;
    }

    .hero-epic .home-actions .cta-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .hero-epic .announcement {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Header and Navigation */
header {
    background-color: var(--bg);
    border-bottom: 3px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-image {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    object-fit: cover;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.open .nav-dropdown-toggle {
    color: var(--primary);
}

.nav-dropdown-caret {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-caret,
.nav-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem 0;
    list-style: none;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(84, 41, 30, 0.15);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background-color: rgba(233, 112, 45, 0.1);
    color: var(--primary);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Page Content (Other Pages) */
.page-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.page-content h1 {
    font-size: 5rem;
    color: var(--primary);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Conference Date */
.conference-info {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.25rem;
    z-index: 1000;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Footer */
footer {
    background-color: var(--bg-alt);
    border-top: 3px solid var(--border);
    padding: 1.5rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-container p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-container a {
    display: inline-flex;
    align-items: center;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: var(--primary);
}

.footer-container svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

p.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.7;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(79, 109, 123, 0.2);
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

p.footer-feedback {
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

p.footer-feedback a {
    color: var(--text-dark);
    text-decoration: underline;
    transition: color 0.3s ease;
}

p.footer-feedback a:hover {
    color: var(--primary);
}

/* Feedback form */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
}

.feedback-label {
    font-weight: 600;
    color: var(--text-dark);
}

.feedback-form textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border: 2px solid rgba(182, 64, 35, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    resize: vertical;
    min-height: 160px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 112, 45, 0.15);
}

.feedback-submit {
    align-self: flex-start;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.feedback-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-status {
    min-height: 1.25rem;
    font-size: 0.95rem;
}

.feedback-status-success {
    color: #1f7a3a;
    font-weight: 600;
}

.feedback-status-error {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Social Media Links */
.social-media-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-media-links a {
    color: var(--text-dark);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    border: 2px solid var(--border);
}

.social-media-links a:hover {
    color: var(--bg-alt);
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-media-links svg {
    width: 24px;
    height: 24px;
}

/* Home Actions */
.home-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 0.75rem;
    flex-wrap: wrap;
}

.home-actions .cta-button {
    min-width: 230px;
    text-align: center;
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px rgba(233, 112, 45, 0.25);
    border: 2px solid var(--primary);
}

.home-actions .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(84, 41, 30, 0.25);
}

/* Responsive Design */
@media (max-width: 800px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1.5rem;
        position: relative;
    }
    
    .logo {
        font-size: 1.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.125rem;
        padding: 0.75rem 1rem;
        display: block;
        border-bottom: 1px solid rgba(79, 109, 123, 0.1);
    }

    .nav-links a:hover {
        background-color: rgba(233, 112, 45, 0.1);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(79, 109, 123, 0.1);
        justify-content: center;
    }

    .nav-dropdown-toggle:hover {
        background-color: rgba(233, 112, 45, 0.1);
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background-color: rgba(79, 109, 123, 0.05);
        min-width: 0;
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 1.125rem;
        border-bottom: 1px solid rgba(79, 109, 123, 0.1);
    }

    .page-content h1 {
        font-size: 2.5rem;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
    }

    .conference-info {
        font-size: 1.75rem;
        white-space: nowrap;
    }
}

/* Subscribe Section */
/* Announcement Banner */
.announcement {
    background-color: var(--secondary);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 500px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subscribe-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-alt);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-section h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

#subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#subscribe-form input[type="email"] {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--bg);
    color: var(--text-dark);
}

#subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

#subscribe-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--bg-alt);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

#subscribe-form button:hover {
    background-color: var(--primary-dark);
}

#subscribe-message {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-dark);
    min-height: 1.5rem;
}

@media (max-width: 768px) {
    .subscribe-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* Sponsor Page Styles */
.intro-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
    line-height: 1.8;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
}

.sponsor-grid-top {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-bottom: 1rem;
}

.sponsor-grid-top .sponsor-slot {
    min-width: 500px;
}

.sponsor-grid-bottom {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.sponsor-slot {
    background-color: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-slot a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.sponsor-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(84, 41, 30, 0.15);
}

.sponsor-slot h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sponsor-slot p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}

.sponsor-cta {
    background-color: var(--bg-alt);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem auto 0;
    max-width: 480px;
}

.sponsor-cta h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sponsor-cta p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-alt);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}


/* Mobile Responsive for Sponsor Page */
@media (max-width: 768px) {
    .page-content {
        padding: 0rem;
    }

    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .sponsor-grid-top {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .sponsor-grid-top .sponsor-slot {
        min-width: auto;
        width: 100%;
    }

    .sponsor-grid-bottom {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .sponsor-grid-bottom .sponsor-slot img {
        height: auto;
        max-height: 35px;
        width: auto;
        max-width: 100%;
    }

    .sponsor-slot a {
        padding: 1rem;
    }

    .sponsor-cta {
        padding: 1.25rem 1.25rem;
    }

    .sponsor-cta h2 {
        font-size: 1.35rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }
}

/* Ticket Page Styles */
.ticket-info > p {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.ticket-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.ticket-card {
    flex: 0 1 calc(50% - 1rem);
    min-width: 300px;
    box-sizing: border-box;
}

.ticket-card {
    background-color: var(--bg-alt);
    border: 3px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ticket-card:visited,
.ticket-card:hover,
.ticket-card:active,
.ticket-card:focus {
    text-decoration: none;
    color: inherit;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(84, 41, 30, 0.2);
    border-color: var(--primary);
    background-color: rgba(233, 112, 45, 0.06);
}

.ticket-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ticket-card .price {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.ticket-card p:last-child {
    font-size: 1.125rem;
    color: var(--text);
    line-height: 1.6;
}

/* Mobile Responsive for Ticket Page */
@media (max-width: 768px) {
    .ticket-info h2 {
        font-size: 2rem;
    }
    
    .ticket-info > p {
        font-size: 1.25rem;
    }
    
    .ticket-types {
        gap: 1.5rem;
    }
    
    .ticket-card {
        padding: 2rem;
    }
    
    .ticket-card h3 {
        font-size: 1.75rem;
    }
    
    .ticket-card .price {
        font-size: 2.5rem;
    }
}

/* Travel Page Styles */
.travel-section {
    margin-top: 1rem;
    margin-bottom: 3rem;
    text-align: left;
}

.travel-section h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.venue-info {
    background-color: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.venue-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.venue-info p {
    color: var(--text-dark);
    font-size: 1.125rem;
}

/* Hotel Cards */
.hotels-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hotel-card {
    background-color: var(--bg-alt);
    border: 3px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.hotel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hotel-card .distance {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hotel-card .price {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hotel-perks p strong {
    color: var(--text-dark);
}

.hotel-perks ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.hotel-perks li {
    color: var(--text);
    font-size: 1rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.hotel-perks li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Food Options */
.food-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.food-item {
    background-color: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.food-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.food-item .distance {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.food-item p:not(.distance) {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* About Page Styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-section {
    margin-bottom: 3rem;
    text-align: left;
}

.about-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section p {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-section li {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Override main flex center for about page */
body:has(.container) main {
    align-items: flex-start;
    padding-top: 2rem;
}

/* Blog button */
.blog-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--bg-alt);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.blog-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Card Links */
.card-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--bg-alt);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Responsive for Travel Page */
/* Speakers Page */
.speaker-grid {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}


.speaker-card {
    background-color: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 18px rgba(84, 41, 30, 0.12);
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(84, 41, 30, 0.2);
}

.speaker-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(84, 41, 30, 0.2);
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.speaker-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border);
    margin-bottom: 1rem;
}

.speaker-info {
    text-align: center;
}

.speaker-name {
    margin: 0 0 0.25rem 0;
    color: var(--primary);
    font-size: 1.25rem;
}

.speaker-role {
    margin: 0 0 0.75rem 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.speaker-bio {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    display: none;
}

.speaker-links {
    margin-top: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.speaker-links a {
    display: inline-flex;
    align-items: center;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.speaker-links a:hover {
    color: var(--primary);
}

.speaker-links svg {
    width: 24px;
    height: 24px;
}

/* Speaker Modal */
.speaker-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--overlay);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.speaker-modal-overlay.active {
    display: flex;
}

.speaker-modal {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    animation: modalSlideIn 0.25s ease;
}

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

.speaker-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
}

.speaker-modal-close:hover {
    color: var(--primary);
}

.speaker-modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.speaker-modal-header img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border);
    flex-shrink: 0;
}

.speaker-modal-name {
    margin: 0 0 0.25rem 0;
    color: var(--primary);
    font-size: 1.5rem;
}

.speaker-modal-role {
    margin: 0 0 0.5rem 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.speaker-modal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.speaker-modal-links a {
    display: inline-flex;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.speaker-modal-links a:hover {
    color: var(--primary);
}

.speaker-modal-links svg {
    width: 22px;
    height: 22px;
}

.speaker-modal-talk h3,
.speaker-modal-about h3 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speaker-modal-talk,
.speaker-modal-about {
    margin-top: 1.25rem;
}

.speaker-modal-talk p,
.speaker-modal-about p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 480px) {
    .speaker-modal-header {
        flex-direction: column;
        text-align: center;
    }

    .speaker-modal {
        padding: 1.5rem;
    }

    .speaker-modal-links {
        justify-content: center;
    }
}

/* Tablet layout for Speakers */
@media (max-width: 960px) {
    .speaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile layout for Speakers */
@media (max-width: 768px) {
    .speaker-grid {
        grid-template-columns: 1fr;
    }

}
@media (max-width: 768px) {
    .page-content {
        padding: 0rem;
        max-width: 100%;
    }
    
    .travel-section {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .hotels-list {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }
    
    .hotel-card,
    .venue-info,
    .food-item {
        padding: 1.25rem;
        border-width: 2px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hotel-card h3 {
        font-size: 1.25rem;
        word-wrap: break-word;
    }
    
    .hotel-card .price {
        font-size: 1.125rem;
    }
    
    .hotel-perks li {
        font-size: 0.9rem;
    }
    
    .travel-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .venue-info,
    .food-list {
        max-width: 100%;
    }
}
