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

/* Custom Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: #374151;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility Classes */
.min-h-screen { min-height: 100vh; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-purple-200 { background-color: #e9d5ff; }
.bg-purple-600 { color: #9333ea; }
.bg-purple-900 { background-color: #581c87; }
.bg-indigo-100 { background-color: #e0e7ff; }
.bg-indigo-200 { background-color: #c7d2fe; }
.bg-white { background-color: #ffffff; }

.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-900 { color: #0f172a; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7c3aed; }
.text-purple-900 { color: #581c87; }
.text-indigo-700 { color: #4338ca; }
.text-white { color: #ffffff; }

/* Navigation */
nav {
    background-color: #581c87;
    color: #f1f5f9;
    padding: 1rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

nav .text-2xl {
    font-size: 1.5rem;
    font-weight: 700;
}

nav .hidden {
    display: none;
}

nav .space-x-8 > * + * {
    margin-left: 2rem;
}

nav a {
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #cbd5e1;
}

@media (min-width: 768px) {
    nav .hidden {
        display: flex;
    }
}

/* Background Gradients with Images */
.bg-gradient-to-r {
    background-image:
        linear-gradient(135deg, rgba(88, 28, 135, 0.85) 0%, rgba(124, 58, 237, 0.85) 50%, rgba(99, 102, 241, 0.85) 100%),
        url('https://ugc.same-assets.com/8dM6lPkPv1BolxkWQp93Q2aQxl2kBYJb.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-main {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.bg-gradient-about {
    background-image:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(243, 232, 255, 0.95) 20%, rgba(233, 213, 255, 0.95) 60%, rgba(241, 245, 249, 0.95) 100%),
        url('https://ugc.same-assets.com/HUAZxfWHRUjQqrqQPS61jilFiOVvzow1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-services {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 30%, rgba(243, 232, 255, 0.92) 70%, rgba(255, 255, 255, 0.92) 100%),
        url('https://ugc.same-assets.com/BSbQXxJXg593RgGR4nuVcHrusHBXMbvR.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-therapists {
    background-image:
        linear-gradient(135deg, rgba(241, 245, 249, 0.93) 0%, rgba(233, 213, 255, 0.93) 25%, rgba(243, 232, 255, 0.93) 75%, rgba(248, 250, 252, 0.93) 100%),
        url('https://ugc.same-assets.com/ChP1RPVAtdkvODUOdOz6uxrWlP1lz5Jm.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-reviews {
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 255, 0.94) 40%, rgba(233, 213, 255, 0.94) 80%, rgba(243, 232, 255, 0.94) 100%),
        url('https://ugc.same-assets.com/Nqua0gm7_NODizwJoaXlZFwQzjnLM8-1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-contact {
    background-image:
        linear-gradient(135deg, rgba(88, 28, 135, 0.88) 0%, rgba(107, 33, 168, 0.88) 25%, rgba(124, 58, 237, 0.88) 50%, rgba(139, 92, 246, 0.88) 75%, rgba(88, 28, 135, 0.88) 100%),
        url('https://ugc.same-assets.com/UxLbWYrnilMkNyCmWDqle2ZnDFEUmn4G.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg-gradient-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 60%, #1e293b 100%);
}

/* Text Enhancement for Background Images */
.text-enhanced {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 1rem 0;
}

/* Card Gradients */
.card-gradient {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 254, 254, 0.95) 50%, rgba(249, 249, 249, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
}

.card-gradient:hover {
    background: linear-gradient(135deg, #ffffff 0%, #faf7ff 50%, #f3e8ff 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Service Card Gradients */
.service-card-gradient {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(250, 247, 255, 0.92) 100%);
    border: 1px solid rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(8px);
}

.service-card-gradient:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 247, 255, 0.95) 50%, rgba(243, 232, 255, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(12px);
}

.py-20 { padding: 4rem 0; }
.py-16 { padding: 4rem 0; }
.py-8 { padding: 2rem 0; }
.py-4 { padding: 1rem 0; }

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

.text-6xl { font-size: 3.75rem; }
.text-4xl { font-size: 2.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }

@media (min-width: 768px) {
    .md\\:text-8xl { font-size: 6rem; }
    .md\\:text-3xl { font-size: 1.875rem; }
}

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.tracking-wide { letter-spacing: 0.025em; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
    text-decoration: none;
}

/* Phone link styling */
a[href^="tel:"] {
    text-decoration: none;
    color: inherit;
}

.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.p-3 { padding: 0.75rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Grid Layouts */
.grid { display: grid; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 768px) {
    .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* Flexbox */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Sizing */
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }

/* Spacing */
.space-y-4 > * + * { margin-top: 1rem; }

/* Transitions and Animations */
.transition-colors { transition: color 0.3s ease; }
.transition-all { transition: all 0.3s ease; }

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.15), 0 10px 10px -5px rgba(139, 92, 246, 0.1);
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Border */
.border { border-width: 1px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }

/* Typography Utilities */
.italic { font-style: italic; }
.text-sm { font-size: 0.875rem; }

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #581c87, #7c3aed);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7c3aed, #a855f7);
}

/* Enhanced Therapist Cards with Large Photos */
.therapist-with-photo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 247, 255, 0.95) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 320px;
}

.therapist-with-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
}

.therapist-photo {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #7c3aed;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.therapist-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #581c87;
    margin-bottom: 0.5rem;
    text-align: center;
}

.therapist-hours {
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

/* Monday Special Layout with Side-by-Side Photos */
.monday-therapists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.monday-card {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(243, 232, 255, 0.95) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    min-height: 350px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }

    .text-4xl {
        font-size: 2rem;
    }

    nav .space-x-8 {
        display: none;
    }

    /* Optimize background images for mobile */
    .bg-gradient-to-r,
    .bg-gradient-about,
    .bg-gradient-services,
    .bg-gradient-therapists,
    .bg-gradient-reviews,
    .bg-gradient-contact {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    /* Mobile optimization for therapist cards */
    .monday-therapists {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .therapist-photo {
        width: 100%;
        height: 200px;
    }

    .monday-card {
        min-height: 320px;
        padding: 1.2rem;
    }
}
