/* === Homepage Styles === */
/* Extracted from Homepage.razor.css for static Razor Page */

/* Homepage-specific CSS variable definitions */
:root {
    --text-light: #ffffff;
    --background-light: #f9f9fb;
}

/* === Navbar === */
.howlticket-navbar {
    background: linear-gradient(145deg, #1a1a1a, #121212);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-blend-mode: overlay;
}

.navbar-brand {
    font-weight: 1000;
    color: var(--text-light);
}

.brand-accent {
    color: var(--primary-color);
}

.howlticket-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.5rem;
}

.howlticket-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.howlticket-navbar .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
}

@media (max-width: 991px) {
    .howlticket-navbar .navbar-collapse {
        background: linear-gradient(145deg, #1a1a1a, #121212);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .howlticket-navbar .navbar-nav {
        margin-bottom: 1rem;
    }

    .howlticket-navbar .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }
}

/* === Hero === */
.hero-section {
    position: relative;
    min-height: calc(100vh + 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background: url('/images/wolf_bg.png') no-repeat center center;
    background-size: cover;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.hero-bottom-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.hero-bottom-curve svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* === Section === */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c2f36;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtext {
    font-size: 1rem;
    color: #5a5a5a;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.flip-horizontal {
    transform: scaleX(-1);
}

.homepage-svg {
    display: block;
    margin-bottom: -1px;
}

/* === Features Section === */
.features-section {
    background-color: var(--background-light);
    padding: 5rem 0;
}

.feature-card {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(74, 58, 255, 0.15);
}

.feature-card h5 {
    margin-top: 1rem;
    font-weight: 600;
}

/* === Embed Section === */
.embed-section {
    background-color: #e5e9f0;
    padding: 5rem 0;
}

.embed-image-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.embed-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* === How It Works === */
.how-it-works-section {
    background-color: #ffffff;
    padding: 5rem 0;
}

.how-it-works-section .step-number {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.how-it-works-section h5 {
    color: #2c2f36;
}

.how-it-works-section p {
    color: #6c757d;
}

/* === Testimonials === */
.testimonials-section {
    background-color: var(--background-light);
    padding: 5rem 0;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background-color: #ffffff;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(74, 58, 255, 0.25);
}

/* === Footer === */
.footer-section {
    background: linear-gradient(145deg, #1a1a1a, #121212);
    color: #fff;
    text-align: center;
}

/* === Homepage Button Overrides === */
/* Override Bootstrap buttons in hero/footer sections for frosted glass effect */
.hero-section .btn-primary,
.footer-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover,
.footer-section .btn-primary:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(74, 58, 255, 0.3);
    border-color: rgba(74, 58, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(74, 58, 255, 0.3);
}

.hero-section .btn-outline-light,
.footer-section .btn-outline-light,
.howlticket-navbar .btn-outline-light {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.6);
    background: transparent;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover,
.footer-section .btn-outline-light:hover,
.howlticket-navbar .btn-outline-light:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

/* === DARK MODE DETECT === */
@media (prefers-color-scheme: dark) {
    body {
        background: #1e1e2f;
        color: #fff;
    }
}

/* === MOBILE FALLBACK === */
@media (max-width: 768px) {
    .hero-bg-video {
        display: none;
    }

    .hero-section {
        background: linear-gradient(145deg, #1a1a1a, #121212);
    }
}
