/* ==========================================================================
   Winter Fairytale Theme Variables
   ========================================================================== */
:root {
    --ice-blue: #E0F2FE;
    --ice-blue-dark: #BAE6FD;
    --navy: #0F172A;
    --navy-light: #1E293B;
    --silver: #94A3B8;
    --white: #FFFFFF;
    
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius: 20px;
    --transition: all 0.4s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--navy);
    color: var(--ice-blue);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--ice-blue-dark);
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* ==========================================================================
   Snow Animation Container
   ========================================================================== */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0); opacity: 1; }
    100% { transform: translateY(110vh) translateX(20px); opacity: 0; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-winter {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Majestic winter castle/landscape */
    background: url('https://images.unsplash.com/photo-1418985991508-e47386d96a71?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-winter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.8));
    z-index: 1;
}

.frosted-glass {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: spin-slow 10s linear infinite;
}

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

.eyebrow {
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--ice-blue-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.names {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(255,255,255,0.3);
}

.names span {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 300;
    color: var(--ice-blue-dark);
    display: block;
    margin: 5px 0;
}

.date-elegant {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1rem;
    color: var(--ice-blue);
    letter-spacing: 2px;
}

.date-elegant .year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 5px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    z-index: 2;
    text-align: center;
    color: var(--ice-blue-dark);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.mouse-icon {
    width: 20px;
    height: 30px;
    border: 2px solid var(--ice-blue-dark);
    border-radius: 10px;
    margin: 10px auto 0;
    position: relative;
}

.mouse-icon::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 10px); opacity: 0; }
}

/* ==========================================================================
   Tale Section
   ========================================================================== */
.tale-section {
    padding: 100px 0;
    background-color: var(--navy);
}

.tale-content {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--ice-blue);
    font-weight: 300;
}

/* ==========================================================================
   Details Grid
   ========================================================================== */
.event-details {
    padding: 100px 0;
    background-color: var(--navy-light);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.detail-box {
    background: rgba(15, 23, 42, 0.5);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(224, 242, 254, 0.1);
    transition: var(--transition);
}

.detail-box:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--ice-blue-dark);
    transform: translateY(-5px);
}

.detail-box i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.detail-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.detail-box p {
    font-size: 1rem;
    color: var(--ice-blue);
    margin-bottom: 10px;
}

.detail-box p strong {
    color: var(--white);
    font-weight: 500;
}

.detail-box .sub-text {
    font-size: 0.9rem;
    color: var(--silver);
    font-style: italic;
    margin-top: 15px;
}

/* ==========================================================================
   RSVP Form
   ========================================================================== */
.rsvp-section {
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1483664852095-d6cc6870702d?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.85);
}

.rsvp-glass {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.rsvp-glass .subtitle {
    color: var(--ice-blue-dark);
    margin-bottom: 40px;
}

.winter-form .input-group {
    margin-bottom: 20px;
}

.winter-form input,
.winter-form select {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(224, 242, 254, 0.2);
    padding: 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.winter-form input::placeholder {
    color: var(--silver);
}

.winter-form input:focus,
.winter-form select:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(15, 23, 42, 0.8);
}

.winter-form select option {
    background: var(--navy);
    color: var(--white);
}

.btn-winter {
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-winter:hover {
    background: var(--ice-blue);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.form-message {
    margin-top: 20px;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-winter {
    background-color: var(--navy);
    padding: 60px 0;
    text-align: center;
}

.footer-winter i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-winter h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.brand {
    font-size: 0.8rem;
    color: var(--silver);
}

.brand a {
    color: var(--ice-blue-dark);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .details-grid { grid-template-columns: 1fr; }
    .names { font-size: 3rem; }
    .frosted-glass, .rsvp-glass { padding: 40px 20px; }
}

/* ==========================================================================
   Action Buttons (Calendar & Map)
   ========================================================================== */
.action-buttons-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    border: 1px solid currentColor;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-action:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-3px);
}
.btn-action i {
    font-size: 1.3rem;
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.map-link-inline:hover {
    background: rgba(0,0,0,0.1);
}
