/*
Theme Name: Advanced Interventional Pain Center
Theme URI: https://inter-pain.com
Author: AIPC
Description: Custom WordPress theme for Advanced Interventional Pain Center with exact content from inter-pain.com. Non-narcotic interventional pain treatment, LILA technology, disc herniation resolution without surgery, high success rates.
Version: 1.1
License: GPL
Text Domain: aipc
*/

/* Modern professional medical theme styling */
:root {
    --primary: #0c4a6e;
    --primary-light: #0369a1;
    --accent: #14b8a6;
    --text: #1e293b;
    --text-light: #475569;
    --bg: #f8fafc;
    --white: #ffffff;
}

* { box-sizing: border-box; }
body { 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    line-height: 1.6; 
    color: var(--text); 
    background: var(--bg); 
    margin: 0; 
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header & Navigation */
header { 
    background: var(--primary); 
    color: white; 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 1rem; 
    margin-bottom: 0.75rem; 
}
.site-title { font-size: 1.35rem; font-weight: 700; margin: 0; }
.site-tagline { font-size: 0.85rem; opacity: 0.9; margin: 0; }
.header-contact a { color: white; text-decoration: none; font-weight: 500; }
.header-contact a:hover { text-decoration: underline; }

nav { margin-top: 0.5rem; }
nav ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.5rem 1.25rem; 
}
nav li { margin: 0; }
nav a { 
    color: white; 
    text-decoration: none; 
    font-weight: 500; 
    padding: 0.4rem 0.6rem; 
    border-radius: 4px; 
    display: inline-block; 
}
nav a:hover { background: rgba(255,255,255,0.15); }

/* Hero */
.hero { 
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%); 
    color: white; 
    padding: 4.5rem 0 4rem; 
    text-align: center; 
}
.hero h1 { font-size: 2.5rem; margin: 0 0 0.75rem; line-height: 1.2; }
.hero h2 { font-size: 1.5rem; font-weight: 400; margin: 0 0 1.5rem; opacity: 0.95; }
.hero p { font-size: 1.1rem; margin: 0 0 1.75rem; }

/* Sections & Cards */
.section { padding: 3.5rem 0; }
.card { 
    background: white; 
    border-radius: 12px; 
    padding: 1.75rem; 
    margin-bottom: 1.75rem; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05); 
    border: 1px solid #e2e8f0; 
}
.card h2 { margin-top: 0; color: var(--primary); }
.card h3 { color: var(--primary-light); }

/* Buttons */
.btn { 
    display: inline-block; 
    background: var(--primary-light); 
    color: white; 
    padding: 0.85rem 1.75rem; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: background 0.2s, transform 0.1s; 
}
.btn:hover { background: #075985; transform: translateY(-1px); }

/* Footer */
footer { 
    background: #0f172a; 
    color: #94a3b8; 
    padding: 2.5rem 0; 
    margin-top: 3rem; 
    font-size: 0.9rem; 
}
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: white; }
.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 1.5rem; 
}
footer strong { color: white; display: block; margin-bottom: 0.5rem; }

.disclaimer { 
    background: #fef3c7; 
    border: 1px solid #fcd34d; 
    padding: 1rem 1.25rem; 
    border-radius: 8px; 
    margin: 1.5rem 0; 
    font-size: 0.85rem; 
    color: #78350f; 
}

/* Responsive fixes to prevent overlapping menus */
@media (max-width: 768px) {
    .header-top { flex-direction: column; align-items: flex-start; }
    nav ul { flex-direction: column; gap: 0.25rem; }
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.25rem; }
}
