/* =========================================
   06 Iftar Family
   ========================================= */

:root {
    --warm-bg: #FFF3E0; /* Light Orange/Cream */
    --warm-dark: #5D4037; /* Brown */
    --warm-orange: #F57C00;
    --warm-red: #D84315;
    --white: #FFFFFF;
    
    --font-heading: 'Dancing Script', cursive;
    --font-body: 'Outfit', sans-serif;
}

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

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

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

/* Warm Glow Background */
.glow-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(245, 124, 0, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

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

.hero-content {
    max-width: 650px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(93, 64, 55, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.icon-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--warm-orange);
    margin-bottom: 10px;
}
.icon-group i:not(.main-icon) {
    font-size: 1.5rem;
}
.main-icon {
    font-size: 4rem;
    color: var(--warm-red);
}

.names {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    color: var(--warm-dark);
    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: 50px;
    height: 2px;
    background-color: var(--warm-orange);
    margin: 0 15px;
    border-radius: 2px;
}
.divider i {
    color: var(--warm-red);
    font-size: 1.2rem;
}

.tagline {
    font-size: 1.15rem;
    font-weight: 400;
    color: #795548;
    line-height: 1.8;
}

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

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

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

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

.family-card h2 {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #8D6E63;
    margin-bottom: 10px;
}

.highlight {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--warm-dark);
    margin-bottom: 10px;
}

.family-card p {
    color: #795548;
}

.btn-family {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--warm-orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 25px;
    margin-top: 25px;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
    transition: all 0.3s ease;
}
.btn-family:hover {
    background-color: var(--warm-red);
    transform: scale(1.05);
}

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

.rsvp-content {
    background-color: var(--warm-dark);
    padding: 60px 50px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(93, 64, 55, 0.2);
    color: var(--white);
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--warm-orange);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 300;
    margin-bottom: 30px;
    color: #D7CCC8;
}

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

.family-form input,
.family-form select {
    padding: 18px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.family-form input::placeholder {
    color: #D7CCC8;
}
.family-form input:focus,
.family-form select:focus {
    border-color: var(--warm-orange);
    background-color: rgba(255,255,255,0.15);
}
.family-form select option {
    background-color: var(--warm-dark);
}

.btn-family-solid {
    padding: 18px;
    background-color: var(--warm-orange);
    color: var(--white);
    border: none;
    border-radius: 15px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.btn-family-solid:hover {
    background-color: var(--warm-red);
}

.form-message {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--warm-orange);
}

.family-footer {
    position: relative;
    z-index: 5;
    background-color: var(--warm-dark);
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    color: #A1887F;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.family-footer a {
    color: var(--warm-orange);
    text-decoration: none;
}

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