/* --------------------------------------------------
   THEME VARIABLES
-------------------------------------------------- */

:root {
    --bg: #f8fafc;
    --text: #1a1a1a;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --section-light: #f1f5f9;
    --nav-bg: #ffffff;
    --nav-border: #e2e8f0;
    --footer-bg: #ffffff;
    --footer-border: #e2e8f0;
    --accent: #0d6efd;
    /* BRAND RED — DARKER */
    --brand-red: #dd2020; /* deep dark red */
    --brand-red-glow: none; /* no glow in light mode */
}

[data-theme="dark"] {
    --bg: #0f1115;
    --text: #e5e7eb;
    --card-bg: #1a1d23;
    --card-border: #2a2f38;
    --section-light: #16181d;
    --nav-bg: #111318;
    --nav-border: #1f242d;
    --footer-bg: #111318;
    --footer-border: #1f242d;
    --accent: #60a5fa;
    /* DARK MODE RED + GLOW — DARKER */
    --brand-red: #dd2020; /* bright enough to glow, still dark red */
    --brand-red-glow: 0 0 8px #dd2020, 0 0 14px #dd2020;
}


/* --------------------------------------------------
   Sticky Footer Layout
-------------------------------------------------- */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    color: var(--text);
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* --------------------------------------------------
   Typography & Layout
-------------------------------------------------- */

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

p {
    font-weight: 300;
    color: var(--text);
}

.section,
.section-light,
.hero {
    padding: 80px 0;
}

.section-light {
    background-color: var(--section-light);
}

/* --------------------------------------------------
   Navbar
-------------------------------------------------- */

.navbar {
    padding: 1rem 0;
    background-color: var(--nav-bg) !important;
    border-bottom: 1px solid var(--nav-border);
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text) !important;
}

.nav-link {
    font-weight: 400;
    padding: 0.5rem 1rem;
    color: var(--text) !important;
    transition: color 0.2s ease;
}

    .nav-link:hover {
        color: var(--accent) !important;
    }

/* Dropdown */
.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    font-weight: 400;
    color: var(--text);
}

    .dropdown-item:hover {
        background-color: var(--section-light);
    }

/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
    background-color: var(--nav-bg);
    text-align: center;
}

    .hero h1 {
        font-size: 2.8rem;
        font-weight: 600;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto;
    }

/* --------------------------------------------------
   Feature Cards
-------------------------------------------------- */

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.25s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.btn-primary {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    background-color: var(--accent);
    border-color: var(--accent);
}

    .btn-primary:hover {
        opacity: 0.9;
    }

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.footer {
    padding: 30px 0;
    background-color: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    margin: 0 6px;
    transition: color 0.2s ease;
}

    .footer-links a:hover {
        color: var(--accent);
    }

.footer-links .divider {
    color: var(--text);
    opacity: 0.4;
}

/* --------------------------------------------------
   Theme Toggle Button
-------------------------------------------------- */

.theme-toggle-btn {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    color: var(--text);
    transition: background 0.2s ease, color 0.2s ease;
}

    .theme-toggle-btn:hover {
        background-color: var(--section-light);
    }

/* --------------------------------------------------
   Back to Top Button
-------------------------------------------------- */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, background 0.25s ease;
    z-index: 999;
}

    .back-to-top:hover {
        background-color: var(--section-light);
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

/* --------------------------------------------------
   Container Width
-------------------------------------------------- */

.container {
    max-width: 1100px;
}

/* Equal height cards */
.feature-row {
    display: flex;
    gap: 24px;
}

.feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* --------------------------------------------------
   SKUTARV LOGO
-------------------------------------------------- */

.skutarv-logo {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.skutarv-logo .v-red {
    color: var(--brand-red);
    font-weight: 900;
    font-size: 52px;
    line-height: 0;
    text-shadow: var(--brand-red-glow);
}

.skutarv-logo .a-dot {
    position: absolute;
    left: 116px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--brand-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: var(--brand-red-glow);
}

