/* ============================================================
   SEO CSS Framework with Color Variables — Customizable Theme
   ============================================================ */

/* -----------------------
   COLOR VARIABLES (THEME)
   ----------------------- */
:root {
    --primary: #3949ab;
    --primary-dark: #2f3b8d;
    --text-dark: #333;
    --text-light: #fff;
    --border: #ddd;
    --background: #f7f7f7;
}

/* -----------------------
   RESET + BASE TYPOGRAPHY
   ----------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

/* -----------------------
   UTILITIES
   ----------------------- */
.container {
    width: 92%;
    max-width: 1180px;
    margin: auto;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold { font-weight: bold; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}


/* -----------------------
   CARDS / LIST ITEMS
   ----------------------- */
.card {
    background: #fff;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: 0.25s ease;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 10px;
}

.card h3 a {
    text-decoration: none;
    color: var(--primary);
}

.card h3 a:hover {
    text-decoration: underline;
}

/* -----------------------
   DETAILS PAGE
   ----------------------- */
.detail-box {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.detail-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

/* -----------------------
   TABLES
   ----------------------- */
.table-box {
    margin-top: 20px;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.table th, .table td {
    padding: 10px;
    border: 1px solid var(--border);
}

.table th {
    background: var(--primary);
    color: var(--text-light);
}

/* -----------------------
   BUTTONS
   ----------------------- */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* -----------------------
   SLIDER
   ----------------------- */
.slider {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

/* -----------------------
   FOOTER
   ----------------------- */
footer {
    margin-top: 40px;
    padding: 20px;
    background: #333;
    text-align: center;
    color: var(--text-light);
}

footer a {
    color: #ffeb3b;
    text-decoration: none;
}

/* -----------------------
   RESPONSIVE IMPROVEMENTS
   ----------------------- */
@media (max-width: 600px) {
    .detail-title {
        font-size: 22px;
    }
    .card {
        padding: 14px;
    }
    .navbar {
        padding: 10px;
    }
}
