/*==================================================
DATING PAGE
Jessica Feldman
==================================================*/

/*==================================================
GENERAL
==================================================*/

.dating-hero,
.reflection,
.assumption,
.why,
.transition,
.dating-framework,
.dating-continue,
.final-message{

    padding:90px 0;

}

.narrow{

    width:min(760px,92%);
    margin:auto;

}

.section-heading{

    text-align:center;
    margin-bottom:60px;

}

.section-heading h2{

    font-family:var(--heading-font);
    font-size:clamp(2rem,4vw,3rem);
    color:var(--deep-teal);
    margin-bottom:18px;

}

.section-heading p{

    font-size:1.15rem;
    line-height:1.8;
    color:var(--brown);
    max-width:760px;
    margin:auto;

}


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

.room-hero-image{

    position:relative;

    max-width:1100px;

    margin:auto;

    border-radius:28px;

    overflow:hidden;

}

.room-hero-image img{

    width:100%;
    height:560px;

    object-fit:cover;
    object-position:center 65%;

}

.hero-overlay{

    width:360px;

    left:55px;

    bottom:50px;

    padding:28px 30px;

}

.hero-overlay{

    position:absolute;

    left:70px;

    bottom:60px;

    width:min(360px,85%);

    background:rgba(248,248,238,.82);

    backdrop-filter:blur(10px);

    border-radius:22px;

    padding:38px;


}


.hero-content{

    color:var(--brown);

}

.hero-content h2{

    font-family:var(--heading-font);

    color:var(--deep-teal);

    font-size:2rem;

    line-height:1.25;

    margin:0 0 18px;

}

.hero-content p{

    margin-bottom:28px;

    line-height:1.8;

}

.hero-content .button{

    margin-top:10px;

}

/*==========================================
REFLECTION
==========================================*/

.reflection{

    padding:5px 0;

}

.reflection-heading{

    text-align:center;

    margin-bottom:70px;

}

.reflection-heading h2{

    font-family:var(--heading-font);

    color:var(--deep-teal);

    font-size:2.5rem;

}

.reflection-heading p{

    color:var(--brown);

    margin-top:14px;

}

/*--------------------------------------*/

.thought-cloud{

    position:relative;

    max-width:900px;

    height:320px;

    margin:0 auto;

}

.thought{

    position:absolute;

    border:none;

    background:rgba(22,207,191,.10);

    color:var(--brown);

    border-radius:999px;

    padding:14px 22px;

    cursor:pointer;

    transition:.35s;

    font-size:1rem;

    font-family:inherit;

}

.thought:hover{

    transform:translateY(-4px);

    background:rgba(22,207,191,.22);

}

/* Individual thought colors + placement */

.thought:nth-child(1){
    top:18px;
    left:55px;

    background:rgba(22,207,191,.10);
    border-color:rgba(19,96,94,.22);
    color:var(--deep-teal);
}

.thought:nth-child(2){
    top:28px;
    right:65px;

    background:rgba(162,34,130,.09);
    border-color:rgba(162,34,130,.22);
    color:var(--magenta);
}

.thought:nth-child(3){
    top:125px;
    left:125px;

    background:rgba(248,248,238,.98);
    border-color:rgba(19,96,94,.24);
    color:var(--deep-teal);
}

.thought:nth-child(4){
    top:118px;
    right:105px;

    background:rgba(22,207,191,.12);
    border-color:rgba(22,207,191,.32);
    color:var(--deep-teal);
}

.thought:nth-child(5){
    bottom:24px;
    left:75px;

    background:rgba(162,34,130,.08);
    border-color:rgba(162,34,130,.20);
    color:var(--magenta);
}

.thought:nth-child(6){
    bottom:18px;
    right:70px;

    background:rgba(248,248,238,.98);
    border-color:rgba(19,96,94,.24);
    color:var(--deep-teal);
}

/*--------------------------------------*/

.thought.active{

    transform:scale(1.18);

    background:var(--teal);

    color:white;

    z-index:10;

}

.thought.fade{

    opacity:.35;

}

.reflection-answer{

    max-width:700px;

    margin:60px auto 0;

    text-align:center;

    opacity:0;

    transform:translateY(25px);

    transition:.6s;

}

.reflection-answer.show{

    opacity:1;

    transform:none;

}

#selectedThought{

    font-family:var(--heading-font);

    color:var(--magenta);

    font-size:2rem;

    margin-bottom:24px;

}

/*==================================================
WHY IT MATTERS
==================================================*/

.topics h2{

    margin-bottom:60px;

    text-align:center;

    color:var(--deep-teal);

    font-family:var(--heading-font);

    font-size:clamp(2rem,4vw,2.8rem);

    max-height:10px;

}

.topic{

    max-width:540px;

    padding:15px 0;

}


.topic:nth-child(even){

    margin-left:auto;

    text-align:right;

}

.topic h3{

    font-family:var(--heading-font);

    color:var(--deep-teal);

    font-size:1.8rem;

    margin-bottom:12px;

}

.topic::after{

    content:"";

    display:block;

    width:90px;

    height:3px;

    background:var(--teal);

    margin-top:18px;

}

.topic:nth-child(even)::after{

    margin-left:auto;

    background:var(--magenta);

}
/*==========================================
FRAMEWORK BANNER
==========================================*/

.framework-banner{

    margin:90px 0;

}

.framework-background{

    position:relative;

    border-radius:30px;

    overflow:hidden;

    max-width:1200px;

    margin:auto;

    box-shadow:var(--shadow);

}

.framework-background img{

    

    width:100%;

    height:650px;

    object-fit:cover;

    display:block;

}

.framework-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(248,248,238,.18),
        rgba(248,248,238,.82)
    );

    display:flex;

    align-items:center;

}

.framework-heading{

    text-align:center;

    margin-bottom:60px;

}

.framework-heading h2{

    font-family:var(--heading-font);

    color:var(--deep-teal);

    font-size:2.6rem;

    margin-bottom:20px;

}

.framework-heading h3{

    max-width:700px;

    margin:auto;

    color:var(--brown);

    font-size:1.5rem;

}


.framework-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:26px;

    margin-bottom:50px;

}

.framework-panel{

    background:rgba(248,248,238,.96);

    border-radius:22px;

    padding:34px;

    border-top:6px solid var(--teal);

    box-shadow:0 16px 40px rgba(0,0,0,.12);

    transition:.3s;

}

.framework-panel:nth-child(2){

    border-top-color:var(--magenta);

}

.framework-panel:nth-child(3){

    border-top-color:var(--deep-teal);

}

.framework-panel:hover{

    transform:translateY(-8px);

}

.framework-panel h3{

    font-family:var(--heading-font);

    color:var(--deep-teal);

    margin-bottom:14px;

}

.framework-panel p{

    line-height:1.7;

}

/*==================================================
CONTINUE
==================================================*/

.dating-continue{

    background:#efe9df;
    color:var(--magenta);

}

h2{

    margin-bottom:60px;

    text-align:center;

    color:var(--deep-teal);

    font-family:var(--heading-font);

    font-size:clamp(2rem,4vw,2.8rem);

}



.continue-grid{

    display:flex;

    justify-content:center;

    gap:28px;

    margin-top:40px;

}

.continue-card{

    width:180px;

    text-align:center;

    text-decoration:none;

}

.continue-card:hover{

    transform:translateY(-10px);

}

.continue-card img{

    width:100%;

    height:110px;

    object-fit:cover;

    border-radius:18px;

    margin-bottom:16px;

}

.continue-card-content{

    padding:px;

}

.continue-card{

    background:var(--cream);

    border-radius:22px;

    box-shadow:var(--shadow);

    overflow:hidden;

    transition:.3s;

}

.continue-card h3{

    color:var(--deep-teal);

}

.continue-card p{

    color:var(--brown);

}

.continue-card:hover h3{

    color:var(--magenta);

}

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

.site-footer{

    margin-top:70px;

    padding:35px 0 20px;

    background:var(--deep-teal);

    text-align:center;

}
.site-footer p{
color:var(--cream)
}

.footer-name{

    margin:0;

    font-family:var(--heading-font);

    font-size:1.8rem;

    color:var(--cream);

}

.footer-tagline{

    margin:8px 0 8px;

    color:var(--cream);

    font-size:1rem;

}

.footer-message{

    margin:0 0 18px;

    color:var(--cream);

    font-size:.95rem;

    font-style:italic;

}

.copyright{

    padding-top:18px;

    border-top:1px solid rgba(248,248,238,.15);

    color:rgba(248,248,238,.65);

    font-size:.82rem;

}

@media (max-width:700px){

    .site-footer{

        margin-top:55px;

        padding:30px 0 16px;

    }

}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:900px){

.framework-grid{

    grid-template-columns:1fr;

}

.hero-content{

    padding:0 24px;

}

@media (max-width:700px){

.room-hero-image img{

    height:420px;
    max-width:1000px;
    margin:auto;
    display:block;

}

.hero-content h2{

    font-size:1.4rem;

}

.section-heading{

    margin-bottom:40px;

}

.topic-grid{

    grid-template-columns:1fr;

}

.framework-card,
.continue-card{

    padding:26px;

}

.reflection,
.topics,
.dating-photo,
.why,
.transition,
.dating-framework{

    padding:65px 0;

}

}

}


/* ==================================================
   DATING PAGE POLISH — thought bubbles + mobile hero
   ================================================== */

.reflection{
    padding:90px 0;
}

.thought-cloud{
    position:relative;
    width:min(880px,100%);
    max-width:880px;
    height:340px;
    margin:0 auto;
}

.thought{
    position:absolute;
    display:block;
    width:auto;
    max-width:280px;
    min-height:0;
    padding:15px 24px;
    border:2px solid rgba(19,96,94,.22);
    border-radius:999px;
    background:var(--cream);
    color:var(--deep-teal);
    font-family:var(--heading-font);
    font-size:1rem;
    line-height:1.35;
    text-align:center;
    white-space:normal;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(77,59,52,.07);
    transition:transform .22s ease,box-shadow .22s ease,background .22s ease,color .22s ease,border-color .22s ease;
}

/* small thought dots */
.thought::before,
.thought::after{
    content:"";
    position:absolute;
    border-radius:50%;
    background:var(--cream);
    border:2px solid currentColor;
    pointer-events:none;
}

.thought::before{
    width:9px;
    height:9px;
    left:28px;
    bottom:-12px;
}

.thought::after{
    width:4px;
    height:4px;
    left:20px;
    bottom:-20px;
}

/* Individual thought colors + placement */

.thought:nth-child(1){
    top:18px;
    left:55px;

    background:rgba(22,207,191,.10);
    border-color:rgba(19,96,94,.22);
    color:var(--deep-teal);
}

.thought:nth-child(2){
    top:28px;
    right:65px;

    background:rgba(162,34,130,.09);
    border-color:rgba(162,34,130,.22);
    color:var(--magenta);
}

.thought:nth-child(3){
    top:125px;
    left:125px;

    background:rgba(248,248,238,.98);
    border-color:rgba(19,96,94,.24);
    color:var(--deep-teal);
}

.thought:nth-child(4){
    top:118px;
    right:105px;

    background:rgba(22,207,191,.12);
    border-color:rgba(22,207,191,.32);
    color:var(--deep-teal);
}

.thought:nth-child(5){
    bottom:24px;
    left:75px;

    background:rgba(162,34,130,.08);
    border-color:rgba(162,34,130,.20);
    color:var(--magenta);
}

.thought:nth-child(6){
    bottom:18px;
    right:70px;

    background:rgba(248,248,238,.98);
    border-color:rgba(19,96,94,.24);
    color:var(--deep-teal);
}
.thought:hover{
    transform:translateY(-4px);
    border-color:var(--teal);
    box-shadow:0 13px 24px rgba(19,96,94,.12);
}

.thought.active{
    background:var(--deep-teal);
    border-color:var(--deep-teal);
    color:var(--cream);
    transform:translateY(-3px) scale(1.03);
}

.thought.active::before,
.thought.active::after{
    background:var(--deep-teal);
    border-color:var(--deep-teal);
}

.dating-hero .hero-content p{
    margin-bottom:0;
}

@media (max-width:700px){
    .dating-hero{
        padding:55px 0 45px;
    }

    .dating-hero .room-hero-image{
        overflow:visible;
        background:transparent;
        box-shadow:none;
        border-radius:0;
    }

    .dating-hero .room-hero-image img{
        display:block;
        width:100%;
        height:330px;
        object-fit:cover;
        object-position:center 65%;
        border-radius:20px;
        box-shadow:var(--shadow);
    }

    .dating-hero .hero-overlay{
        position:static;
        width:100%;
        margin:24px 0 0;
        padding:0 6px;
        background:transparent;
        backdrop-filter:none;
        border-radius:0;
        box-shadow:none;
        transform:none;
    }

    .dating-hero .hero-content{
        padding:0;
        color:var(--brown);
    }

    .dating-hero .hero-content h2{
        margin:0 0 12px;
        color:var(--deep-teal);
        font-size:1.55rem;
        line-height:1.3;
    }

    .dating-hero .hero-content p{
        margin:0;
        line-height:1.7;
    }

    .thought-cloud{
        height:auto;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:25px;
        width:min(430px,94%);
    }

    .thought{
        position:relative;
        top:auto !important;
        right:auto !important;
        bottom:auto !important;
        left:auto !important;
        width:fit-content;
        max-width:88%;
        transform:none !important;
    }

    .thought:nth-child(even){align-self:flex-end;}
    .thought:nth-child(odd){align-self:flex-start;}
}


/* ==================================================
   MOBILE FINAL FIXES
   ================================================== */
@media (max-width:700px){
    /* Keep Exploring: image first, copy below - never crop copy over image. */
    .continue-grid{
        flex-direction:column;
        align-items:center;
        gap:28px;
    }

    .continue-card{
        width:min(100%,420px);
        padding:0;
        overflow:hidden;
    }

    .continue-card img{
        display:block;
        width:100%;
        height:210px;
        margin:0;
        object-fit:cover;
        border-radius:0;
    }

    .continue-card h3{
        margin:20px 20px 8px;
    }

    .continue-card p{
        margin:0 20px 22px;
    }
}


/* FINAL SMALL FIX */
@media(max-width:700px){
.dating-framework{overflow:visible}
.dating-framework .container{width:min(100%,92%);overflow:visible}
.dating-framework .framework-grid{display:grid;grid-template-columns:1fr;gap:18px;width:100%;max-width:100%;overflow:visible}
.dating-framework .framework-panel{display:block;width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box;transform:none}
}


/* FINAL DATING MOBILE FRAMEWORK FIX
   The background is fixed-height on desktop. On mobile it must grow with all 3 cards. */
@media(max-width:900px){
    .framework-banner{
        overflow:visible;
    }

    .framework-background{
        overflow:visible;
        height:auto;
        max-height:none;
        background:var(--cream);
    }

    .framework-background > img{
        position:relative;
        display:block;
        width:100%;
        height:260px;
        object-fit:cover;
        border-radius:30px 30px 0 0;
    }

    .framework-overlay{
        position:relative;
        inset:auto;
        display:block;
        height:auto;
        overflow:visible;
        padding:38px 0 44px;
        background:var(--cream);
        border-radius:0 0 30px 30px;
    }

    .framework-overlay .container{
        width:min(92%,760px);
        overflow:visible;
    }

    .framework-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:18px;
        width:100%;
        margin-bottom:32px;
    }

    .framework-panel{
        display:block;
        width:100%;
        min-width:0;
        box-sizing:border-box;
        margin:0;
        transform:none;
    }
}
