/* StayPay Blog Dark Theme Override
   Applied to all blog articles to match the new luxury dark design.
   Overrides old Bootstrap light theme styles. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Great+Vibes&display=swap');

:root {
    --primary: #006d77 !important;
    --primary-light: #83c5be !important;
    --secondary: rgba(200,181,155,0.15) !important;
    --accent: #C8B59B !important;
    --text-dark: #f0ede8 !important;
    --bg-light: #1A293E !important;
}

body {
    font-family: 'DM Sans', sans-serif !important;
    color: #f0ede8 !important;
    line-height: 1.8;
    background: #0f1a2b !important;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif !important;
}

/* Navbar */
.navbar {
    background: rgba(15, 26, 43, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(200,181,155,0.08);
}
.navbar-brand {
    font-family: 'Cormorant Garamond', serif !important;
    color: #f0ede8 !important;
}
.nav-link-custom {
    color: #8a9ab5 !important;
}
.nav-link-custom:hover {
    color: #C8B59B !important;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #1A293E !important;
    border-bottom: 1px solid rgba(200,181,155,0.08);
}
.breadcrumb a {
    color: #83c5be !important;
}
.breadcrumb a:hover {
    color: #C8B59B !important;
}
.breadcrumb-item.active {
    color: #8a9ab5 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #8a9ab5 !important;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #1A293E 0%, #006d77 100%) !important;
}
.article-header h1 {
    color: #f0ede8 !important;
}
.article-header p {
    color: #8a9ab5 !important;
}

/* Article Content */
.article-content {
    background: #0f1a2b !important;
}
.article-content h2 {
    color: #C8B59B !important;
    border-bottom: 1px solid rgba(200,181,155,0.08);
    padding-bottom: 10px;
}
.article-content h3, .article-content h4, .article-content h5 {
    color: #d8cbb5 !important;
}
.article-content p, .article-content li {
    color: #8a9ab5 !important;
}
.article-content a {
    color: #83c5be !important;
}
.article-content a:hover {
    color: #C8B59B !important;
}
.article-content strong {
    color: #f0ede8 !important;
}
.lead {
    color: #f0ede8 !important;
}

/* Tables */
.comparison-table th,
table thead th {
    background: #243650 !important;
    color: #C8B59B !important;
    border-color: rgba(200,181,155,0.1) !important;
}
.comparison-table td,
table tbody td {
    color: #8a9ab5 !important;
    border-color: rgba(200,181,155,0.08) !important;
    background: transparent !important;
}
.comparison-table tr:nth-child(even),
table tbody tr:nth-child(even) {
    background: rgba(26, 41, 62, 0.5) !important;
}

/* Highlight boxes */
.highlight-box {
    background: #1A293E !important;
    border-left: 4px solid #C8B59B !important;
    border-radius: 0 12px 12px 0;
}
.highlight-box h5 {
    color: #C8B59B !important;
}
.highlight-box p, .highlight-box li {
    color: #8a9ab5 !important;
}

/* Info boxes */
.info-box {
    background: rgba(0, 109, 119, 0.1) !important;
    border-left: 4px solid #006d77 !important;
}
.info-box h5 {
    color: #83c5be !important;
}
.info-box p {
    color: #8a9ab5 !important;
}

/* Source boxes */
.source-box {
    background: #1A293E !important;
    border: 1px solid rgba(200,181,155,0.1) !important;
    border-radius: 12px;
}
.source-box h5 {
    color: #C8B59B !important;
}
.source-box a {
    color: #83c5be !important;
}
.source-box a:hover {
    color: #C8B59B !important;
}

/* Related articles */
.border-top {
    border-color: rgba(200,181,155,0.08) !important;
}

/* Footer */
footer {
    background: #1A293E !important;
    border-top: 1px solid rgba(200,181,155,0.08);
}
footer a {
    color: #C8B59B !important;
}
footer a:hover {
    color: #83c5be !important;
}
.designer-signature {
    font-family: 'Great Vibes', cursive !important;
    color: rgba(255,255,255,0.7) !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0f1a2b; }
::-webkit-scrollbar-thumb { background: #006d77; border-radius: 5px; }

/* Bootstrap overrides */
.container { max-width: 1200px; }
.col-lg-9 { max-width: 100%; flex: 0 0 100%; }
