/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --bg-color: #FAF9F6; /* Warm Paper White */
    --text-color: #2C2C2C;
    --accent-color: #6B9080; /* Sage Green */
    --accent-hover: #4A665A;
    --secondary-bg: #EAF4F4;
    --serif-font: 'Playfair Display', serif;
    --sans-font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--sans-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

h1, h2, h3, h4, h5 { font-family: var(--serif-font); font-weight: 600; color: var(--text-color); }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* =========================================
   2. UTILITIES & BUTTONS
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }

.btn {
    display: inline-block; padding: 14px 32px; background-color: var(--accent-color);
    color: white; border-radius: 50px; font-size: 0.9rem; letter-spacing: 0.5px;
    font-weight: 500; transition: all 0.3s ease; border: none; cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 144, 128, 0.3);
}

.btn-outline {
    background: transparent; border: 1px solid var(--text-color); color: var(--text-color);
}
.btn-outline:hover { background: var(--text-color); color: white; }

/* =========================================
   3. NAVIGATION (Global)
   ========================================= */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 25px 40px; position: fixed; width: 100%; top: 0;
    background: rgba(250, 249, 246, 0.95); backdrop-filter: blur(10px); z-index: 1000;
}

.logo { font-family: var(--serif-font); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 0.9rem; color: var(--text-color); position: relative; }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0;
    background-color: var(--accent-color); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Mobile Menu Hide */
@media (max-width: 768px) { .nav-links { display: none; } }

/* =========================================
   4. HOME PAGE STYLES (index.html)
   ========================================= */
.hero { height: 100vh; display: flex; align-items: center; position: relative; }
.hero-content {
    width: 50%;
    /* We add 5% padding to the left so it doesn't touch the screen edge */
    padding-left: 5%;
    padding-right: 50px;
    z-index: 2;
}
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; }
.hero h1 span { display: block; font-style: italic; font-weight: 400; color: var(--accent-color); }
.hero p { font-size: 1.1rem; color: #555; margin-bottom: 40px; max-width: 450px; }
.hero-image {
    position: absolute; right: 0; top: 0; width: 45%; height: 100%;
    background-image: url('assets/Home_Page.jpg');
    background-size: cover; background-position: center; border-bottom-left-radius: 100px;
}

.philosophy { background-color: white; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.card { padding: 30px; border-radius: 20px; background: var(--bg-color); transition: 0.3s; }
.card:hover { transform: translateY(-10px); }
.card-icon { font-size: 2rem; margin-bottom: 20px; color: var(--accent-color); }
.card h3 { margin-bottom: 15px; font-size: 1.4rem; }

.services { background-color: var(--secondary-bg); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.section-header h2 { font-size: 3rem; margin-bottom: 15px; }
.service-item { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.service-item:nth-child(even) { flex-direction: row-reverse; }
.service-img { flex: 1; height: 400px; border-radius: 20px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-text { flex: 1; }
.service-text h3 { font-size: 2rem; margin-bottom: 20px; }

/* Team Grid (Home) */
.team { background-color: var(--bg-color); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.team-member { text-align: left; cursor: pointer; }
.member-img-container {
    width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
    margin-bottom: 20px; position: relative;
}
.member-img-container img {
    width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%) contrast(90%); transition: all 0.5s ease;
}
.team-member:hover .member-img-container img { filter: grayscale(0%) contrast(100%); transform: scale(1.03); }
.team-member h4 { font-size: 1.4rem; margin-bottom: 5px; }
.team-member .role {
    font-family: var(--sans-font); color: var(--accent-color); font-size: 0.9rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block;
}

/* =========================================
   5. ABOUT PAGE STYLES (about.html)
   ========================================= */
.page-header {
    height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background-color: var(--secondary-bg); margin-bottom: 80px;
}
.header-content h1 { font-size: 4rem; margin-bottom: 20px; }
.story-section { display: flex; gap: 60px; align-items: center; margin-bottom: 120px; }
.story-img { flex: 1; height: 500px; border-radius: 20px; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text { flex: 1; }
.story-text h2 { font-size: 2.5rem; margin-bottom: 30px; }

.space-section { margin-bottom: 120px; }
.space-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; height: 500px; }
.space-item { border-radius: 15px; overflow: hidden; }
.space-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.space-item:hover img { transform: scale(1.05); }

.values-section { background-color: white; padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; }
.value-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent-color); }

/* =========================================
   6. TREATMENTS PAGE (treatments.html)
   ========================================= */
.treatment-header { padding: 180px 0 80px 0; text-align: center; background: linear-gradient(to bottom, white, var(--bg-color)); }
.treatment-header h1 { font-size: 3.5rem; margin-bottom: 20px; }
.category-title {
    text-align: center; margin: 80px 0 40px 0; font-size: 2rem;
    position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
}
.category-title::after {
    content: ''; display: block; width: 60px; height: 2px;
    background: var(--accent-color); margin: 15px auto 0 auto;
}
.treatment-card {
    background: white; border-radius: 20px; overflow: hidden; display: flex; margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: transform 0.3s;
}
.treatment-card:hover { transform: translateY(-5px); }
.t-image { flex: 1; min-height: 300px; }
.t-image img { width: 100%; height: 100%; object-fit: cover; }
.t-content { flex: 1.5; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.t-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 15px; }
.t-header h3 { font-size: 1.8rem; }
.t-price { font-family: var(--sans-font); color: var(--accent-color); font-weight: 500; }
.t-details { display: flex; gap: 20px; margin-bottom: 20px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #999; }

.pricing-section { padding: 80px 0; background-color: var(--secondary-bg); margin-top: 100px; }
.price-row { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid #d1d9d9; }
.price-row:last-child { border-bottom: none; }
.price-name { font-weight: 500; }
.price-cost { color: #666; }

/* =========================================
   7. PROFILE PAGE (dr-vance.html)
   ========================================= */
.profile-container {
    max-width: 1200px; margin: 120px auto 80px auto; padding: 0 20px;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px;
}
.profile-image-col { position: sticky; top: 120px; align-self: start; }
.profile-img { width: 100%; border-radius: 20px; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 30px; }
.credentials-box { background-color: white; padding: 30px; border-radius: 15px; border: 1px solid #eee; }
.credentials-box h4 {
    font-family: var(--sans-font); text-transform: uppercase; letter-spacing: 1px;
    font-size: 0.8rem; color: var(--accent-color); margin-bottom: 15px;
}
.credentials-box ul { list-style: none; font-size: 0.9rem; color: #555; }
.credentials-box ul li { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f5f5f5; }
.profile-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 10px; }
.profile-role {
    display: block; font-family: var(--sans-font); text-transform: uppercase;
    letter-spacing: 2px; color: #888; margin-bottom: 40px; font-size: 0.9rem;
}
.bio-section p { margin-bottom: 20px; color: #444; font-size: 1.05rem; }
.drop-cap {
    float: left; font-size: 4rem; line-height: 3.5rem; padding-right: 15px;
    font-family: var(--serif-font); color: var(--accent-color);
}
.qa-section { background-color: var(--secondary-bg); padding: 40px; border-radius: 20px; margin-top: 40px; }
.qa-item { margin-bottom: 30px; }
.qa-item h4 { font-size: 1.2rem; margin-bottom: 10px; }

/* =========================================
   8. FOOTER (Global)
   ========================================= */
footer { background-color: #212529; color: #F0F0F0; padding: 80px 0 40px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-brand h3 { color: white; margin-bottom: 20px; }
.footer-col h4 {
    color: var(--accent-color); font-size: 1rem; margin-bottom: 20px;
    font-family: var(--sans-font); text-transform: uppercase; letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; color: #bbb; font-size: 0.9rem; }
.copyright { border-top: 1px solid #333; padding-top: 30px; text-align: center; font-size: 0.8rem; color: #777; }

/* Global Mobile Fixes */
@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 100px; height: auto; }
    .hero-content { width: 100%; padding: 20px; text-align: center; }
    .hero-image { position: relative; width: 100%; height: 300px; border-radius: 0; margin-top: 30px; }
    .grid-3 { grid-template-columns: 1fr; }
    .service-item, .service-item:nth-child(even) { flex-direction: column; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .profile-container { grid-template-columns: 1fr; }
    .profile-image-col { position: relative; top: 0; }
}

/* =========================================
   9. BOOK/CONTACT PAGE STYLES (New)
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Info Side */
.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}
.info-card h3 { margin-bottom: 15px; font-size: 1.8rem; }
.info-card p { color: #555; line-height: 1.6; margin-bottom: 5px; }

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background-color: #ddd; /* Placeholder color while loading */
}

/* Form Side */
.booking-form {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--sans-font);
    font-size: 0.95rem;
    background-color: #fafafa;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: white;
}

/* Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .page-header { height: 30vh; }
}
