/* =========================================
   06 Housewarming - Keys
   ========================================= */

:root {
    --mustard-yellow: #E5B338;
    --burnt-orange: #D36C34;
    --navy-blue: #2B3A4A;
    --off-white: #F9F7F3;
    --white: #FFFFFF;
    
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

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

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

/* Background */
.keys-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--off-white);
    background-image: 
        linear-gradient(45deg, rgba(229, 179, 56, 0.05) 25%, transparent 25%, transparent 75%, rgba(229, 179, 56, 0.05) 75%, rgba(229, 179, 56, 0.05)),
        linear-gradient(45deg, rgba(229, 179, 56, 0.05) 25%, transparent 25%, transparent 75%, rgba(229, 179, 56, 0.05) 75%, rgba(229, 179, 56, 0.05));
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    z-index: 0;
}

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

.hero-content {
    background-color: var(--white);
    padding: 60px 50px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 600px;
    border: 4px dashed var(--mustard-yellow);
}

.icon-wrap {
    width: 90px; height: 90px;
    background-color: var(--mustard-yellow);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -105px auto 30px;
    box-shadow: 0 10px 20px rgba(229, 179, 56, 0.3);
    transform: rotate(10deg);
}
.icon-wrap i {
    font-size: 3rem;
    color: var(--white);
}

.names {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.1;
    margin-bottom: 20px;
}

.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.divider::before, .divider::after {
    content: '';
    width: 40px;
    height: 3px;
    background-color: var(--burnt-orange);
    margin: 0 15px;
    border-radius: 3px;
}
.divider i {
    font-size: 1.5rem;
    color: var(--burnt-orange);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    line-height: 1.8;
}

/* Details Section */
.keys-details {
    position: relative;
    z-index: 5;
    padding: 80px 5%;
}

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

.keys-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--burnt-orange);
    transition: transform 0.3s ease;
}
.keys-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--mustard-yellow);
    margin-bottom: 15px;
}

.keys-card h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--burnt-orange);
    margin-bottom: 10px;
}

.keys-card p {
    font-weight: 600;
    color: #666;
}

.btn-keys {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--navy-blue);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 20px;
    margin-top: 25px;
    transition: all 0.3s ease;
}
.btn-keys:hover {
    background-color: var(--burnt-orange);
}

/* RSVP Section */
.keys-rsvp {
    position: relative;
    z-index: 5;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.rsvp-content {
    background-color: var(--navy-blue);
    padding: 60px 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border-radius: 30px;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(43, 58, 74, 0.3);
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--mustard-yellow);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 600;
    margin-bottom: 30px;
    color: #A0B2C6;
}

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

.keys-form input,
.keys-form select {
    padding: 15px;
    background-color: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}
.keys-form input:focus,
.keys-form select:focus {
    border-color: var(--mustard-yellow);
    background-color: rgba(255,255,255,0.2);
}
.keys-form select option {
    background-color: var(--navy-blue);
}

.btn-keys-solid {
    padding: 15px;
    background-color: var(--mustard-yellow);
    color: var(--navy-blue);
    border: none;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.btn-keys-solid:hover {
    background-color: var(--white);
}

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

.keys-footer {
    position: relative;
    z-index: 5;
    background-color: #1A252F;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    color: #666;
}
.keys-footer a {
    color: var(--mustard-yellow);
    text-decoration: none;
}

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