@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #15be5c;
    --primary-hover: #119e4d;
    --secondary-color: #0a1c3d;
    --accent-color: #d4f0df;
    --body-text: #6b7280;
    --heading-text: #0a1c3d;
    --white: #ffffff;
    --light-gray: #f9f9f9;
    --border-color: #e5e7eb
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--body-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

main {
    flex: 1
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-text);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

img {
    height: auto;
    max-width: 100%;
    /* Display intrinsic dimensions to prevent CLS */
    display: inline-block;
    vertical-align: middle;
}

.aspect-ratio-default {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.aspect-ratio-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

a {
    text-decoration: none;
    transition: all .3s ease
}

a:hover {
    color: var(--primary-color)
}

.text-primary {
    color: var(--primary-color) !important
}

.dropdown-item {
    color: #333 !important
}

.bg-primary {
    background-color: var(--primary-color) !important
}

.bg-secondary {
    background-color: var(--secondary-color) !important
}

.bg-light-green {
    background-color: var(--accent-color) !important
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    transition: all .3s ease
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

/* Page Sections */
.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header Styles */
.header {
    width: 100%;
    z-index: 1050;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 125px;
    width: auto;
    aspect-ratio: 153 / 125;
}

/* Reference Slider Styles */
.references-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #f1f3f5;
}

.reference-item {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: #fff;
    transition: all 0.3s ease;
}

.reference-logo {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.reference-item:hover .reference-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.nav-link {
    color: #333;
    font-weight: 600;
    padding: 10px 15px !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Category Slider fixes */
.category-item {
    text-align: center;
    margin-bottom: 30px;
}

.category-img-wrapper {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-weight: 700;
    color: var(--heading-text);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 28, 61, 0.8) 0%, rgba(10, 28, 61, 0.4) 100%);
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    line-height: 1.2;
}

.hero-desc {
    opacity: 0.9;
    max-width: 600px;
}

.hero-content {
    z-index: 2;
}

/* Header Inner & Breadcrumb Fixes */
.header-inner {
    background-color: var(--secondary-color) !important;
    position: relative !important;
    top: 0 !important;
    min-height: 80px; /* Reserve space for subpage headers */
}

.header.header-inner .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.header.header-inner .nav-link:hover,
.header.header-inner .nav-link.active {
    color: var(--primary-color) !important;
}

/* Nav Hover & Dropdown Styles */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav .dropdown>.dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 0;
}

/* Mega Menu Restoration */
.megamenu {
    width: 100%;
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    padding: 0;
    margin: 0 !important;
    border-radius: 0 0 8px 8px;
    /* Alt köşeleri yumuşat */
    /* Remove any transform hacks that cause horizontal scroll/shifts */
    transform: none !important;
}

.has-megamenu {
    position: static !important;
}

/* --- VISUAL MEGA MENU CARD STYLE --- */
.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
}

.mega-menu-card {
    display: block;
    text-decoration: none !important;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
}

.mega-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.mega-menu-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-bottom: none;
    transition: transform 0.3s ease;
}

.mega-menu-card:hover .mega-menu-card-img {
    transform: scale(1.05);
    /* Soft zoom effect inside container */
}

/* Image wrapper specifically to hide overflow for the transform scale */
.mega-menu-card-img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    border-bottom: none;
    aspect-ratio: 16 / 9;
    background-color: #f1f3f5; /* Placeholder bg */
}

.mega-menu-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mega-menu-card-title {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-text) !important;
    margin: 0 !important;
    border-bottom: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-menu-card:hover .mega-menu-card-title {
    color: var(--primary-color) !important;
}

/* News & Service Cards Restoration */
.news-card,
.service-card {
    transition: all 0.3s ease;
}

.news-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.sidebar a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    transition: all .2s
}

.sidebar a.active,
.sidebar a:hover {
    background-color: #334155;
    color: #fff
}

.sidebar .brand {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 15px;
    border-bottom: 1px solid #334155;
    margin-bottom: 10px
}

.main-content {
    background-color: #f8fafc;
    min-height: 100vh
}

.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 20px
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none
}

.dd-list .dd-list {
    padding-left: 30px
}

.dd-collapsed .dd-list {
    display: none
}

.dd-empty,
.dd-item,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    line-height: 20px
}

.dd-handle {
    display: block;
    margin: 5px 0;
    padding: 10px 10px 10px 40px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 3px;
    box-sizing: border-box;
    cursor: move
}

.dd-handle:hover {
    color: #2ea8e5;
    background: #fff
}

.dd-empty,
.dd-placeholder {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999
}

.dd-dragel>.dd-item .dd-handle {
    margin-top: 0
}

.dd-handle {
    height: auto;
    min-height: 42px;
    line-height: 22px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-weight: 600;
    color: #333;
    transition: all .2s;
    position: relative;
    z-index: 1
}

.dd-handle:hover {
    background: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .1);
    color: #0d6efd
}

.dd-item>button {
    display: block;
    position: absolute;
    left: 6px;
    top: 6px;
    width: 30px;
    height: 30px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: #f1f3f5;
    border-radius: 50%;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    font-weight: 700;
    color: #495057;
    z-index: 100;
    cursor: pointer;
    transition: all .2s ease;
    pointer-events: auto
}

.dd-item>button:hover {
    background: #0d6efd;
    color: #fff;
    transform: scale(1.1)
}

.dd-item>button:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 30px;
    text-align: center;
    text-indent: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f067"
}

.dd-item>button[data-action=collapse]:before {
    content: "\f068"
}

.mega-badge {
    background: #0d6efd;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
    position: relative;
    top: -1px
}

.item-actions {
    position: absolute;
    top: 6px;
    right: 10px;
    height: 30px;
    z-index: 5
}

.btn-delete-item,
.btn-edit-item {
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 28px;
    text-align: center;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #6c757d;
    border-radius: 4px;
    transition: all .2s
}

.btn-edit-item:hover {
    background: #e9ecef;
    color: #000
}

.btn-delete-item:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545
}

.dashboard-card {
    transition: transform .2s, box-shadow .2s;
    border-radius: 10px;
    overflow: hidden
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .05) !important
}

.icon-circle {
    height: 3rem;
    width: 3rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem
}

.bg-primary-light {
    background-color: rgba(78, 115, 223, .1)
}

.bg-success-light {
    background-color: rgba(28, 200, 138, .1)
}

.bg-info-light {
    background-color: rgba(54, 185, 204, .1)
}

.bg-warning-light {
    background-color: rgba(246, 194, 62, .1)
}

.bg-danger-light {
    background-color: rgba(231, 74, 59, .1)
}

.text-primary {
    color: #4e73df !important
}

.text-success {
    color: #1cc88a !important
}

.text-info {
    color: #36b9cc !important
}

.text-warning {
    color: #f6c23e !important
}

.text-danger {
    color: #e74a3b !important
}

.btn-xs {
    padding: .2rem .5rem;
    font-size: .75rem;
    border-radius: 4px
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: .8rem;
    font-weight: 700
}

.pulse-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #1cc88a;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(28, 200, 138, .4);
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        transform: scale(.95);
        box-shadow: 0 0 0 0 rgba(28, 200, 138, .7)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(28, 200, 138, 0)
    }

    100% {
        transform: scale(.95);
        box-shadow: 0 0 0 0 rgba(28, 200, 138, 0)
    }
}

.chart-area,
.chart-pie {
    position: relative;
    width: 100%;
}

#whatsapp-widget {
    z-index: 9999;
}

.venue-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.venue-card:hover .venue-img img {
    transform: scale(1.1)
}

.venue-content {
    padding: 20px
}

.venue-rating {
    background: #feab00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: 15px;
    left: 15px
}

.footer {
    background-color: var(--secondary-color);
    color: #f3f4f6;
    padding: 80px 0 20px;
    position: relative
}

.footer h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.25rem
}

.footer-links ul {
    list-style: none;
    padding: 0
}

.footer-links li {
    margin-bottom: 12px
}

.footer-links a {
    color: #f3f4f6;
    font-size: 15px
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    font-size: 14px
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(21, 190, 92, 0.3);
}

@media (max-width:991px) {
    .hero-title {
        font-size: 2.5rem
    }

    .header {
        background-color: #0a1c3d
    }
}

.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 1060;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    min-height: 41px; /* Stable height */
}

.top-bar a {
    color: rgba(255, 255, 255, .8);
    transition: all .3s ease
}

.top-bar a:hover {
    color: var(--primary-color)
}

/* --- HEADER SYSTEM --- */
.header {
    width: 100%;
    z-index: 1050;
    transition: all 0.3s ease;
    left: 0;
}

@media (min-width: 992px) {

    /* Home Header (Transparent & Absolute) */
    .header:not(.header-inner) {
        position: absolute;
        top: 41px;
        min-height: 125px; /* Navbar height reserve */
    }

    /* Inner Page Header (Solid & Relative) */
    .header.header-inner {
        position: relative;
        background-color: var(--secondary-color);
        padding: 10px 0;
    }
}

.header.scrolled {
    position: fixed !important;
    top: 0 !important;
    background-color: rgba(10, 28, 61, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Nav Links Color Hierarchy */
.nav-link {
    color: #ffffff !important;
    /* Pure white for visibility */
    font-weight: 600;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Mega Menu Content Restoration */
.megamenu h6 {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.megamenu .dropdown-item {
    font-weight: 500;
    padding: 8px 0 !important;
    border-bottom: 1px solid #f1f1f1;
}

.megamenu .dropdown-item:last-child {
    border-bottom: none;
}

.megamenu .dropdown-item:hover {
    background: transparent !important;
    color: var(--primary-color) !important;
    padding-left: 5px !important;
}

/* When header is transparent but background is light (Safety) */
.header-light .nav-link {
    color: #333 !important;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--secondary-color);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 28, 61, 0.8) 0%, rgba(10, 28, 61, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- DROPDOWNS & MEGAMENU --- */
@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown>.dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

.megamenu {
    width: 100%;
    padding: 30px;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 0 15px 15px !important;
}

.has-megamenu {
    position: static !important;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    transition: all .3s;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color)
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
    border-color: var(--primary-color)
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.product-card:hover .product-img img {
    transform: scale(1.1)
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2
}

.product-content {
    padding: 20px
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700
}

.product-title a {
    color: var(--heading-text)
}

.product-title a:hover {
    color: var(--primary-color)
}

.product-meta {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 15px
}

.product-gallery-thumb {
    cursor: pointer;
    opacity: .6;
    transition: all .3s;
    border: 2px solid transparent
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color)
}

.whatsapp-btn-lg {
    background-color: #25D366;
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all .3s
}

.whatsapp-btn-lg:hover {
    background-color: #128C7E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, .3)
}

.bg-page-header {
    background-color: #f3f4f6;
    padding: 60px 0;
    margin-bottom: 40px
}

.masonry-grid {
    column-count: 1;
    column-gap: 1.5rem
}

@media (min-width:576px) {
    .masonry-grid {
        column-count: 2
    }
}

@media (min-width:992px) {
    .masonry-grid {
        column-count: 4
    }
}

.projectsSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.project-slide-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
    transition: all .3s ease;
    width: 310px;
    height: 310px;
}

.project-slide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}

.project-img-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.project-overlay-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    padding: 15px;
    color: #fff;
    opacity: 0;
    transition: all .3s ease;
    transform: translateY(10px);
}

.project-slide-item:hover .project-overlay-v2 {
    opacity: 1;
    transform: translateY(0);
}

.ref-info-box {
    background-color: #f3f4f6;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, .05)
}

.ref-info-box p {
    font-weight: 700;
    color: #374151;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.5
}

.ref-info-box.dark {
    background-color: #e5e7eb
}

.ref-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, .9), transparent);
    padding: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
    transform: translateY(10px)
}

.masonry-item:hover .ref-overlay {
    opacity: 1;
    transform: translateY(0)
}

.ref-overlay h5 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600
}

/* Basketbol Sahasi Styles */
:root {
    --basket-green: #67a929;
    /* Match screenshot green */
    --basket-blue: #007bc4;
    /* Match screenshot button blue */
    --basket-dark: #2a333d;
    /* Dark background */
}

/* Hero Section */
.basket-hero {
    background-color: var(--basket-dark);
    background-image: linear-gradient(135deg, rgba(42, 51, 61, 0.25) 0%, rgba(20, 30, 40, 0.25) 100%), url('../img/basketbol-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.basket-hero h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.basket-hero h1 span {
    color: var(--basket-green);
}

.basket-hero ul {
    list-style: none;
    padding-left: 0;
}

.basket-hero ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.basket-hero ul li::before {
    content: '•';
    color: var(--basket-green);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Quote Form Styling */
.quote-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-header {
    background-color: transparent;
    color: #fff;
    padding: 1.5rem;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-body {
    background-color: #fff;
    padding: 2rem;
}

.quote-body .form-control,
.quote-body .form-select {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.quote-btn {
    background-color: var(--basket-blue);
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    transition: background 0.3s;
}

.quote-btn:hover {
    background-color: #005f99;
    color: #fff;
}

/* Content Sections (Offset Images) */
.offset-image-container {
    position: relative;
    display: block;
    margin: 20px 25px 35px 25px;
    width: calc(100% - 50px);
}

.offset-bg {
    position: absolute;
    background-color: var(--secondary-color);
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 43, 91, 0.3);
    transition: all 0.3s ease;
}

/* Modifiers for direction */
.offset-bg-br {
    /* Bottom Right */
    bottom: -20px;
    right: -20px;
}

.offset-bg-bl {
    /* Bottom Left */
    bottom: -20px;
    left: -20px;
}

.offset-bg-tr {
    /* Top Right */
    top: -20px;
    right: -20px;
}

.offset-bg-tl {
    /* Top Left */
    top: -20px;
    left: -20px;
}

.offset-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.content-section {
    padding: 5rem 0;
}

.content-section h2 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content-section p,
.content-section ul {
    color: #555;
    line-height: 1.8;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.content-section ul li::before {
    content: '•';
    color: var(--basket-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.bg-light-gray {
    background-color: #fcfcfc;
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.info-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.info-card .card-overlay-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #fff;
    font-weight: bold;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.info-card .card-overlay-btn {
    position: absolute;
    top: 50px;
    left: 20px;
    color: #fff;
    font-size: 0.8rem;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

/* Cross Section Material Images */
.material-item {
    text-align: center;
    margin-bottom: 2rem;
}

.material-item img {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1rem;
}


/* =========================================
   3rd Level Submenu (Flyout)
   ========================================= */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 0;
    border-radius: 0.5rem;
    display: none;
    min-width: 200px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.dropdown-submenu:hover>a {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

/* =========================================
   CKEditor General Content Fixes
   ========================================= */
.content img {
    max-width: 100%;
    height: auto !important;
}

/* CKEditor Figure / Float Alignment Fixes */
.content figure.image {
    display: table;
    text-align: center;
    margin: 1rem auto;
}

.content figure.image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-width: 50px;
}

.content figure.image.image-style-align-left {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    clear: none;
}

.content figure.image.image-style-align-right {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    clear: none;
}

.content figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    word-break: break-word;
    color: #6c757d;
    background-color: #f8f9fa;
    padding: 0.6rem;
    font-size: 0.875rem;
    text-align: center;
}

/* Standard inline image floats for CKEditor 4 style */
.content img[style*="float: right"],
.content img[style*="float:right"] {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content img[style*="float: left"],
.content img[style*="float:left"] {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

/* Clearfix for overflowing floats in content */
.content::after {
    content: "";
    clear: both;
    display: table;
}