/* ==========================================
   GLOBAL
========================================== */

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

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#F7F5F2;
    color:#333;
    line-height:1.6;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(1200px,95%);
    margin:auto;
}


/* ==========================================
   HEADER
========================================== */

header{
    background:#6D4C41;
    color:white;
    padding:18px 0;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
}

.header-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

.logo small{
    display:block;
    font-size:14px;
    opacity:.8;
}

.nav a{
    margin-left:25px;
    color:white;
    font-weight:bold;
}


/* ==========================================
   HERO
========================================== */

.hero{
    text-align:center;
    padding:80px 20px;
}

.hero h1{
    font-size:48px;
    color:#6D4C41;
    margin-bottom:15px;
}

.hero p{
    max-width:650px;
    margin:auto;
    font-size:20px;
    color:#666;
}

.btn{
    display:inline-block;
    margin-top:40px;
    background:#6D4C41;
    color:white;
    padding:16px 36px;
    border-radius:40px;
    font-size:18px;
    transition:.25s;
}

.btn:hover{
    background:#5B4037;
}


/* ==========================================
   FOUNDER CARD
========================================== */

.section-title{
    text-align:center;
    font-size:30px;
    margin-bottom:35px;
    color:#6D4C41;
}

.couple-card{
    background:white;
    border-radius:18px;
    padding:35px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    margin:50px auto;
    max-width:850px;
}

.couple{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:50px;
    flex-wrap:wrap;
}

.person{
    text-align:center;
}

.person img{
    width:140px;
    height:140px;
    border-radius:16px;
    object-fit:cover;
    border:5px solid #F1ECE7;
}

.person h3{
    margin-top:15px;
}

.heart{
    font-size:42px;
    color:#C27B7F;
}

.marriage-info{
    text-align:center;
    margin-top:30px;
    color:#777;
    font-size:20px;
}

.marriage-info .heart{
    display:block;
    font-size:32px;
    margin-bottom:10px;
}

.married{
    text-align:center;
    margin-top:25px;
    color:#777;
}


/* ==========================================
   BREADCRUMB
========================================== */

.breadcrumb{
    margin:25px 0;
    color:#777;
    font-size:15px;
}

.breadcrumb a{
    color:#6D4C41;
}

.breadcrumb span{
    margin:0 8px;
}


/* ==========================================
   FAMILY PAGE
========================================== */

.family-title{
    text-align:center;
    margin-bottom:35px;
    color:#6D4C41;
    font-size:36px;
}

.connector{
    width:4px;
    height:55px;
    background:#BCAAA4;
    margin:25px auto;
}

.children-title{
    text-align:center;
    margin-bottom:30px;
    font-size:26px;
    color:#6D4C41;
}

.children-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:70px;
}

.child-card{
    background:#FFFFFF;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:.25s;
}

.child-card img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:16px;
    display:block;
    margin:20px auto 15px;
    border:4px solid #F1ECE7;
}

.child-card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 28px rgba(0,0,0,.15);

}

.child-content{
    padding:15px;
    text-align:center;
}

.child-content h3{
    color:#6D4C41;
    font-size:20px;
    margin-bottom:8px;
}

.child-content p{
    font-size:14px;
    color:#666;
    margin-top:4px;
}

.view-btn{
    margin-top:14px;
    display:inline-block;
    background:#6D4C41;
    color:white;
    padding:8px 18px;
    border-radius:25px;
    font-size:14px;
}


/* ==========================================
   FOOTER
========================================== */

footer{
    background:#6D4C41;
    color:white;
    text-align:center;
    padding:35px;
}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:700px){

.hero{
    padding:55px 15px;
}

.hero h1{
    font-size:36px;
}

.logo{
    font-size:22px;
}

.couple{
    flex-direction:column;
    align-items:center;
    gap:30px;
}

.person img{
    width:120px;
    height:120px;
}

.family-title{
    font-size:28px;
}

.children-title{
    font-size:22px;
}

}

@media (max-width:1200px){

.children-grid{
    grid-template-columns:repeat(3,1fr);
}

}

@media (max-width:900px){

.children-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:600px){

.children-grid{
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

}