/* ============================================================================
   HighThreatMedic - Professional Tactical Medical Website
   Design Philosophy: Professional, authoritative, minimalist
   Color Scheme: Deep navy/charcoal with strategic accent colors
   Typography: Merriweather (serif) for headings, Inter (sans-serif) for body
   ============================================================================ */

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a252f;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.3px;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.2px;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.75;
}

a {
    color: #d32f2f;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* ============================================================================
   NAVIGATION BAR
   ============================================================================ */

.navbar {
    background-color: #1a252f;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-family: 'Merriweather', serif;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #b0bec5;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    border-bottom-color: #d32f2f;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    background: linear-gradient(135deg, #1a252f 0%, #263238 100%);
    color: #ffffff;
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 3px solid #d32f2f;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: 'Merriweather', serif;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #b0bec5;
    font-weight: 400;
    line-height: 1.6;
}

/* ============================================================================
   MAIN CONTAINER & ARTICLE
   ============================================================================ */

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

.article {
    background-color: #ffffff;
}

.article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #eceff1;
}

.article-title {
    font-size: 2.5rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    color: #78909c;
    font-size: 0.95rem;
    font-weight: 500;
}

.article-content {
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #37474f;
}

.article-content p:first-letter {
    font-weight: 600;
}

.article-link {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #d32f2f;
    transition: all 0.3s ease;
}

.article-link:hover {
    color: #b71c1c;
    border-bottom-color: #b71c1c;
    background-color: rgba(211, 47, 47, 0.05);
}

/* ============================================================================
   SECTION STYLING
   ============================================================================ */

.section-title {
    font-size: 1.75rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #1a252f;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #eceff1;
}

.subsection-title {
    font-size: 1.25rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #263238;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* ============================================================================
   CONTACT & FAQ SECTIONS
   ============================================================================ */

.contact-section {
    background-color: #f5f5f5;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #d32f2f;
    border-radius: 4px;
}

.contact-info {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a252f;
    margin-top: 0.5rem;
}

.faq-item {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #d32f2f;
}

.faq-question {
    font-size: 1.1rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #1a252f;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #37474f;
    margin-bottom: 0;
}

/* ============================================================================
   LISTS
   ============================================================================ */

.privacy-list {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1.5rem;
}

.privacy-list li {
    margin-bottom: 0.75rem;
    color: #37474f;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background-color: #1a252f;
    color: #b0bec5;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid #d32f2f;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b0bec5;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .brand-title {
        font-size: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .main-container {
        padding: 2rem 1rem;
    }

    .article-content p {
        text-align: left;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .subsection-title {
        font-size: 1.1rem;
    }

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

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .navbar-menu {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
    }

    .hero {
        padding: 3rem 1rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .main-container {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    .subsection-title {
        font-size: 1rem;
    }

    .contact-section {
        padding: 1rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .footer-content p {
        font-size: 0.85rem;
    }
}

/* ============================================================================
   UTILITY CLASSES & ANIMATIONS
   ============================================================================ */

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* Smooth transitions for interactive elements */
button, a, input, textarea, select {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .navbar, .footer {
        display: none;
    }

    body {
        background-color: #ffffff;
        color: #000000;
    }

    a {
        color: #000000;
    }

    .article {
        max-width: 100%;
    }
}
