
/* ========================================
   ROSE EMEIGH COUNSELING
   Modern Counseling Practice Website
======================================== */


/* ========================================
   FONTS
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Montserrat:wght@400;500;600;700&display=swap');


/* ========================================
   VARIABLES
======================================== */

:root {
    --purple: #9A7BB5;
    --purple-dark: #3A2C45;
    --purple-light: #342A3D;

    --sage: #8D9A8A;
    --sage-light: #2D352E;

    --cream: #17151B;
    --cream-dark: #211D25;

    --white: #211D25;

    --text: #F0EBF3;
    --text-light: #B9B0C0;

    --border: #3A3340;

    --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);

    --radius: 18px;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;

    background-color: var(--cream);

    color: var(--text);

    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2,
h3 {
    font-family: "Lora", serif;

    font-weight: 500;

    line-height: 1.2;
}

h1 {
    letter-spacing: -1px;
}

h2 {
    letter-spacing: -0.5px;
}

p {
    color: var(--text-light);
}


/* ========================================
   NAVIGATION
======================================== */

.navbar {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(23, 21, 27, 0.94);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(154, 123, 181, 0.18);
}

.nav-container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {
    font-family: "Lora", serif;

    font-size: 1.35rem;

    font-weight: 600;

    color: var(--purple-dark);

    transition: 0.3s ease;
}

.logo:hover {
    color: var(--purple);
}

nav {
    display: flex;

    align-items: center;

    gap: 32px;
}

nav a {
    position: relative;

    color: var(--text);

    font-size: 0.9rem;

    font-weight: 500;

    transition: color 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background-color: var(--purple);

    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--purple);
}

nav a:hover::after {
    width: 100%;
}


/* Mobile menu button */

.menu-button {
    display: none;

    border: none;

    background: transparent;

    color: var(--purple-dark);

    font-size: 1.8rem;

    cursor: pointer;
}


/* ========================================
   HERO
======================================== */

.hero {
    min-height: 720px;

    padding: 90px 35px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(154, 123, 181, 0.13),
            transparent 35%
        ),

        radial-gradient(
            circle at 15% 80%,
            rgba(141, 154, 138, 0.10),
            transparent 35%
        ),

        var(--cream);
}

.hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: rgba(154, 123, 181, 0.07);

    top: -150px;
    right: -100px;
}

.hero-content {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;

    position: relative;

    z-index: 1;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--purple);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 28px;

    font-size: clamp(3.2rem, 7vw, 5.8rem);

    color: var(--purple-dark);
}

.hero h1 span {
    display: block;

    color: var(--purple);
}

.hero-text {
    max-width: 680px;

    margin: 0 auto;

    font-size: 1.08rem;

    line-height: 1.9;
}

.hero-buttons {
    margin-top: 38px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* ========================================
   BUTTONS
======================================== */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 28px;

    border-radius: 50px;

    font-size: 0.9rem;

    font-weight: 600;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.primary-button {
    background-color: var(--purple);

    color: var(--white);

    box-shadow: 0 8px 20px rgba(154, 123, 181, 0.25);
}

.primary-button:hover {
    background-color: var(--purple-dark);

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(154, 123, 181, 0.32);
}

.secondary-button {
    border: 1px solid var(--purple);

    color: var(--purple);

    background-color: transparent;
}

.secondary-button:hover {
    background-color: var(--purple-light);

    transform: translateY(-3px);
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
    padding: 110px 35px;
}

.section-container {
    max-width: 1100px;

    margin: 0 auto;
}

.section-heading {
    max-width: 680px;
}

.section-heading.centered {
    margin: 0 auto;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 20px;

    color: var(--purple-dark);

    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.section-heading h2 span {
    color: var(--purple);
}

.section-heading p:not(.eyebrow) {
    font-size: 1rem;

    line-height: 1.8;
}


/* ========================================
   ABOUT
======================================== */

.about {
    background-color: var(--white);
}

.about-content {
    margin-top: 60px;

    display: grid;

    grid-template-columns: 1.4fr 0.9fr;

    gap: 80px;

    align-items: center;
}

.about-text {
    font-size: 1rem;
}

.about-text p {
    margin-bottom: 22px;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* Credentials */

.credentials {
    display: flex;

    justify-content: center;
}

.credential-card {
    width: 100%;

    padding: 45px 35px;

    background:
        linear-gradient(
            145deg,
            var(--purple-light),
            #f8f4f9
        );

    border: 1px solid #41364A;

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);
}

.credential-card h3 {
    margin-bottom: 10px;

    color: var(--purple-dark);

    font-size: 1.8rem;
}

.credential-card p {
    font-size: 0.9rem;
}

.credentials-list {
    margin-top: 25px;

    display: flex;

    justify-content: center;

    gap: 10px;
}

.credentials-list span {
    padding: 7px 16px;

    background-color: #30233A;

    color: white;

    border-radius: 50px;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 1px;
}


/* ========================================
   SERVICES
======================================== */

.services {
    background-color: var(--cream);
}

.service-grid {
    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.service-card {
    padding: 38px 32px;

    background-color: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.service-icon {
    width: 55px;

    height: 55px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--purple-light);

    color: var(--purple);

    border-radius: 50%;

    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 15px;

    color: var(--purple-dark);

    font-size: 1.35rem;
}

.service-card p {
    font-size: 0.9rem;

    line-height: 1.8;
}


/* ========================================
   APPROACH SECTION
======================================== */

.approach {
    padding: 110px 35px;

    position: relative;

    overflow: hidden;

    background-color: #30233A;

    color: white;

    text-align: center;
}

.approach::before {
    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 50%;

    top: -180px;

    left: -100px;
}

.approach::after {
    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 50%;

    bottom: -140px;

    right: -80px;
}

.approach-container {
    max-width: 750px;

    margin: 0 auto;

    position: relative;

    z-index: 1;
}

.approach .eyebrow {
    color: #D6C7E0;
}

.approach h2 {
    margin-bottom: 25px;

    color: white;

    font-size: clamp(2.4rem, 5vw, 4rem);
}

.approach p:not(.eyebrow) {
    margin-bottom: 35px;

    color: #E4DCE8;

    font-size: 1rem;

    line-height: 1.9;
}

.light-button {
    background-color: white;

    color: var(--purple);
}

.light-button:hover {
    background-color: var(--cream);

    transform: translateY(-3px);
}


/* ========================================
   CONTACT
======================================== */

.contact {
    background-color: var(--white);
}

.contact-card {
    max-width: 800px;

    margin: 55px auto 0;

    padding: 35px 45px;

    background-color: var(--cream);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 22px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    min-width: 52px;

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--purple-light);

    color: var(--purple);

    border-radius: 50%;

    font-size: 1.2rem;
}

.contact-item h3 {
    margin-bottom: 4px;

    color: var(--purple-dark);

    font-size: 1.15rem;
}

.contact-item a {
    color: var(--purple);

    font-size: 0.9rem;

    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    font-size: 0.85rem;
}

.placeholder {
    opacity: 0.75;
}


/* ========================================
   FOOTER
======================================== */

footer {
    padding: 60px 35px 25px;

    background-color: var(--purple-dark);

    color: white;
}

.footer-container {
    max-width: 1100px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}

.footer-container h3 {
    margin-bottom: 8px;

    color: white;

    font-size: 1.3rem;
}

.footer-container p {
    color: #C7BCCE;

    font-size: 0.85rem;
}

.footer-container a {
    color: #D9CCDF;

    font-size: 0.85rem;
}

.footer-container a:hover {
    text-decoration: underline;
}

.copyright {
    max-width: 1100px;

    margin: 45px auto 0;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.15);

    color: #A99DB0;

    font-size: 0.75rem;
}


/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: #5F4C6B;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 850px) {

    .nav-container {
        padding: 17px 22px;
    }

    .menu-button {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        background-color: #211D25;

        border-bottom: 1px solid var(--border);

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.30);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;

        padding: 5px 0;
    }

    nav a::after {
        display: none;
    }

    .hero {
        min-height: 650px;

        padding: 70px 22px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section {
        padding: 80px 22px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .service-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .approach {
        padding: 80px 22px;
    }

    .contact-card {
        padding: 25px;
    }

    .footer-container {
        flex-direction: column;
    }
}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 500px) {

    .logo {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .credential-card {
        padding: 35px 25px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .contact-item {
        align-items: flex-start;
    }

    .contact-icon {
        min-width: 45px;

        width: 45px;

        height: 45px;
    }
}



/* ========================================
   POLISHED PURPLE NAVIGATION
======================================== */

.navbar {
    background: rgba(27, 23, 33, 0.96);
    border-bottom: 1px solid rgba(154, 123, 181, 0.22);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.20);
}

.nav-container {
    padding: 20px 35px;
}

.logo {
    color: #F1EDF4;
    letter-spacing: -0.2px;
}

.logo:hover {
    color: #CDB7DD;
}

nav {
    gap: 38px;
}

nav a {
    color: #D9D1DF;
    font-weight: 500;
    padding: 8px 0;
}

nav a::after {
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--purple);
}

nav a:hover {
    color: #F1EDF4;
}

.menu-button {
    color: #F1EDF4;
}


/* ========================================
   READABLE CREDENTIAL BUBBLE
======================================== */

.credential-card {
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(180, 150, 210, 0.42),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #4A3A55 0%,
            #30263A 45%,
            #1E1925 100%
        );
    border: 1px solid #62516D;
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.credential-card h3 {
    color: #F4EFF6;
}

.credential-card p {
    color: #CFC5D5;
}

.credentials-list span {
    background: var(--purple);
    color: #FFFFFF;
    box-shadow: 0 6px 15px rgba(154, 123, 181, 0.20);
}


/* ========================================
   GENERAL READABILITY
======================================== */

.section-heading h2,
.service-card h3,
.contact-item h3 {
    color: #F1EDF4;
}

.section-heading h2 span {
    color: #CDB7DD;
}

.service-card,
.contact-card {
    background-color: #24202A;
}

.service-card p,
.contact-item p,
.section-heading p:not(.eyebrow),
.about-text p {
    color: #BEB5C5;
}

.service-card,
.contact-card {
    border-color: var(--border);
}


/* Keep the mobile menu readable */
@media (max-width: 850px) {
    nav {
        background-color: #211D27;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.30);
    }

    nav a {
        color: #E5DDE9;
    }
}


/* ========================================
   NAVBAR LOGO
======================================== */

.site-logo {
    display: block;
    width: 280px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}


/* ========================================
Phone style
======================================== */

.phone-icon {
     color: var(--purple) !important;
}

/* ========================================
   EMAIL + PHONE — SAME COLOR
======================================== */

.contact-item a,
.contact-item a:visited,
.contact-item a:hover,
.contact-item a:active,
.contact-item a:focus {
    color: var(--purple) !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.phone-icon {
    color: var(--purple) !important;
}
