/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header and Navigation */
/* Header and Navigation */
header {
    background-color: #2c5f7a;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
}

.nav-menu a:hover {
    background-color: #87ceeb;
    color: #2c5f7a;
}

/* Responsive dropdown styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 2rem;
        background-color: #2c5f7a;
        flex-direction: column;
        gap: 0;
        min-width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1rem 1.5rem;
        border-radius: 0;
    }
    
    .nav-menu a:hover {
        background-color: rgba(135, 206, 235, 0.2);
        color: white;
    }
    
    /* Hamburger animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Desktop hover dropdown effect (optional enhancement) */
@media (min-width: 769px) {
    .nav-menu {
        position: relative;
    }
    
    /* Optional: Add dropdown effect on desktop too */
    .nav-menu.desktop-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #2c5f7a;
        flex-direction: column;
        gap: 0;
        min-width: 250px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.desktop-dropdown.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu.desktop-dropdown li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.desktop-dropdown li:last-child {
        border-bottom: none;
    }
    
    .nav-menu.desktop-dropdown a {
        padding: 1rem 1.5rem;
        border-radius: 0;
    }
}
/* Main content */
main {
    margin-top: 80px;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #87ceeb 0%, #2c5f7a 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: white;
    color: #2c5f7a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* About section */
.about {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    color: #2c5f7a;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-content img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.credentials {
    list-style: none;
    margin-top: 1rem;
}

.credentials li {
    padding: 0.5rem 0;
    border-left: 3px solid #87ceeb;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

/* Services section */
.services {
    background-color: white;
    padding: 4rem 2rem;
}

.services h2 {
    text-align: center;
    color: #2c5f7a;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c5f7a;
    margin-bottom: 1rem;
}

.price {
    display: block;
    font-weight: bold;
    color: #87ceeb;
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Contact section */
.contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    color: #2c5f7a;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form h3 {
    color: #2c5f7a;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    background-color: #2c5f7a;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #1e4a5f;
}

/* Footer */
footer {
    background-color: #2c5f7a;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}
/* Title with navigation links stacked underneath */
header {
    position: sticky;
}

nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

main {
    margin-top: 0;
}

@media (max-width: 768px) {
    .nav-menu {
        position: static;
        flex-direction: row;
        min-width: 0;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 0.5rem 0.8rem;
        border-radius: 5px;
    }
}

/* Contact page */
.contact-intro,
.contact-form,
.crisis-note,
.office {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-intro p {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.contact-intro .credential {
    font-style: italic;
    color: #2c5f7a;
}

.contact a {
    color: #2c5f7a;
}

.crisis-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff4e5;
    border-left: 4px solid #e0a040;
    border-radius: 5px;
    font-size: 0.95rem;
}

.office {
    margin-top: 3rem;
    text-align: center;
}

.office h3 {
    color: #2c5f7a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.office p {
    margin-bottom: 0.5rem;
}

.office-map {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 1rem 0 0.5rem;
}

/* Home page picture above "About Jenny Kim" */
.about-banner {
    display: block;
    width: 100%;          /* always as wide as the browser window */
    height: auto;
    max-height: 85vh;     /* never taller than the window */
    object-fit: cover;    /* crop the edges rather than squash the picture */
    object-position: center 75%;   /* keep the tree line in view when cropped */
}

.about-content.text-only {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

/* Sentence shown on top of the snow picture */
.banner {
    position: relative;
}

.banner-text {
    position: absolute;
    top: 30%;                 /* sits in the gray sky area */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    margin: 0;
    padding: 1.2rem 1.8rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #2c5f7a;
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .banner-text {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}

/* About page office pictures: couch on the left, table above chair on the right */
.office-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.office-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.office-gallery .gallery-large {
    grid-row: span 2;
}

/* On phones, stack the pictures in one column */
@media (max-width: 768px) {
    .office-gallery {
        grid-template-columns: 1fr;
    }

    .office-gallery .gallery-large {
        grid-row: auto;
    }
}

/* On phones, center the therapist photo above the text */
@media (max-width: 768px) {
    .about-content img {
        display: block;
        margin: 0 auto;
    }
}

/* Space between the bio paragraphs, and above the "Forms" heading */
.about-text p {
    margin-bottom: 1rem;
}

.service-grid + h2 {
    margin-top: 3rem;
}

/* About page: thin line and Philosophy section under the office pictures */
.section-line {
    border: 0;
    border-top: 1px solid #ccd6dc;
    margin: 4rem 0;
}

.philosophy {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.625;
}

.philosophy-heading h3 {
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #666;
}

.philosophy-heading p {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 2.5rem;
    color: #2c5f7a;
}

.philosophy-text h4 {
    margin-bottom: 0.75rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: #2c5f7a;
}

.philosophy-text p {
    font-family: 'Georgia', serif;
    margin-bottom: 1.25rem;
}

.philosophy-text p + h4 {
    margin-top: 2.5rem;
}

@media (max-width: 768px) {
    .section-line {
        margin: 3rem 0;
    }

    .philosophy {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* "About Jenny Kim" title: same font as the "About You" heading */
#about h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}
