/* 
   SITE SETTINGS & VARIABLES 
   Change these to update colors and fonts site-wide.
*/
:root {
    /* Colors - Sophisticated Palette (Deep Slate & Gold) */
    /* Base Landscape (Light Mode) */
    --color-bg-body: #ffffff;
    --color-bg-alt: #f4f6f7;
    /* Slightly cooler grey/slate tint */

    /* Text Colors */
    --color-text-main: #2c3e50;
    /* Deep Slate for main text */
    --color-text-light: #546e7a;
    /* Lighter Slate */

    /* Specific Dark Mode Colors (Hero/Footer) */
    --color-bg-dark: #1a252f;
    /* Darker Slate */
    --color-text-inv: #ffffff;

    /* Brand Colors */
    --color-primary: #c5a059;
    /* Muted Gold */
    --color-primary-dark: #b08d45;
    --color-accent-purple: #8e44ad;
    /* Deep Purple (kept as secondary accent if needed) */
    --color-accent-teal: #1abc9c;
    /* Teal (kept as secondary) */

    --color-border: #e0e5e9;
    --color-border-on-dark: #34495e;

    /* Gradient: Slate to Gold/Warmth - subtle */
    --color-gradient-main: linear-gradient(135deg, #c5a059 0%, #e6ce8a 100%);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    /* Slightly sharper for professional look */

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(44, 62, 80, 0.1);
    --shadow-md: 0 8px 15px rgba(44, 62, 80, 0.15);

    /* Glow effect - Gold */
    --glow-primary: 0 0 15px rgba(197, 160, 89, 0.3);
}

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-body);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-primary-dark);
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.4);
    text-decoration: none;
    /* Clean look */
}

ul,
ol {
    list-style: none;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    /* Dark by default */
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    /* Tight tracking for modern feel */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Utilities for Dark Sections */
.text-inv {
    color: var(--color-text-inv) !important;
}

.text-inv h1,
.text-inv h2,
.text-inv h3,
.text-inv h4 {
    color: var(--color-text-inv);
}

.text-inv p {
    color: rgba(255, 255, 255, 0.8);
}

/* More impact */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    /* Larger touch targets */
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--color-gradient-main);
    color: var(--color-white);
    /* White text on gradient is safer contrast */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: var(--glow-primary);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-bg-body);
    transform: translateY(-2px);
}

.section {
    padding: var(--spacing-lg) 0;
}

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

/* HEADER & NAV */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    /* White glassmorphism */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-main);
    /* Dark logo text */
    text-decoration: none;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    /* More authoritative */
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    color: var(--color-primary);
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-text-light);
    /* Dark grey links */
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    /* Add touch target padding */
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    text-shadow: none;
    /* Remove glow for light theme cleanliness */
    text-decoration: none;
}

.mobile-menu-btn {
    color: var(--color-text-main);
}

/* HERO SECTION - Always Dark */
.hero {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at top right, rgba(187, 134, 252, 0.15) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 170, 255, 0.15) 0%, transparent 40%),
        var(--color-bg-dark);
    /* Explicit dark bg */
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--color-text-inv);
}

.hero h1 {
    color: var(--color-text-inv);
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
}

/* Subtle abstract glow in hero background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: var(--color-gradient-main);
    opacity: 0.15;
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

/* QUICK CARDS */
.quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* CARDS (Doctor & Service) - Light Theme Optimized */
.doc-card,
.service-item {
    background: #ffffff;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer shadow for light theme */
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.doc-card h3,
.service-item h4 {
    color: var(--color-text-main);
}

.doc-card p,
.service-item p {
    color: var(--color-text-light);
}

.doc-card:hover,
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

/* Service Grid Accents (Retain colorful borders) */
.service-item:nth-child(1) {
    border-left: 4px solid var(--color-primary);
}

.service-item:nth-child(2) {
    border-left: 4px solid var(--color-accent-purple);
}

.service-item:nth-child(3) {
    border-left: 4px solid var(--color-accent-teal);
}

.service-item:nth-child(4) {
    border-left: 4px solid #ff4081;
}

.doc-card .specialty {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* DISCLAIMER */
.disclaimer-block {
    background-color: rgba(211, 47, 47, 0.1);
    /* Dark red transparency */
    border-left: 4px solid #ef5350;
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    color: #ef9a9a;
    /* Light red text */
}

.disclaimer-block strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffcdd2;
}

/* FOOTER */
.site-footer {
    background-color: #000000;
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    color: var(--color-text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

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

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
    color: #546e7a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: var(--spacing-md) 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-bg-alt);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        display: none;
        border-bottom: 1px solid var(--color-primary);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}