/* Modern Color Palette */
:root {
    --primary-color: #dc3545;
    /* Brand Red */
    --secondary-color: #c82333;
    --accent-color: #e3f2fd;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-primary) !important;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Banner & Header Styles --- */
.banner-container {
    width: 100%;
    height: 55px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 999;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 15px;
}

.banner-button {
    background-color: #ffc107;
    color: #212529;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.banner-button:hover {
    background-color: #e0a800;
    transform: translateY(-1.5px);
}

.top-bar {
    background: #f8f9fa;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    padding: 6px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.top-bar-inner-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

.top-bar .right {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
}

.top-bar .right a {
    color: #dc3545;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.top-bar .right a i {
    margin-right: 6px;
    font-size: 14px;
}

header.main-navbar {
    width: 100%;
    z-index: 999;
    transition: all 0.4s ease;
    padding: 0.5rem 0;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

header.main-navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-brand img {
    max-height: 50px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- Slider & Hero Styles --- */
.slider-overlay-wrapper {
    position: relative;
    height: 650px;
    overflow: hidden;
    z-index: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: white;
    width: 90%;
    max-width: 900px;
    padding: 0 15px;
    text-align: center;
}

.slider-text h1,
.slider-text h2 {
    font-weight: 800;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    color: #fff !important;
}

.slider-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 35px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    color: #fff;
}

.slider-servis-wrapper {
    position: relative;
    z-index: 5;
}

/* Mobile Menu Toggle - Hidden by default (Desktop) */
.mobile-menu-toggle-btn {
    display: none;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
    transition: background 0.2s ease;
    color: #333;
    padding: 0;
}

.mobile-menu-toggle-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
}

/* Mobile Sidebar & Overlay - Hidden by default */
.mobile-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: -270px;
    width: 270px;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    padding: 25px 20px;
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
    display: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Links */
.mobile-sidebar a {
    display: block;
    padding: 12px 10px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.mobile-sidebar a:hover {
    background: #f5f5f5;
}

.mobile-sidebar .close-btn {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    background: none;
    border: none;
    padding: 0;
    align-self: flex-start;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .slider-servis-wrapper {
        margin-top: -100px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }

    .mobile-menu-toggle-btn {
        display: block;
    }

    .mobile-sidebar {
        display: flex;
    }

    .mobile-overlay {
        display: block;
    }
}

@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
        text-align: center;
        min-height: 70px;
    }

    .banner-inner {
        flex-direction: column;
        gap: 8px;
    }

    .banner-button {
        width: 100%;
        border-radius: 12px;
        justify-content: center;
    }

    .top-bar {
        display: none;
    }

    .slider-overlay-wrapper {
        height: 480px;
    }

    .slider-text h1,
    .slider-text h2 {
        font-size: 1.8rem !important;
    }

    .slider-servis-wrapper {
        margin-top: 30px !important;
    }
}