:root {
    --primary-blue: #003366;
    /* Deep maritime blue */
    --accent-gold: #D4AF37;
    /* Christmas/Maritime Gold */
    --accent-red: #C41E3A;
    /* Christmas Red */
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--primary-blue);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    margin-top: 0;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a01830;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 100%;
}

.btn-secondary:hover {
    background-color: #002244;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
    /* Creates a subtle wave/curve at the bottom */
}

.hero-content {
    z-index: 2;
    padding: 2rem;
}

.title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--white);
}

.info-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.details {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
}

.detail-item h3 {
    color: var(--accent-red);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.detail-item h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background-color: var(--primary-blue);
    margin: 0.5rem auto 0;
}

/* Application Form */
.application-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
    position: relative;
}

.application-section h2 {
    text-align: center;
    color: var(--primary-blue);
}

.application-section>.container>p {
    text-align: center;
    margin-bottom: 2rem;
}

form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    /* Ensures padding doesn't affect width */
}

input:focus,
textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
        clip-path: none;
    }

    .details {
        flex-direction: column;
    }
}

/* Music Button */
.music-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: scale(1.1);
    background: var(--accent-red);
}

/* Santa Yo Effect */
.santa-yo {
    position: absolute;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.5rem;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    z-index: 1000;
    text-shadow: 1px 1px 0 #fff;
    user-select: none;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}

/* ASCII Art Behind Image */
#santa-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

#santa-wrapper .ascii-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
}

#santa-wrapper .ascii-art pre {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 6px;
    /* Small to fit behind image */
    line-height: 6px;
    white-space: pre;
    font-weight: bold;
    text-align: left;
}

@media (min-width: 600px) {
    #santa-wrapper .ascii-art pre {
        font-size: 8px;
        line-height: 8px;
    }
}

/* Utility */
.hidden {
    display: none !important;
}

/* Lyrics Container */
#lyrics-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    max-height: 50vh;
    overflow-y: auto;
    background: rgba(0, 34, 68, 0.9);
    /* Deep blue with opacity */
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    z-index: 990;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent-gold);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

#lyrics-container h3 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#lyrics-container p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Scrollbar for lyrics */
#lyrics-container::-webkit-scrollbar {
    width: 8px;
}

#lyrics-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

#lyrics-container::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}