/*
Theme Name: Mom Family
Theme URI: https://mom209.xyz
Author: Ricardo
Description: A custom family website theme for Mom209.
Version: 1.0
Text Domain: mom-family
*/

/* ========================================
   MOM FAMILY — BASE STYLES
   ======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}
/* ========================================
   LAYOUT
   ======================================== */

.family-container,
.site-header-inner,
.site-footer-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* ========================================
   HEADER
   ======================================== */

.site-header {
    background: #fff;
    border-bottom: 1px solid #ece7e1;
}

.site-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-name {
    color: #332d29;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    color: #514943;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.main-navigation a:hover {
    color: #9b6859;
}


/* ========================================
   HERO
   ======================================== */

.family-hero {
    padding: 120px 0 125px;
    background:
        linear-gradient(135deg, #f6f0e9 0%, #fbf8f4 55%, #eee3da 100%);
}

.family-hero .family-container {
    max-width: 1180px;
}

.family-eyebrow {
    margin: 0 0 20px;
    color: #a06c5c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.family-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #302a26;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 7vw, 88px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: -3px;
}

.family-hero h1 em {
    color: #9b6859;
    font-weight: 400;
}

.family-intro {
    max-width: 590px;
    margin: 35px 0 0;
    color: #6b625c;
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 40px;
}

.family-button {
    display: inline-block;
    padding: 15px 24px;
    border-radius: 4px;
    background: #51433d;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.family-button:hover {
    background: #9b6859;
}

.family-text-link {
    color: #51433d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}


/* ========================================
   STORY
   ======================================== */

.family-story {
    padding: 105px 0;
    background: #fff;
}

.family-story-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.story-heading h2,
.family-links h2 {
    margin: 0;
    color: #302a26;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -1.5px;
}

.story-heading h2 em {
    color: #9b6859;
    font-weight: 400;
}

.story-content {
    color: #625a55;
    font-size: 17px;
    line-height: 1.85;
}

.story-content p:first-child {
    margin-top: 0;
}

.story-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.story-placeholder {
    font-family: Georgia, "Times New Roman", serif;
    color: #4b433e;
    font-size: 24px;
    line-height: 1.6;
}

.story-note {
    color: #918780;
    font-size: 14px;
}


/* ========================================
   CARDS
   ======================================== */

.family-links {
    padding: 100px 0 115px;
    background: #f5f1ec;
}

.family-links > .family-container > h2 {
    max-width: 650px;
    margin-bottom: 50px;
}

.family-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.family-card {
    min-height: 280px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9e2dc;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.family-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(60, 45, 35, .08);
}

.card-number {
    color: #b68b7d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
}

.family-card h3 {
    margin: 35px 0 12px;
    color: #352e2a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.family-card p {
    margin: 0;
    color: #756b65;
    line-height: 1.65;
}

.card-arrow {
    margin-top: auto;
    padding-top: 25px;
    color: #9b6859;
    font-size: 14px;
    font-weight: 700;
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding: 55px 0;
    background: #332d29;
    color: #ddd2cb;
    text-align: center;
}

.site-footer p {
    margin: 5px 0;
}

.site-footer .copyright {
    color: #9f948d;
    font-size: 13px;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 800px) {

    .family-container,
    .site-header-inner,
    .site-footer-inner {
        width: min(100% - 32px, 1180px);
    }

    .site-header-inner {
        min-height: 72px;
    }

    .main-navigation {
        display: none;
    }

    .family-hero {
        padding: 80px 0;
    }

    .family-hero h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .family-intro {
        font-size: 17px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .family-story {
        padding: 70px 0;
    }

    .family-story-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .family-card-grid {
        grid-template-columns: 1fr;
    }

    .family-links {
        padding: 70px 0;
    }

}