:root {
    --cream: #f9f4eb;
    --clay: #c46a5e;
    --rose: #D3614A;
    --darkred: #7D434A;
    --sunset-gray: #EDDBD6;
}

/* Base */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--cream);
    color: #3f2a1e;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h2 {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin: 0 0 6rem;
    color: var(--clay);
}

h3 {
    color: var(--darkred);
    font-weight: 300;
    font-size: 1.5rem;
    margin: 0;
}

h4 {
    margin: 1.25rem 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
}

/* Links */
a {
    color: var(--rose);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #a45c4f;
    text-decoration: underline;
}

/* Hero */
.hero {
    background: url('images/team-bg.png') top/cover no-repeat;
    height: 90vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    background: #FDF7EC;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10;
}

.logo img {
    width: 100px;
    height: 100px;
}

.call-us {
    font-family: 'Bebas Neue', sans-serif;
    position: absolute;
    top: 40px;
    right: 40px;
    color: #c46a5e;
    font-style: italic;
    font-size: 1.5rem;
}

.call-us-text {
    font-family: 'Great Vibes', cursive;
    color: #736163;
    font-style: normal;
    font-weight: 400;
    font-size: 1.75rem;
    letter-spacing: 1px;
}

/* Welcome Box */
.welcome-box {
    background: rgba(251,247,236,0.98);
    padding: 2rem 4rem;
    border-radius: 20px;
    max-width: 1024px;
    margin-bottom: 5vh;
    position: absolute;
    bottom: -111px;
    z-index: 20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    border: 2px solid #111;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
}

.welcome-box h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 5rem;
    font-weight: 300;
    color: var(--clay);
    margin: 0;
    line-height: 100%;
}

.welcome-box p {
    color: #736163;
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1.35;
    margin: 0.5rem 15%;
}

.heart-divider {
    width: 80px;
    height: auto;
    margin: 0.5rem auto;
    display: block;
}

/* Accepting New Patients */
.accepting-new {
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.accepting-new h3 {
    color: #D3614A;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 0.8rem 0;
}

.accepting-new p {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 5rem 10%;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
}

/* About */
.about-section {
    background: linear-gradient(rgba(249,244,235,0.95), rgba(249,244,235,0.95)), url('images/wallpaper.jpg') center/cover no-repeat;
    border-top: 24px solid var(--rose);
    padding-top: 9rem;
}

.about-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.amber-left {
    text-align: center;
}

.amber-photo {
    width: 280px;
    height: 280px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.amber-name h3 {
    color: var(--rose);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem;
    margin: 0;
    text-align: center;
    line-height: 100%;
}

.amber-name p {
    color: #736163;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

.hello {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: var(--clay);
    margin: 1.5rem 0 0.5rem 0;
    text-align: left;
}

.intro {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    text-align: left;
}

.about-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.team-member h3 {
    font-family: 'Great Vibes';
    font-size: 3rem;
    color: #736163;
    margin: 0 0 1rem 0;
}

.team-member p {
    text-align: left;
    margin-bottom: 1rem;
}

/* Services */
.services-section {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(0,0,0,0.0)), url('images/wallpaper.jpg') top/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #3f2a1e;
    position: relative;
}

.services-overlay {
    padding: 4rem 2rem;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card {
    background: rgb(255 255 255 / 90%);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.service-card h3 {
    color: #c46a5e;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0;
}

.service-card p {
    margin: 0.5rem;
}

/* Resources */
#resources {
    background: var(--sunset-gray);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.resource-card {
    padding: 2rem;
    border: 1px solid #e0ddde;
    border-radius: 8px;
    text-align: left;
    background: rgb(255 255 255 / 25%);
}

.resource-card h3 {
    color: var(--darkred);
    margin-bottom: 1rem;
    font-size: 1.45rem;
    line-height:100%;
}

.resource-card p {
    margin: 0.6rem 0;
}

.location-section {
    padding-bottom: 3rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}
.location{
    text-align:center; 
    margin-top:1rem;
    font-size:1.5rem;
    font-weight: 100;
}

/* Footer */
footer {
    background: var(--clay);
    color: white;
    padding: 4rem 5% 2rem;
}

footer a{
    color: #f8c0b5;
    font-weight: 600;
}
footer a:hover{
    color: #e2bdb5;
    text-decoration: underline;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.brand-col {
    text-align: left;
    display: flex;
    gap: 1.5rem;
}

.footer-logo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-top: 1.2rem;
}

.practice-name {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0;
}

.address {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}
.phone {
    font-size: 1.5rem;
}

.hours-col h4 {
    color: white;
    margin: 1.25rem 0 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
}

.spruce-col h4 {
    color: white;
}

.footer-qr {
    width: 160px;
    height: 160px;
    border: 8px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    margin: 1rem 0;
}

.footer-col.spruce-col {
    text-align: right;
}

.app-buttons img {
    height: 40px;
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.25);
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Bio Accordion */
.bio-short {
    display: block;
}
.bio-full {
    display: none;
}
.read-more {
    background: none;
    border: none;
    color: var(--rose);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 0.5rem;
}
.read-more:hover {
    color: #a45c4f;
    text-decoration: underline;
}

/* Nav */
.nav {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.nav a {
    color: #c46a5e;
    text-decoration: none;
    margin: 0 15px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
}

/* ====================== MOBILE IMPROVEMENTS ====================== */
@media (max-width: 768px) {
    .hero {
        height: 75vh;
    }

    .logo {
        width: 140px;
        height: 140px;
        top: 10px;
        left: 10px;
    }

    .logo img {
        width: 80px;
        height: 80px;
    }

    .call-us {
        top: 30px;
        right: 25px;
        font-size: 1.35rem;
    }

    .welcome-box {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 1.8rem 2.8rem;
        width: 92%;
        margin: -60px auto 4vh;
        max-width: none;
    }

    .welcome-box h1 {
        font-size: 4.2rem;
    }

    .welcome-box p {
        margin: 0 1rem 1.5rem;
        font-size: 1.35rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .about-section .content-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }
    .hello, intro{
        text-align: center;
    }

    .accepting-new {
        text-align: center;
    }

    /* Stack grids on mobile */
    .team-grid, .services-grid, .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding: 3.5rem 5%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 5%;
    }

    .brand-col {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col.spruce-col {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}