/* =========================================
   12 Geometric Chic (Split-Screen Layout)
   ========================================= */

:root {
    --navy: #1B263B;
    --navy-dark: #0D1B2A;
    --rose-gold: #B76E79;
    --rose-light: #E0BFB8;
    --white: #FFFFFF;
    
    --font-heading: 'Cormorant Infant', serif;
    --font-body: 'Jura', sans-serif;
}

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

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

/* Split Layout Container */
.split-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Panel: Scrolling */
.scroll-panel {
    width: 50%;
    min-height: 100vh;
    background-color: var(--navy);
    position: relative;
    /* Subtle geometric background */
    background-image: 
        linear-gradient(30deg, rgba(183, 110, 121, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(183, 110, 121, 0.05) 87.5%, rgba(183, 110, 121, 0.05)),
        linear-gradient(150deg, rgba(183, 110, 121, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(183, 110, 121, 0.05) 87.5%, rgba(183, 110, 121, 0.05));
    background-size: 80px 140px;
}

/* Right Panel: Fixed Photo */
.fixed-photo {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?auto=format&fit=crop&q=80&w=1000');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-photo .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, var(--navy) 0%, rgba(27, 38, 59, 0.3) 100%);
}

.floating-badge {
    position: relative;
    z-index: 1;
    width: 80px; height: 80px;
    background-color: rgba(13, 27, 42, 0.7);
    border: 1px solid var(--rose-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: rotate(45deg);
}

.floating-badge i {
    font-size: 2rem;
    color: var(--rose-light);
    transform: rotate(-45deg);
}

/* Left Panel Content Sections */
.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    text-align: center;
}

.geo-icon { margin-bottom: 25px; }
.geo-icon i { font-size: 2.5rem; color: var(--rose-gold); }

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 5px;
    color: var(--rose-gold);
    margin-bottom: 20px;
}

.names {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--rose-light);
    line-height: 1.1;
    margin-bottom: 30px;
}

.names span {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: var(--rose-gold);
    margin: 0 10px;
    font-weight: 300;
}

.parents {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 30px;
    line-height: 2;
}
.parents span {
    font-size: 0.8em;
    font-style: italic;
    color: var(--rose-light);
    text-transform: lowercase;
}

.geo-line {
    width: 80px; height: 1px;
    background-color: var(--rose-gold);
    margin: 0 auto 30px;
}

.tagline {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 400px;
}

.date-hex {
    display: inline-block;
    width: 100px; height: 100px;
    border: 1px solid var(--rose-gold);
    transform: rotate(45deg);
}

.hex-inner {
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
}
.hex-inner .day {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--rose-light);
    line-height: 1;
}
.hex-inner .month-year {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-top: 5px;
    text-align: center;
}

/* Details */
.section-details {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: var(--navy-dark);
    border-top: 1px solid rgba(183, 110, 121, 0.1);
    border-bottom: 1px solid rgba(183, 110, 121, 0.1);
}

.geo-card {
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(183, 110, 121, 0.3);
    background-color: var(--navy);
}

.geo-icon-small i { font-size: 2rem; color: var(--rose-gold); margin-bottom: 15px; }
.geo-card h2 { font-size: 1.1rem; letter-spacing: 3px; color: var(--rose-light); margin-bottom: 10px; text-transform: uppercase;}
.geo-card .time, .geo-card .location { font-family: var(--font-heading); font-size: 1.5rem; color: var(--white); margin-bottom: 5px; }
.geo-card .desc { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 20px; }

.btn-geo {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--rose-gold);
    color: var(--rose-gold);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.btn-geo:hover { background-color: var(--rose-gold); color: var(--navy-dark); }

/* RSVP */
.section-rsvp {
    padding: 80px 40px 0;
    background-color: var(--navy);
}

.rsvp-geo-container {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid rgba(183, 110, 121, 0.3);
    background-color: rgba(13, 27, 42, 0.8);
    margin-bottom: 60px;
}

.rsvp-geo-container h2 { font-family: var(--font-heading); font-size: 3rem; color: var(--rose-light); margin-bottom: 10px; }
.rsvp-geo-container .subtitle { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 30px; }

.navy-form { text-align: left; }
.input-cell { margin-bottom: 15px; }
.split { display: grid; grid-template-columns: 1fr; gap: 15px; }

.navy-form input, .navy-form select {
    width: 100%; padding: 12px;
    background-color: transparent;
    border: 1px solid rgba(183, 110, 121, 0.3);
    color: var(--white); font-family: var(--font-body); font-size: 0.9rem; outline: none;
}
.navy-form input:focus, .navy-form select:focus { border-color: var(--rose-gold); }
.navy-form select option { background-color: var(--navy-dark); color: var(--white); }

.btn-geo-solid {
    width: 100%; padding: 12px;
    background-color: var(--rose-gold); color: var(--navy-dark);
    border: none; font-family: var(--font-body); font-weight: 600; letter-spacing: 2px;
    cursor: pointer; transition: all 0.3s ease; margin-top: 10px;
}
.btn-geo-solid:hover { background-color: var(--rose-light); }
.form-message { margin-top: 15px; text-align: center; font-size: 0.85rem; color: var(--rose-gold); }

/* Footer */
.geo-footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(183, 110, 121, 0.2);
}
.footer-names { font-family: var(--font-heading); font-size: 1.8rem; color: var(--rose-light); margin-bottom: 5px; }
.geo-footer .brand { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.geo-footer a { color: var(--rose-gold); text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
    .split-layout { flex-direction: column-reverse; }
    .scroll-panel { width: 100%; }
    .fixed-photo { 
        position: relative; 
        width: 100%; 
        height: 50vh; 
        background-attachment: scroll; 
    }
    .fixed-photo .overlay { background: linear-gradient(to top, var(--navy) 0%, rgba(27, 38, 59, 0.3) 100%); }
}
