/* ================================================
   ARTICLE PAGE STYLES - salvadorgiris.com
   Shared CSS for all article/rehber pages
   Last updated: 2026-02-25
   ================================================ */

:root {
    --background: 2, 32, 29;
    --primary: 34, 197, 94;
    --foreground: 255, 255, 255;
    --muted: 148, 163, 184;
    --card-bg: 255, 255, 255;
}

body {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    background-color: #02201D;
    background-color: rgb(var(--background));
    color: rgb(var(--foreground));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-2 { gap: 0.5rem; }
.flex-wrap { flex-wrap: wrap; }

/* === NAV CSS === */
.main-nav { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(10,15,26,0.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid rgba(255,255,255,0.08); height:64px; }
.nav-container { max-width:1280px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:100%; }
.nav-logo img { height:40px; width:auto; }
.nav-menu { display:flex; align-items:center; gap:4px; list-style:none; margin:0; padding:0; }
.nav-menu > li > a { color:rgba(255,255,255,0.7); text-decoration:none; font-size:14px; font-weight:500; padding:8px 12px; border-radius:8px; transition:color 150ms ease, background 150ms ease; }
.nav-menu > li > a:hover { color:#fff; background:rgba(255,255,255,0.05); }
.nav-menu > li > a.nav-active { color:#22c55e; }
.nav-dropdown { position:relative; }
.nav-dropdown-trigger { background:none; border:none; color:rgba(255,255,255,0.7); font-family:inherit; font-size:14px; font-weight:500; cursor:pointer; display:flex; align-items:center; gap:6px; padding:8px 12px; border-radius:8px; transition:color 150ms ease, background 150ms ease; }
.nav-dropdown-trigger:hover, .nav-dropdown-trigger[aria-expanded="true"] { color:#fff; background:rgba(255,255,255,0.05); }
.nav-dropdown-trigger.nav-active { color:#22c55e; }
.dropdown-arrow { transition:transform 200ms ease; }
.nav-dropdown-trigger[aria-expanded="true"] .dropdown-arrow { transform:rotate(180deg); }
.nav-dropdown-menu { position:absolute; top:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(-4px); min-width:220px; background:#111827; border:1px solid rgba(255,255,255,0.08); border-radius:12px; padding:6px; box-shadow:0 20px 60px rgba(0,0,0,0.5); opacity:0; visibility:hidden; pointer-events:none; transition:opacity 200ms ease, transform 200ms ease, visibility 200ms ease; z-index:100; }
.nav-dropdown.active .nav-dropdown-menu { opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.nav-dropdown-menu::before { content:''; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg); width:12px; height:12px; background:#111827; border-top:1px solid rgba(255,255,255,0.08); border-left:1px solid rgba(255,255,255,0.08); }
.nav-dropdown-menu a { display:block; padding:10px 14px; color:rgba(255,255,255,0.7); text-decoration:none; font-size:14px; border-radius:8px; border-left:2px solid transparent; transition:all 150ms ease; }
.nav-dropdown-menu a:hover { color:#fff; background:rgba(34,197,94,0.08); border-left-color:#22c55e; padding-left:18px; }
.nav-cta { display:inline-flex; align-items:center; gap:6px; padding:10px 20px; background:#22c55e; color:#000; font-size:14px; font-weight:700; text-decoration:none; border-radius:10px; transition:all 150ms ease; letter-spacing:0.3px; }
.nav-cta:hover { background:#16a34a; transform:translateY(-1px); box-shadow:0 4px 20px rgba(34,197,94,0.3); }
.nav-hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; z-index:1001; }
.nav-hamburger span { display:block; width:24px; height:2px; background:#fff; border-radius:2px; transition:all 200ms ease; }
.nav-hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.nav-hamburger.active span:nth-child(2) { opacity:0; }
.nav-hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }
.mobile-nav-overlay { position:fixed; top:64px; left:0; right:0; bottom:0; background:#0a0f1a; z-index:999; overflow-y:auto; padding:24px; transform:translateX(100%); transition:transform 300ms cubic-bezier(0.16,1,0.3,1); }
.mobile-nav-overlay.open { transform:translateX(0); }
.mobile-nav-overlay .mobile-link { display:block; color:rgba(255,255,255,0.7); text-decoration:none; font-size:16px; font-weight:500; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.08); transition:color 150ms ease; }
.mobile-nav-overlay .mobile-link:hover { color:#fff; }
.mobile-nav-overlay .mobile-link.nav-active { color:#22c55e; }
.mobile-nav-overlay .mobile-dropdown-trigger { display:flex; align-items:center; justify-content:space-between; width:100%; color:rgba(255,255,255,0.7); background:none; border:none; font-family:inherit; font-size:16px; font-weight:500; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.08); cursor:pointer; transition:color 150ms ease; }
.mobile-nav-overlay .mobile-dropdown-trigger:hover { color:#fff; }
.mobile-nav-overlay .mobile-dropdown-trigger.nav-active { color:#22c55e; }
.mobile-nav-overlay .mobile-dropdown-menu { max-height:0; overflow:hidden; transition:max-height 300ms cubic-bezier(0.16,1,0.3,1); }
.mobile-nav-overlay .mobile-dropdown.open .mobile-dropdown-menu { max-height:300px; }
.mobile-nav-overlay .mobile-dropdown.open .dropdown-arrow { transform:rotate(180deg); }
.mobile-nav-overlay .mobile-dropdown-menu a { display:block; color:rgba(255,255,255,0.7); text-decoration:none; font-size:15px; padding:12px 0 12px 20px; border-left:2px solid rgba(255,255,255,0.08); transition:all 150ms ease; }
.mobile-nav-overlay .mobile-dropdown-menu a:hover { color:#22c55e; border-left-color:#22c55e; }
.mobile-nav-cta { display:block; text-align:center; margin-top:24px; padding:14px 24px; background:#22c55e; color:#000; font-size:16px; font-weight:700; text-decoration:none; border-radius:12px; }
.mobile-nav-cta:hover { background:#16a34a; }
.nav-spacer { height:64px; }
@media (max-width:1024px) { .nav-menu { display:none; } .nav-cta { display:none; } .nav-hamburger { display:flex; } }

/* === LAYOUT === */
.grid { display: grid; }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

.btn-primary {
    background-color: rgb(var(--primary));
    color: #000;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px 0 rgba(var(--primary), 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary), 0.23);
    filter: brightness(1.1);
}

/* === ARTICLE HEADER === */
.article-header {
    min-height: 400px;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(2, 32, 29, 0.85)), url('og-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(var(--primary), 0.15);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.article-category {
    display: inline-block;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgb(var(--primary));
    border: 1px solid rgba(var(--primary), 0.5);
    padding: 0.4rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 16px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.5);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === CONTENT WRAPPER === */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    align-items: start;
}

.article-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    color: rgb(var(--primary));
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid rgb(var(--primary));
    padding-left: 1rem;
}

.article-content h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-content strong { color: #fff; font-weight: 700; }

.article-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.article-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-content li::before {
    content: "\2022";
    color: rgb(var(--primary));
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.article-content blockquote {
    background: rgba(var(--primary), 0.05);
    border-left: 4px solid rgb(var(--primary));
    margin: 2rem 0;
    padding: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* === TACTIC CARDS === */
.tactic-card {
    background: linear-gradient(135deg, rgba(var(--primary), 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(var(--primary), 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tactic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--primary)), rgba(var(--primary), 0.5));
}

.tactic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--primary), 0.2);
    border-color: rgba(var(--primary), 0.5);
}

.tactic-card h3 {
    margin-top: 0;
    color: rgb(var(--primary));
    font-size: 1.3rem;
}

.tactic-card p { margin-bottom: 0.75rem; }

.tactic-badge {
    display: inline-block;
    background: rgb(var(--primary));
    color: #000;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* === TIP CARDS === */
.tip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: rgb(var(--primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.tip-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary), 0.5);
    transform: translateX(4px);
}

.tip-card:hover::before { opacity: 1; }
.tip-card p { margin-bottom: 0; }
.tip-card b { color: rgb(var(--primary)); font-size: 1.1rem; }

/* === SIDEBAR === */
.sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
    display: block;
}

.widget {
    background: rgba(2, 32, 29, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* === PROMO CARDS === */
.promo-card {
    display: block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: rgb(var(--primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.promo-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary), 0.5);
    transform: translateX(4px);
}

.promo-card:hover::before { opacity: 1; }

.promo-title {
    font-weight: 600;
    color: rgb(var(--foreground));
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.promo-desc {
    font-size: 0.8rem;
    color: rgb(var(--muted));
    line-height: 1.4;
}

/* === COMPARISON TABLE === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.comparison-table th {
    background: rgba(var(--primary), 0.15);
    color: rgb(var(--primary));
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table td {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* === FOOTER === */
footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    * { box-sizing: border-box; }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .sidebar {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }

    .article-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    header .btn-primary {
        width: auto !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    .article-header {
        min-height: 250px;
        padding: 3rem 1rem;
    }

    .article-content { padding: 1.5rem; }

    .article-content .btn-primary,
    .widget .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .comparison-table { font-size: 0.85rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.5rem 0.75rem; }
}
