/* ==========================================================================
   Design System & Styling variables
   ========================================================================== */
:root {
    --primary: hsl(30, 12%, 32%);        /* Elegant deep warm bronze taupe */
    --primary-hover: hsl(30, 15%, 22%);
    --primary-glow: rgba(140, 120, 100, 0.04);
    --secondary: hsl(30, 15%, 52%);       /* Soft warm grey/beige gold */
    --secondary-hover: hsl(30, 20%, 42%);
    --bg-main: hsl(34, 24%, 95%);         /* Stylish warm light beige */
    --bg-alt: hsl(34, 20%, 91%);          /* Slightly darker soft beige */
    --text-dark: hsl(30, 8%, 18%);        /* Deep warm charcoal */
    --text-muted: hsl(30, 6%, 46%);       /* Muted warm grey */
    --white: #ffffff;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.015);
    --shadow-md: 0 12px 30px rgba(120, 100, 80, 0.03);
    --shadow-lg: 0 24px 60px rgba(120, 100, 80, 0.05);
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6, .nav-logo {
    font-family: var(--font-heading);
}

/* Background decorative glowing orbs - set to very subtle for minimalist medical aesthetic */
.glow-sphere {
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
}

.sphere-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, hsla(28, 50%, 80%, 0.8) 0%, hsla(340, 40%, 80%, 0) 70%);
}

.sphere-2 {
    top: 60vh;
    left: -200px;
    background: radial-gradient(circle, hsla(340, 50%, 80%, 0.8) 0%, hsla(28, 40%, 80%, 0) 70%);
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.alt-bg {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253, 251, 249, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 200, 200, 0.15);
    transition: var(--transition-smooth);
}

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

.nav-logo {
    font-size: 1.8rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.nav-logo span {
    color: inherit;
    font-weight: 500;
    margin-left: 0.05rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-menu a.nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px var(--primary-glow);
    white-space: nowrap;
}

.nav-menu a.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
    border: 1px solid rgba(220, 200, 200, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    border-color: rgba(220, 200, 200, 0.8);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.01);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-color: var(--secondary);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.philosophy-image-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.philosophy-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.philosophy-image-container:hover .philosophy-img {
    transform: scale(1.03);
}

.image-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(100, 60, 60, 0.1) 100%);
    pointer-events: none;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.philosophy-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.feature-item span:last-child {
    font-weight: 500;
    font-size: 1.05rem;
}

/* ==========================================================================
   Contact / Appointment Section
   ========================================================================== */
.contact-container {
    background-color: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 5rem;
    box-shadow: var(--shadow-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
}

.contact-details {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.info-block {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background-color: var(--bg-alt);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-block p a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.info-block p a:hover {
    color: var(--primary);
}

.info-block p {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(220, 200, 200, 0.4);
    background-color: var(--bg-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.65;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background-color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-alt);
    border-top: 1px solid rgba(220, 200, 200, 0.2);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive Design Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .philosophy-image-container {
        max-width: 500px;
        margin: 0 auto;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-container {
        padding: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    .navbar {
        position: relative;
    }
    .nav-container {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1rem;
    }
    .nav-menu {
        gap: 1.25rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 1.75rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    .nav-logo {
        font-size: 1.5rem;
    }
    .nav-menu {
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    .nav-menu a {
        font-size: 0.85rem;
    }
    .nav-menu a.nav-cta {
        padding: 0.5rem 0.85rem;
    }
}
