/* ==========================================================================
   SOLO CLINIC TEMPLATE DESIGN SYSTEM
   Emerald & Onyx Aesthetic | Glassmorphism | Premium Dynamic Animations
   ========================================================================== */

:root {
    /* DEFAULT THEME: Emerald (Green) */
    --primary: #059669;       /* Medical/Surgical Green */
    --primary-dark: #047857;  /* Darker Emerald */
    --secondary: #ecfdf5;     /* Very Light Mint Green for sections */
    
    --bg-color: #ffffff;      /* Crisp Pure White */
    --surface: #ffffff;       /* Pure White for cards/sections */
    --surface-alt: #fcfdfc;   /* Soft off-white for contrast */
    
    --text-main: #0a0a0a;     /* Deep Onyx Black */
    --text-light: #555555;    /* Crisp Dark Grey */
    --text-inverse: #ffffff;  /* White text on dark bg */
    
    --border-color: #e0e0e0;  /* Light grey border */
    --border-dark: #1b4332;   /* Green border for accents */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(10, 10, 10, 0.08);
    --hover-elevation: 0 15px 35px rgba(5, 150, 105, 0.15);
}

/* Floating Agency Return Button */
.agency-return-strip {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111111;
    color: #EDE8DD;
    padding: 8px 16px;
    border-radius: 50px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.agency-return-strip:hover {
    transform: translateY(-2px);
    background: #D94332;
    color: #FFFFFF;
}

/* --- THEME PRESETS --- */
body[data-theme="sapphire"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #eff6ff;
    --hover-elevation: 0 15px 35px rgba(37, 99, 235, 0.15);
}

body[data-theme="amethyst"] {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #f5f3ff;
    --hover-elevation: 0 15px 35px rgba(124, 58, 237, 0.15);
}

body[data-theme="crimson"] {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --secondary: #fef2f2;
    --hover-elevation: 0 15px 35px rgba(220, 38, 38, 0.15);
}

body[data-theme="gold"] {
    --primary: #d97706;
    --primary-dark: #b45309;
    --secondary: #fffbeb;
    --hover-elevation: 0 15px 35px rgba(217, 119, 6, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--surface-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--hover-elevation);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #1da851;
    color: #ffffff;
    border-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 0.95rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.text-gradient {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.2rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* --- HERO SECTION --- */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 80% 20%, var(--secondary) 0%, #ffffff 70%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--secondary);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
}

.card-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- ABOUT SECTION & 2x2 GRID --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.grid-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.experience-badge {
    background: var(--primary);
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.experience-badge h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.glass-list-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.glass-list-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.glass-list-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.glass-list-item p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- SERVICES & TREATMENTS GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--hover-elevation);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.glass-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- APPOINTMENT FORM --- */
.appointment-container {
    max-width: 700px;
}

.appointment-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* --- FOOTER --- */
.footer {
    background: #0a0a0a;
    color: #ffffff;
    padding: 5rem 0 2rem;
}

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

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.footer-brand p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 0.9rem;
}

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

.footer-contact p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #777777;
    font-size: 0.85rem;
}

/* --- RESPONSIVE MOBILE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(140% at 100% 0);
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    background: #25d366;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-whatsapp-widget:hover {
    background: #1da851;
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 1.2rem;
}
