/* =========================================
   12 First Birthday - Aviator
   ========================================= */

:root {
    --sky-blue: #7CB9E8;
    --cloud-white: #F8F9FA;
    --vintage-red: #D34C4C;
    --leather-brown: #8B5A2B;
    --text-dark: #2C3E50;
    --white: #FFFFFF;
    
    --font-heading: 'Baloo 2', cursive;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cloud-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.aviator-wrapper {
    position: relative;
    width: 100%;
}

/* Sky Background & Clouds */
.sky-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, var(--sky-blue) 0%, #AEE2FF 100%);
    z-index: 0;
}
.cloud {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    animation: drift linear infinite;
}
.c1 { font-size: 8rem; top: 10%; left: -10%; animation-duration: 35s; }
.c2 { font-size: 12rem; top: 40%; right: -20%; animation-duration: 45s; animation-direction: reverse; }
.c3 { font-size: 6rem; top: 60%; left: -5%; animation-duration: 25s; }
.c4 { font-size: 10rem; top: 80%; right: -15%; animation-duration: 40s; animation-direction: reverse; color: rgba(255, 255, 255, 0.5); }

@keyframes drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(100vw); }
}

/* Hero Section */
.aviator-hero {
    position: relative;
    z-index: 2;
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px 150px;
}

.hero-content {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(44, 62, 80, 0.15);
    max-width: 600px;
    border: 5px solid var(--vintage-red);
    position: relative;
}
.hero-content::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border: 2px dashed var(--vintage-red);
    border-radius: 50px;
    pointer-events: none;
}

.aviator-icon {
    font-size: 5rem;
    color: var(--sky-blue);
    margin-bottom: 10px;
    animation: fly 3s ease-in-out infinite alternate;
}
@keyframes fly {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-15px) rotate(5deg); }
}

.aviator-eyebrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--leather-brown);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.names {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--vintage-red);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #FFDADA;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Wave Bottom */
.wave-bottom {
    position: absolute;
    bottom: -1px; left: 0; width: 100%;
    z-index: 3;
    line-height: 0;
}
.wave-bottom svg {
    width: 100%;
    height: 120px;
}

/* Details Section */
.aviator-details {
    position: relative;
    z-index: 5;
    padding: 60px 5% 100px;
    background-color: var(--white);
}

.details-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.aviator-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--cloud-white);
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 5px solid var(--sky-blue);
}
.aviator-card:hover {
    transform: translateY(-5px);
}

.card-icon-wrap {
    width: 80px; height: 80px;
    background-color: var(--sky-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(124, 185, 232, 0.4);
}
.card-icon {
    font-size: 2.5rem;
    color: var(--white);
}

.aviator-card h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--leather-brown);
    margin-bottom: 10px;
}

.highlight {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--vintage-red);
    margin-bottom: 10px;
}

.aviator-card p {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-aviator {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--leather-brown);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
}
.btn-aviator:hover {
    background-color: var(--vintage-red);
    box-shadow: 0 5px 15px rgba(211, 76, 76, 0.3);
}

/* RSVP Section */
.aviator-rsvp {
    position: relative;
    z-index: 5;
    padding: 80px 5% 100px;
    display: flex;
    justify-content: center;
    background-color: var(--cloud-white);
    border-top: 2px dashed #E2E8F0;
}

.rsvp-content {
    background-color: var(--white);
    padding: 50px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border-radius: 30px;
    border: 4px solid var(--sky-blue);
    box-shadow: 0 20px 40px rgba(124, 185, 232, 0.15);
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--sky-blue);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 600;
    margin-bottom: 30px;
    color: #718096;
}

.aviator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aviator-form input,
.aviator-form select {
    padding: 15px;
    background-color: var(--cloud-white);
    border: 2px solid #E2E8F0;
    border-radius: 15px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s ease;
}
.aviator-form input:focus,
.aviator-form select:focus {
    border-color: var(--sky-blue);
}

.btn-aviator-solid {
    padding: 15px;
    background-color: var(--vintage-red);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.btn-aviator-solid:hover {
    background-color: var(--leather-brown);
}

.form-message {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--sky-blue);
}

.aviator-footer {
    position: relative;
    z-index: 5;
    background-color: var(--sky-blue);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}
.aviator-footer a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .names { font-size: 3.5rem; }
    .hero-content { padding: 40px 20px; }
}
