/* ================== ROOT ================== */

:root {
    --dark-main: #0f1115;
    --dark-blue: #0d1b2a;
    --primary: #0d6efd;
    --light-bg: #f8f9fa;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
}

/* ================== GLOBAL ================== */

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
}

/* layout wrapper */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* sekce */
.section {
    padding: 80px 0;
}

/* ================== HEADER ================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* TOP BAR */
.top-bar {
    background: linear-gradient(180deg, var(--dark-blue), var(--dark-main));
    color: #cfd8e3;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, var(--dark-main), var(--dark-blue));
    border: none;
}

/* CONTAINER šířka (bez rozbití Bootstrapu) */
.navbar .container,
.top-bar .container {
    max-width: 1200px;
}

/* LOGO */
.navbar-brand img {
    height: 36px;
}

/* MENU */
.navbar-nav .nav-link {
    color: #e5e7eb;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

/* ACTIVE */
.navbar-nav .nav-link.active {
    color: #fff;
}

/* DROPDOWN */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

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

.hero-section {
    position: relative;
    width: 100%;
    padding: 90px 0 90px;

    background: url('/images/hero.png') center/cover no-repeat;
    overflow: hidden;
}

/* overlay */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        110deg,
        rgba(13, 27, 42, 0.95) 0%,
        rgba(13, 27, 42, 0.85) 40%,
        rgba(13, 27, 42, 0.4) 70%,
        rgba(13, 27, 42, 0.1) 100%
    );
}

/* glow */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 25% 50%,
        rgba(59,130,246,0.25),
        transparent 60%
    );
}

/* CONTENT (zarovnání jako header) */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* LAYOUT */
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* TEXT */
.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 20px;

    text-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 500;
}

.hero-buttons .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 12px 26px;
    border-radius: 10px;
}

.hero-buttons .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* VISUAL (SVG ilustrace) */
.hero-visual {
    flex-shrink: 0;
}

.hero-visual img {
    max-width: 500px;
    opacity: 0.95;
    filter: drop-shadow(0 0 35px rgba(59,130,246,0.25));
}

/* jemná animace */
.hero-visual {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-visual img {
        max-width: 280px;
    }

    .hero-buttons {
        justify-content: center;
    }
}
/* ================== SERVICES ================== */

.services {
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: .25s;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* ================== PORTFOLIO ================== */

.portfolio {
    background: var(--light-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
}

/* ================== ARTICLES ================== */

.articles {
    background: #ffffff;
}

.article-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: .25s;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* ================== CONTACT ================== */

.contact {
    background: var(--light-bg);
}

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

.footer {
    background: var(--dark-main);
    color: #9ca3af;
    padding: 40px 0;
}

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

.footer a:hover {
    color: var(--primary);
}