/* =============================================================================
   LatviaTravel.lv — Common Stylesheet (Shared)
   Body, navbar, footer, breadcrumbs, cookies, banners, admin, responsive.
   ============================================================================= */

:root {
    --travel-primary: #0d6efd;
    --travel-light: #e8f4fd;
    --travel-accent: #198754;
    --business-primary: #0d6efd;
    --business-light: #f0f4f8;
    --business-accent: #6c757d;
}

/* ─── General ───────────────────────────────────────── */
body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ─── Banner Zones ──────────────────────────────────── */
.banner-zone {
    margin: 1.5rem 0;
}

.banner-item {
    display: block;
}

.banner-item img {
    width: 100%;
    border-radius: 4px;
}

.banner-sidebar .banner-item img {
    margin-bottom: 0.5rem;
}

/* ─── Breadcrumb ────────────────────────────────────── */
.breadcrumb {
    background: none;
    padding: 0;
}

/* ─── Cookie Modal ──────────────────────────────────── */
.cookie-categories .form-check {
    font-size: 0.9rem;
}

/* ─── Hero Section ──────────────────────────────────── */
.hero-section {
}

/* ─── Footer ────────────────────────────────────────── */
footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem;
    }
    .display-4 {
        font-size: 1.5rem;
    }
    .hero-detail {
        min-height: 220px;
    }
    .hero-detail img {
        height: 220px;
    }
}

/* ─── CSS Gradient Image Placeholders ─────────────────── */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.img-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.08;
    background:
        radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, #fff 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, #fff 2px, transparent 2px),
        radial-gradient(circle at 60% 80%, #fff 2px, transparent 2px),
        radial-gradient(circle at 75% 25%, #fff 1px, transparent 1px),
        radial-gradient(circle at 25% 65%, #fff 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 90px 90px, 110px 110px, 70px 70px;
}
.img-placeholder::after {
    content: attr(data-icon);
    font-size: 3rem;
    opacity: 0.25;
}
.img-placeholder-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 50%, #d63384 100%);
}
.img-placeholder-travel {
    background: linear-gradient(135deg, #059669 0%, #0d6efd 50%, #06b6d4 100%);
}
.img-placeholder-business {
    background: linear-gradient(135deg, #1e3a5f 0%, #3b82f6 50%, #6366f1 100%);
}
.img-placeholder-logo {
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border-radius: 6px;
    padding: 4px 16px;
    display: inline-flex;
    align-items: center;
}

/* ─── Tabler Admin Overrides ────────────────────────── */
.admin-header {
    background: #1d3557;
    color: #fff;
}

.admin-sidebar {
    background: #2c3e50;
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    background: #f5f7fb;
    min-height: 100vh;
}