/* Color Palette: FCBA04 (gold), A50104 (dark red), 590004 (darker red), 250001 (darkest red), F3F3F3 (light gray) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    color: #F3F3F3;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #250001 0%, #590004 50%, #A50104 100%);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(37, 0, 1, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #FCBA04;
}

header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FCBA04;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Updated Navigation - Simple rectangular containers */
nav a {
    color: #F3F3F3;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(37, 0, 1, 0.6);
    border: 2px solid #FCBA04;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

nav a:hover,
nav a.active {
    background: rgba(252, 186, 4, 0.2);
    color: #FCBA04;
    border-color: #F3F3F3;
}

nav a:active {
    transform: translateY(1px);
}

/* Background Video */
#backgroundVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Video Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(37, 0, 1, 0.7) 0%,
        rgba(89, 0, 4, 0.6) 25%,
        rgba(165, 1, 4, 0.5) 50%,
        rgba(89, 0, 4, 0.6) 75%,
        rgba(37, 0, 1, 0.7) 100%
    );
    z-index: -1;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FCBA04;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleGlow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

@keyframes titleGlow {
    0% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(252, 186, 4, 0.3); }
    100% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 30px rgba(252, 186, 4, 0.6); }
}

.subtitle {
    font-size: 1.5rem;
    color: #F3F3F3;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.9;
}

/* Bouncing Quote */
.bouncing-quote {
    font-size: 1.2rem;
    color: #FCBA04;
    background: rgba(37, 0, 1, 0.8);
    padding: 1rem 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    border: 2px solid #FCBA04;
    position: relative;
    animation: bounce 4s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(252, 186, 4, 0.3);
    font-style: italic;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* CTA Button */
.cta-section {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FCBA04 0%, #A50104 100%);
    color: #F3F3F3;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 186, 4, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(252, 186, 4, 0.6);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-rune {
    position: absolute;
    font-size: 2rem;
    color: #FCBA04;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.rune-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.rune-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.rune-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

.rune-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #250001 0%, #590004 100%);
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem 2rem;
    border-top: 3px solid #FCBA04;
    box-shadow: 0 -4px 20px rgba(37, 0, 1, 0.5);
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    flex: 1;
    margin-right: 2rem;
}

.contact-form h3 {
    color: #FCBA04;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.contact-form form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    padding: 0.3rem;
    border: 1px solid #FCBA04;
    border-radius: 5px;
    background: rgba(243, 243, 243, 0.1);
    color: #F3F3F3;
    font-size: 0.9rem;
}

.contact-form input {
    width: 150px;
}

.contact-form textarea {
    width: 200px;
    height: 60px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(243, 243, 243, 0.7);
}

.contact-form button {
    padding: 0.3rem 1rem;
    background: #FCBA04;
    color: #250001;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #F3F3F3;
    transform: translateY(-2px);
}

.footer-info {
    text-align: right;
    color: #F3F3F3;
}

.footer-info a {
    color: #FCBA04;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    nav a {
        width: 200px;
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .bouncing-quote {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form {
        margin-right: 0;
    }
    
    .contact-form form {
        justify-content: center;
    }
    
    main {
        padding-bottom: 150px;
    }
}