/* --- CSS VARIABLES & DESIGN SYSTEM --- */
:root {
    /* Colors - Logo Matching Theme */
    --color-bg: #FFFFFF;
    --color-bg-light: #F9F9F9;
    --color-bg-dark: #0A0A0A; /* Black from logo */
    --color-text: #111111;
    --color-text-light: #555555;
    --color-text-inverse: #FFFFFF;
    
    /* Premium Gold Palette (retained for premium feel) */
    --color-gold: #DFB059;       
    --color-gold-light: #EED294;
    --color-gold-dark: #B88E3E;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 10px 30px rgba(44, 74, 59, 0.08);
    --shadow-hover: 0 20px 40px rgba(44, 74, 59, 0.15);
    --shadow-gold: 0 4px 20px rgba(223, 176, 89, 0.3);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.text-white { color: var(--color-text-inverse); }
.bg-light { background-color: var(--color-bg-light); }
.bg-dark { background-color: var(--color-bg-dark); color: var(--color-text-inverse); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-bg-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-tag {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-radius: 4px;
}
.btn-primary {
    background-color: var(--color-bg-dark);
    color: #fff;
    border: 1px solid var(--color-bg-dark);
}
.btn-primary:hover {
    background-color: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-bg-dark);
    border: 1px solid #ccc;
}
.btn-secondary:hover {
    border-color: var(--color-bg-dark);
    background-color: transparent;
}
.btn-outline {
    background-color: transparent;
    color: var(--color-bg-dark);
    border: 1px solid #ccc;
}
.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn-full {
    width: 100%;
}
.mt-3 { margin-top: 1rem; }
.btn-icon { width: 18px; height: 18px; }

/* --- HEADER --- */
.amz-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #f8f6f0; /* Softer header background */
    border-bottom: 1px solid #e2ddcf;
    font-family: 'Inter', sans-serif;
    color: #2c4a3b;
    box-shadow: 0 2px 10px rgba(44, 74, 59, 0.05);
}

.amz-top-row {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    gap: 1.5rem;
}

.amz-logo {
    display: flex;
    align-items: center;
}
.amz-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.amz-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    padding: 0 0.5rem;
}
.amz-location:hover { outline: 1px solid #e2ddcf; }
.amz-location i { width: 18px; height: 18px; color: var(--color-bg-dark); }
.amz-loc-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.loc-line1 { font-size: 0.75rem; color: var(--color-text-light); }
.loc-line2 { font-size: 0.9rem; font-weight: 700; color: var(--color-bg-dark); }

.amz-search {
    flex: 1;
    display: flex;
    align-items: center;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #cdcdcd;
    background: #fff;
}
.amz-search:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(223, 176, 89, 0.5);
}
.search-select {
    background: #f4f1ea;
    border-right: 1px solid #cdcdcd;
    padding: 0 0.8rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
}
.search-select:hover { background: #e8e3d8; }
.search-select i { width: 14px; height: 14px; }
.amz-search input {
    flex: 1;
    height: 100%;
    border: none;
    padding: 0 1rem;
    outline: none;
    font-size: 0.95rem;
}
.search-btn {
    background-color: var(--color-bg-dark);
    border: none;
    height: 100%;
    padding: 0 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-btn:hover { background-color: #1e3529; }
.search-btn i, .search-btn svg { width: 22px; height: 22px; color: #ffffff; stroke: #ffffff; }

.amz-nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
}
.nav-item:hover { color: var(--color-gold); outline: 1px solid #e2ddcf; }
.nav-item i { width: 22px; height: 22px; }
.small-chevron { width: 14px !important; height: 14px !important; margin-left: 2px; color: #555;}

.lang-select { gap: 0.2rem; font-size: 0.85rem; font-weight: 600; }

.nav-btn {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background-color: var(--color-gold);
    color: #111111 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.nav-btn:hover {
    background-color: var(--color-gold-dark);
    color: #000000 !important;
    outline: none !important;
}

.amz-bottom-row {
    display: flex;
    align-items: center;
    padding: 0.4rem 1.5rem;
    background-color: #f4f1ea;
    border-top: 1px solid #e2ddcf;
    font-size: 0.85rem;
    gap: 1.5rem;
}

.amz-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}
.amz-menu-btn:hover { outline: 1px solid #e2ddcf; }
.amz-menu-btn i { width: 22px; height: 22px; }

.amz-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex: 1;
}
.amz-bottom-links a {
    color: var(--color-bg-dark);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.2rem 0.5rem;
    font-weight: 500;
}
.amz-bottom-links a:hover {
    color: var(--color-gold-dark);
    outline: 1px solid #e2ddcf;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
    padding-left: 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-pretitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-body); /* Changed to body font for modern clean look like screenshot */
    font-size: 3.5rem;
    color: var(--color-bg-dark);
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    font-weight: 800;
    line-height: 1.15;
}

.hero-title .highlight {
    color: var(--color-gold);
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
    max-width: 500px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

/* --- ABOUT DOCTOR --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--color-gold);
    z-index: -1;
    transform: translate(20px, 20px);
    border-radius: 8px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
}

.premium-text {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.founder-signature {
    margin-top: 3rem;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
}

.founder-signature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--color-bg-dark);
}

.founder-signature span {
    font-size: 0.9rem;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- SERVICES (CARDS) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background: var(--color-bg);
    padding: 3rem 2rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    border-bottom: 3px solid transparent;
    transition: all var(--transition-smooth);
    border-radius: 8px;
}

.service-card:hover {
    border-bottom-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--color-bg-dark);
}

.service-content p {
    color: var(--color-text-light);
}

/* --- PORTFOLIO / THERAPIES --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--color-bg);
    border: 1px solid #f0efe9;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-gold-light);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--color-bg-light);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--color-bg-dark);
}

.portfolio-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex: 1;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    position: relative;
    background-image: url('assets/images/clinic_hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 74, 59, 0.9); /* Deep green overlay */
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    border-radius: 8px;
}

.quote-icon {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.quote-icon i {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.client-details h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--color-gold);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

.footer-brand p {
    color: #C4D3C9;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all var(--transition-fast);
}

.social-icons a:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: #C4D3C9;
    font-size: 0.95rem;
}

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

.footer-newsletter p {
    color: #C4D3C9;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

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

.newsletter-form input {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    outline: none;
    border-radius: 4px;
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #C4D3C9;
    font-size: 0.9rem;
}

/* --- DESKTOP HIDDEN ELEMENTS --- */
.mobile-menu-toggle { display: none; }
.mobile-sidebar { display: none; }
.sidebar-overlay { display: none; }
.mobile-bottom-nav { display: none; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .amz-nav-right { gap: 0.8rem; }
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .amz-location { display: none; }
}

@media (max-width: 768px) {
    body { 
        padding-top: 130px; 
        padding-bottom: 70px; /* Space for bottom nav */
    }
    
    .hide-on-mobile { display: none !important; }
    
    .amz-header {
        padding: 0.5rem;
    }
    
    .amz-top-row {
        display: grid;
        grid-template-columns: auto 1fr auto; /* Menu, Search, Lang */
        grid-template-rows: auto auto; /* Logo, Search Tools */
        gap: 0.8rem 0.5rem;
        padding: 0.5rem;
        width: 100%;
        align-items: center;
    }
    
    .amz-logo {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
        margin-bottom: 0.2rem;
    }
    
    .amz-logo img {
        height: 45px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        grid-column: 1;
        grid-row: 2;
    }
    .mobile-menu-toggle i { width: 28px; height: 28px; color: var(--color-bg-dark); }
    
    .amz-search {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
        width: 100%;
        flex: 1;
    }
    
    .amz-nav-right {
        grid-column: 3;
        grid-row: 2;
        width: auto;
        justify-content: flex-end;
        gap: 0;
    }
    .lang-select { padding: 0; }
    
    /* Mobile Sidebar */
    .mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        transition: left var(--transition-smooth);
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    .mobile-sidebar.active { left: 0; }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
    }
    .sidebar-header img { height: 35px; }
    .close-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
    .close-btn i { width: 24px; height: 24px; color: var(--color-bg-dark); }
    
    .sidebar-links {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .sidebar-links a {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--color-bg-dark);
        text-decoration: none;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }
    .sidebar-overlay.active { display: block; }
    
    /* Mobile Bottom Navigation */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        z-index: 998;
        padding: 0.6rem 0;
        justify-content: space-around;
        border-top: 1px solid #eee;
    }
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        color: var(--color-text-light);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .bottom-nav-item i { width: 20px; height: 20px; }
    .bottom-nav-item:hover, .bottom-nav-item:active { color: var(--color-gold); }
    
    /* Other Fixes */
    .split-layout { grid-template-columns: 1fr; }
    .image-wrapper { padding-right: 1rem; padding-bottom: 1rem; }
    
    .hero-bg img {
        object-position: 70% center; /* Shift image to keep doctor's face centered on mobile */
    }
    
    .hero {
        align-items: center;
        padding-left: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
        text-align: center;
        height: auto;
        min-height: 100vh;
    }
    .hero-content { max-width: 100%; z-index: 2; }
    .hero-title { font-size: 2.2rem; text-shadow: 0 2px 4px rgba(255,255,255,0.9); }
    .hero-subtitle { font-size: 1rem; color: #111; font-weight: 500; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .hero-bg .overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.4) 100%);
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
}
