/* Custom styles for Epic Quest promotional site */

:root {
    --hero-gradient: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    --main-bg-color: rgba(37, 37, 37, 0.9);
    --header-footer-color: rgba(37, 37, 37, 0.9);
}

/* Main background with Starry Night image */
body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/Starry Night_art_back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero section styling */
.hero-section {
    background: transparent;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Download buttons */
.download-buttons .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: #F1C25B !important;
}

.navbar-brand:hover {
    color: #F1C25B !important;
}

/* Brand icon styling */
.brand-icon {
    height: 30px;
    width: auto;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(77%) sepia(29%) saturate(711%) hue-rotate(359deg) brightness(104%) contrast(88%);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    scroll-margin-top: 80px;
}

/* Image hover effects */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}

/* Hero section text styling */
.hero-section h1, .hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: white;
}

/* Form validation styles */
.was-validated .form-control:valid {
    border-color: var(--bs-success);
}

.was-validated .form-control:invalid {
    border-color: var(--bs-danger);
}

/* Feature icons */
.fa-3x {
    transition: transform 0.3s ease, color 0.3s ease;
}

.fa-3x:hover {
    transform: scale(1.1);
}

/* Video container */
.ratio {
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Alert animations */
.alert {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--bs-border-color);
    background-color: #000000 !important;
}

/* Section backgrounds - no overlays */
section {
    background: transparent;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .download-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-nav {
        text-align: center;
    }
}

/* Loading state for form submission */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
