/*
Theme Name: Dr. Samer Khalife
Theme URI: https://khalifeclinics.com
Author: Custom Build
Author URI: https://khalifeclinics.com
Description: A pixel-accurate, fully editable WordPress theme recreating the Dr. Samer Khalife gastroenterology practice website — home page, Privacy Policy, and Terms of Service — built with Tailwind CSS. Contact details, social links, and the doctor's photo are editable from Appearance → Customize. Privacy Policy and Terms of Service pages are fully editable through the normal WordPress page editor.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-samer-khalife
Tags: one-page, medical, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   Base overrides / small additions that Tailwind (loaded via CDN in
   functions.php) does not need to duplicate. Keep this file tiny — nearly
   all visual styling lives in Tailwind utility classes inside the templates,
   exactly as it did in the original static HTML files.
   ========================================================================== */

/* Modern scrollbar (desktop, WebKit) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fff;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-minimal {
    background-color: #0f172a;
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?ixlib=rb-4.0.3&auto=format&fit=crop&w=2091&q=80');
    background-size: cover;
    background-position: center;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Legal page typography
   The Privacy Policy & Terms of Service pages use the normal WordPress
   editor (the_content), so admins can edit the text without touching code.
   Because editor output is plain HTML (h2, p, ul, a …) rather than
   Tailwind-classed markup, we re-create the exact original look for those
   tags here, scoped to .legal-content.
   ========================================================================== */
.legal-content {
    color: #475569; /* slate-600 */
}
.legal-content > * + * {
    margin-top: 2rem;
}
.legal-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #0f172a; /* slate-900 */
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
    .legal-content h2 { font-size: 1.5rem; }
}
.legal-content p {
    line-height: 1.75;
}
/* The very first paragraph (the intro/lede, before the first numbered
   section) is styled larger and lighter, matching the original design. */
.legal-content > p:first-of-type {
    font-weight: 300;
    color: #64748b; /* slate-500 */
    margin-bottom: 2.5rem;
}
.legal-content ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
.legal-content ul li {
    margin-top: 0.5rem;
}
.legal-content ul li:first-child {
    margin-top: 0;
}
.legal-content a {
    color: #0284c7; /* medical-600 */
    font-weight: 500;
    text-decoration: underline;
}
.legal-content a:hover {
    color: #0369a1; /* medical-700 */
}
.legal-content .legal-contact-card {
    margin-top: 0.75rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 1.25rem 1.5rem;
    font-size: 0.9375rem;
}
