/* =========================================================
   ALANA SMITH-GROVE THERAPY
   COMPLETE SITE STYLESHEET
   ========================================================= */


/* =========================================================
   BASIC PAGE
   ========================================================= */

html,
body {

    margin: 0;
    padding: 0;

    background: #d9ddd5;

    color: #292929;

    font-family: Optima, "Segoe UI", sans-serif;

}


/* Remove default link styling */

a {

    text-decoration: none;

}


/* =========================================================
   HOMEPAGE
   ========================================================= */


/* SITE */

#site {

    width: 100%;

    margin: 0;

}


/* ---------------------------------------------------------
   HOMEPAGE HERO
   --------------------------------------------------------- */

#hero {

    height: 680px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, .18),
            rgba(0, 0, 0, .18)
        ),
        url("Ocean.jpeg");

    background-size: cover;

    background-position: center;

    position: relative;

}


/* HOMEPAGE NAVIGATION */

#nav {

    position: absolute;

    top: 28px;

    left: 4%;

    right: 4%;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.site-title {

    font-size: 20px;

}


.site-title a {

    color: #292929;

}


.nav-links {

    display: flex;

    gap: 32px;

}


.nav-links a {

    color: #292929;

    font-size: 16px;

}


.nav-links a:hover {

    color: #68756a;

}


/* HERO TEXT */

#hero-text {

    position: absolute;

    left: 50%;

    top: 70%;

    transform: translate(-50%, -50%);

    width: 90%;

    text-align: center;

    color: white;

}


#hero-text h1 {

    margin: 0 0 18px 0;

    font-size: 56px;

    font-weight: normal;

    letter-spacing: 1px;

}


#hero-text p {

    margin: 0;

    font-size: 24px;

}


/* ---------------------------------------------------------
   QUOTE BAR
   --------------------------------------------------------- */

#quote {

    background: white;

    padding: 7px 20px;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;

}


#quote a {

    color: #536457;

}


#quote a:hover {

    color: #89968a;

}


/* ---------------------------------------------------------
   HOMEPAGE WELCOME
   --------------------------------------------------------- */

#welcome {

    background: #e7e7e7;

    min-height: 700px;

    padding: 90px 5%;

    box-sizing: border-box;

    display: grid;

    grid-template-columns: 1fr 1.5fr 1fr;

    align-items: center;

    gap: 55px;

}



/* Welcome heading */

.welcome-title h2 {

    margin: 0;

    font-size: 48px;

    font-weight: normal;

}

.welcome-left {
    grid-column: 1;
}

.welcome-text {
    grid-column: 2;
}

.welcome-image {
    grid-column: 3;
}

.welcome-photo {

    margin-bottom: 20px;

}


.welcome-photo img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Welcome text */

.welcome-text {

    max-width: 520px;

    font-family: Georgia, serif;

    font-size: 18px;

    line-height: 1.6;

}


.welcome-text p {

    margin: 0 0 28px 0;

}


.welcome-text a {

    color: #536457;

}


.welcome-text a:hover {

    color: #89968a;

}


/* Welcome image */

.welcome-image {

    display: flex;

    justify-content: center;

}


.welcome-image img {

    display: block;

    width: 300px;

    height: 620px;

    object-fit: cover;

    border-radius: 50%;

}


/* ---------------------------------------------------------
   HOMEPAGE CONTACT
   --------------------------------------------------------- */

#contact {

    background: #e7e7e7;

    min-height: 350px;

    padding: 90px 20px;

    box-sizing: border-box;

    text-align: center;

}


#contact h2 {

    margin: 0 0 25px 0;

    font-size: 38px;

    font-weight: normal;

}


#contact p {

    font-size: 17px;

    line-height: 1.7;

}


#contact a {

    color: #536457;

}


#contact a:hover {

    color: #89968a;

}


/* =========================================================
   THERAPY SUBPAGE
   ========================================================= */

.subpage {
    width: 100%;
    background: #f0f1ed;
    color: #292929;
}

/* HEADER */

.subpage-header {
    height: 85px;
    padding: 0 4%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #f0f1ed;
}

.subpage-title {
    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 20px;
}

.subpage-title a {
    color: #292929;
    text-decoration: none;
}

.subpage-nav {
    display: flex;
    gap: 32px;
}

.subpage-nav a {
    color: #292929;
    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 16px;
    text-decoration: none;
}

.subpage-nav a:hover {
    color: #68756a;
}


/* MAIN THERAPY AREA */

.therapy-page {
    max-width: 1450px;
    margin: 0 auto;
    padding: 60px 5% 140px;
    display: grid;
    grid-template-columns: 52% 48%;
    grid-template-rows: auto auto;
    align-items: center;
    box-sizing: border-box;
}

.page-title {
    grid-column: 1 / -1;
    margin: 0 0 55px 0;
    text-align: center;
    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.1;
}


/* LARGE IMAGE */

.therapy-image {
    width: 100%;
    padding-right: 5%;
    box-sizing: border-box;
}

.therapy-image img {
    display: block;

    width: 100%;
    height: 1020px;

    object-fit: cover;

    border-radius: 50% 50% 0 0;
}

/* SMALL QUOTE UNDER SUBPAGE IMAGE */

.therapy-image-quote {
    margin: 10px 5px 0 5px;

    text-align: center;

    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.5;

    color: #292929;
}

.therapy-image-quote a {
    color: #536457;
    text-decoration: none;
}

.therapy-image-quote a:hover {
    color: #89968a;
}

/* TEXT */

.therapy-text {
    padding: 0 5% 0 2%;
    box-sizing: border-box;

    max-width: 650px;
}

.therapy-text h1 {
    margin: -5px 0 30px 0;

    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 48px;
    font-weight: normal;
    line-height: 1.1;
}

.therapy-text p {
    margin: 0 0 25px 0;

    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.45;
}

.therapy-text a {
    color: #536457;
    text-decoration: none;
}

.therapy-text a:hover {
    color: #89968a;
}

/* =========================================================
   TEXT DROPDOWN
   ========================================================= */

.text-dropdown {
    margin: 30px 0;
}

.text-dropdown summary {
    display: inline;
    cursor: pointer;
    color: #536457;
    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.text-dropdown summary:hover {
    color: #89968a;
}

/* Hide the default triangle */
.text-dropdown summary::-webkit-details-marker {
    display: none;
}

.text-dropdown summary::marker {
    display: none;
}

/* Add a small + when closed */
.text-dropdown summary::after {
    content: " +";
    color: #536457;
}

/* Change the + to − when open */
.text-dropdown[open] summary::after {
    content: " -";
    color: #89968a;
}

/* The writing that appears */
.dropdown-content {
    margin-top: 20px;
}

.dropdown-content p {
    margin: 0 0 25px 0;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.6;
}

/* CONTACT / FOOTER */

.subpage-footer {
    min-height: 450px;

    padding: 90px 4%;
    box-sizing: border-box;

    background: #e7e7e7;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.subpage-footer h2 {
    margin: 0;

    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: normal;
}

.subpage-footer p {
    margin: 0;

    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

.subpage-footer p:first-of-type {
    grid-column: 2;
    text-align: right;
}

.subpage-footer p:last-of-type {
    grid-column: 2;
    text-align: right;
    margin-top: 15px;
}

.subpage-footer a {
    color: #292929;
    text-decoration: underline;
}



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

@media screen and (max-width: 700px) {

    .subpage-header {
        height: auto;
        padding: 25px 20px;

        flex-direction: column;
        gap: 18px;
    }

    .subpage-nav {
        gap: 20px;
    }

.therapy-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 50px 25px 90px;
    box-sizing: border-box;
}

.page-title {
    width: 100%;
    text-align: center;
}

 .therapy-image {
    width: 100%;
    padding: 0;
    margin-bottom: 55px;
}

.therapy-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 50% 50% 0 0;
}

 .therapy-image-quote {
    margin: 10px 5px 0 5px;
    text-align: center;
    font-family: Optima, "Segoe UI", sans-serif;
    font-size: 8px;
    line-height: 1.5;
}
    .therapy-text {
        width: 100%;
        max-width: 550px;

        padding: 0;
        margin: 0 auto;
    }

    .therapy-text h1 {
        font-size: 32px;
        text-align: center;
        margin-bottom: 30px;
    }

    .therapy-text p {
        font-size: 14px;
        line-height: 1.55;
    }


    .subpage-footer {
        min-height: 400px;

        padding: 70px 25px;

        display: block;
        text-align: center;
    }

    .subpage-footer h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .subpage-footer p {
        font-size: 14px;
        text-align: center !important;
        margin: 12px 0 !important;
    }
}


/* =========================================================

   MOBILE — HOMEPAGE

   ========================================================= */

@media screen and (max-width: 700px) {

    /* HERO */

    #hero {

        height: 500px;

    }

    #nav {

        top: 20px;

        left: 20px;

        right: 20px;

        flex-direction: column;

        gap: 18px;

    }

    .nav-links {

        gap: 20px;

    }

    #hero-text {

        top: 68%;

    }

    #hero-text h1 {

        font-size: 32px;

    }

    #hero-text p {

        font-size: 19px;

    }
    
    #quote {

    background: white;

    padding: 7px 20px;

    text-align: center;

    font-size: 10px;

    line-height: 1.5;

}


#quote a {

    color: #536457;

}


#quote a:hover {

    color: #89968a;

}

/* WELCOME */

#welcome {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 65px 30px;
    text-align: left;
}

#site .welcome-left {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.welcome-title h2 {
    font-size: 40px;
    text-align: center;
}

#site .welcome-photo {
    display: flex;
    justify-content: center;
    margin: 0 0 20px 0;
}

#site .welcome-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.welcome-text {
    grid-column: auto;
    margin: 0 auto;
    font-size: 14px;
}

.welcome-image {
    grid-column: auto;
}

.welcome-image img {
    width: 230px;
    height: 430px;
}

#contact {

    background: #e7e7e7;

    min-height: 350px;

    padding: 90px 20px;

    box-sizing: border-box;

    text-align: center;

}


#contact h2 {

    margin: 0 0 25px 0;

    font-size: 24px;

    font-weight: normal;

}


#contact p {

    font-size: 10px;

    line-height: 1.7;

}


#contact a {

    color: #536457;

}


#contact a:hover {

    color: #89968a;
}


}