/* ============================================
   NAKLIYAT OZEL RENK TEMASI
   Ana Renk: #1f4e79 (Koyu Mor)
   Vurgu Renk: #ff5f00 (Turuncu)
   ============================================ */

/* ============================================
   MODERN NAVBAR
   ============================================ */

/* Body offset - navbar yuksekligi kadar itmek icin */
body {
    padding-top: 0;
}

/* Navbar sarmalayici */
#navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* ---- TOP BAR ---- */
#top_line {
    background-color: #163a5f !important;
    padding: 6px 0;
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.topbar-item:hover { color: #ff5f00; }

.topbar-slogan {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    font-size: 12px;
}

.topbar-social {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.topbar-social:hover { color: #ff5f00; }

.topbar-wa {
    background: #25d366;
    color: #fff !important;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.topbar-wa:hover { background: #1fb855; color: #fff !important; }

/* ---- ANA NAVBAR ---- */
#main-navbar {
    background: #1f4e79;
    border-bottom: 3px solid #ff5f00;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 20px;
}

/* Logo */
.navbar-logo a { display: flex; align-items: center; }
.navbar-logo .logo-img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Desktop Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.navbar-menu .nav-link:hover,
.navbar-menu li.active .nav-link {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
}

/* Dropdown */
.navbar-menu .has-dropdown:hover .dropdown-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    border-top: 3px solid #ff5f00;
    z-index: 999;
}

.dropdown-nav li a {
    display: block;
    padding: 10px 18px;
    color: #1f4e79 !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.15s;
}

.dropdown-nav li a:hover {
    background: #f5f0e8;
    color: #ff5f00 !important;
    padding-left: 24px;
}

/* CTA Buton */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-teklif {
    background: #ff5f00;
    color: #fff !important;
    text-decoration: none !important;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-teklif:hover {
    background: #e05500;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,95,0,0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s;
}

.hamburger:hover { background: rgba(255,255,255,0.2); }

.hamburger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}

/* Hamburger animasyon */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
    display: none;
    background: #0d2d4a;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 600px;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s;
}

.mobile-menu ul li a:hover {
    color: #ff5f00 !important;
    padding-left: 32px;
}

/* Alt menu mobil */
.mobile-sub {
    background: rgba(0,0,0,0.2);
    display: none;
}

.mobile-sub.open { display: block; }

.mobile-sub li a {
    padding-left: 38px !important;
    font-size: 14px !important;
    color: rgba(255,255,255,0.7) !important;
}

.mobile-has-sub .mobile-parent-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-teklif-link {
    background: #ff5f00 !important;
    color: #fff !important;
    margin: 8px 16px 0 !important;
    border-radius: 6px !important;
    text-align: center;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-bottom: none !important;
}

.mobile-teklif-link:hover {
    background: #e05500 !important;
    padding-left: 24px !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .hamburger { display: flex; }
    .mobile-menu { display: block; }
    .navbar-menu { display: none; }
    .btn-teklif { display: none; }
    .topbar-left { gap: 10px; }
}

@media (max-width: 576px) {
    .topbar-right .topbar-social:not(.topbar-wa) { display: none; }
    .navbar-logo .logo-img { height: 36px; }
    .navbar-inner { height: 58px; }
}

/* Eski header elementi artik kullanilmiyor */
header { display: none; }

.main-menu ul li a:hover,
.main-menu ul li.active a {
    color: #ff5f00 !important;
}

/* ---- BUTTONS ---- */
.btn_1,
a.btn_1 {
    background-color: #ff5f00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn_1:hover,
a.btn_1:hover {
    background-color: #e05500 !important;
    color: #fff !important;
}

/* ---- GET QUOTE BANNER ---- */
#get_quote.green,
#get_quote {
    background-color: #1f4e79 !important;
}

.btn_quote,
a.btn_quote {
    background-color: #ff5f00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
}

a.btn_quote:hover {
    background-color: #e05500 !important;
}

/* ---- FEATURE BOXES ---- */
.box_feat h3 {
    color: #1f4e79;
}

/* ---- LINKS ---- */
a.link_normal {
    color: #ff5f00 !important;
}

a.link_normal:hover {
    color: #e05500 !important;
}

a {
    color: #1f4e79;
}

a:hover {
    color: #ff5f00;
}

/* ---- FOOTER ---- */
footer {
    background-color: #1f4e79 !important;
}

footer h3 {
    color: #ff5f00 !important;
}

footer a:hover {
    color: #ff5f00 !important;
}

#social_footer ul li a:hover {
    background-color: #ff5f00 !important;
}

#copy {
    background-color: #163a5f !important;
}

/* ---- SUB HEADER ---- */
.sub_header,
#sub_content_header {
    background-color: #1f4e79 !important;
}

/* ---- BREADCRUMB ---- */
#position {
    background-color: #f5f0e8 !important;
    border-bottom: 2px solid #ff5f00;
}

#position a {
    color: #1f4e79;
}

/* ---- SIDEBAR ---- */
.box_style_1 h4,
.box_style_1 h3 {
    color: #1f4e79;
}

#cat_nav li a:hover,
#cat_nav li a.active {
    color: #ff5f00 !important;
}

.box_style_2 {
    background-color: #1f4e79 !important;
    color: #fff !important;
}

.box_style_2 h4 {
    color: #fff !important;
}

.box_style_3 {
    background-color: #ff5f00 !important;
}

/* ---- BLOG ---- */
.post h2 a {
    color: #1f4e79;
}

.post h2 a:hover {
    color: #ff5f00;
}

.post_info .post-left ul li a {
    color: #ff5f00;
}

.pagination > li > a:hover,
.pagination > .active > a {
    background-color: #1f4e79 !important;
    border-color: #1f4e79 !important;
    color: #fff;
}

/* ---- FAQ ACCORDION ---- */
.panel-heading a {
    color: #1f4e79 !important;
}

.panel-heading a:hover {
    color: #ff5f00 !important;
}

/* ---- FORM ELEMENTS ---- */
.form-control:focus {
    border-color: #ff5f00;
    box-shadow: 0 0 0 0.2rem rgba(255,95,0,0.25);
}

/* ---- TESTIMONIALS ---- */
.block-quote {
    border-left: 4px solid #ff5f00;
}

.block-quote h4 {
    color: #1f4e79;
}

/* ---- BG CONTENT VIDEO ---- */
.bg_content {
    background-color: #1f4e79 !important;
}

/* ---- LABELS / BADGES ---- */
.label-default {
    background-color: #1f4e79;
}

/* ---- CAROUSEL ---- */
.owl-slide .btn_1 {
    background-color: #ff5f00 !important;
}

/* ---- TABLES ---- */
.table > thead > tr > th {
    background-color: #1f4e79;
    color: #fff;
}

/* ---- BACK TO TOP ---- */
#toTop {
    background-color: #ff5f00 !important;
}

#toTop:hover {
    background-color: #1f4e79 !important;
}

/* ---- LIST STYLES ---- */
.list_ok li:before {
    color: #ff5f00 !important;
}

.list_2 li:before {
    color: #ff5f00 !important;
}

/* ---- PRELOADER ---- */
.sk-spinner-wave .sk-rect {
    background-color: #1f4e79 !important;
}

/* ---- GENERAL ---- */
h1, h2, h3 {
    color: #1f4e79;
}

::selection {
    background: #ff5f00;
    color: #fff;
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 9990;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    color: #fff;
    text-decoration: none;
}

.float-whatsapp {
    background: #25d366;
}

.float-phone {
    background: #1f4e79;
}

/* Pulse ring animation */
.float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: floatPulse 2.5s ease-out infinite;
    opacity: 0;
}

.float-whatsapp::before { background: rgba(37,211,102,0.4); }
.float-phone::before    { background: rgba(31,78,121,0.4); }

@keyframes floatPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* Phone ringing shake */
.float-phone {
    animation: ringing 4s ease-in-out infinite;
}

@keyframes ringing {
    0%, 90%, 100% { transform: rotate(0deg); }
    92%            { transform: rotate(15deg); }
    94%            { transform: rotate(-15deg); }
    96%            { transform: rotate(10deg); }
    98%            { transform: rotate(-5deg); }
}

/* Dark toggle button */
.dark-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    margin-left: 8px;
}

.dark-toggle:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(20deg);
}

/* ============================================
   DARK / NIGHT MODE
   ============================================ */
html.dark-mode {
    --bg-primary:   #0f1923;
    --bg-secondary: #162232;
    --bg-card:      #1e2d3e;
    --text-primary: #e8edf2;
    --text-muted:   #94a3b4;
    --border-color: #2a3f55;
    --link-color:   #5ba3d9;
}

html.dark-mode body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Navbar dark */
html.dark-mode #main-navbar {
    background: #0d1f30 !important;
}

html.dark-mode #top_line {
    background: #071220 !important;
}

html.dark-mode .nav-link,
html.dark-mode .navbar-menu > li > a {
    color: #cce0f5 !important;
}

html.dark-mode .dropdown-nav {
    background: #1a2f44 !important;
    border-color: #2a4a65 !important;
}

html.dark-mode .dropdown-nav a {
    color: #b8d4ec !important;
}

html.dark-mode .dropdown-nav a:hover {
    background: #1f4e79 !important;
    color: #fff !important;
}

html.dark-mode .mobile-menu {
    background: #0d1f30 !important;
}

/* Sections & boxes */
html.dark-mode .post,
html.dark-mode .box_item,
html.dark-mode .feature_item,
html.dark-mode .comment,
html.dark-mode .box_1,
html.dark-mode .white_bg {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

/* Cards & panels */
html.dark-mode .panel,
html.dark-mode .well,
html.dark-mode .thumbnail,
html.dark-mode .list-group-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

/* Text overrides */
html.dark-mode h1, html.dark-mode h2, html.dark-mode h3,
html.dark-mode h4, html.dark-mode h5, html.dark-mode h6 {
    color: #b8d4ec !important;
}

html.dark-mode p, html.dark-mode li, html.dark-mode span {
    color: var(--text-primary);
}

html.dark-mode a:not(.btn):not(.btn_1):not(.float-btn):not(.nav-link):not(.btn-teklif) {
    color: var(--link-color);
}

/* Forms */
html.dark-mode input,
html.dark-mode textarea,
html.dark-mode select,
html.dark-mode .form-control {
    background: #1a2d40 !important;
    border-color: #2a4a65 !important;
    color: var(--text-primary) !important;
}

html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: var(--text-muted) !important;
}

/* Tables */
html.dark-mode .table {
    color: var(--text-primary);
}

html.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #1a2d40;
}

html.dark-mode .table-bordered,
html.dark-mode .table-bordered > thead > tr > th,
html.dark-mode .table-bordered > tbody > tr > td {
    border-color: var(--border-color) !important;
}

/* Footer */
html.dark-mode footer {
    background: #071220 !important;
}

html.dark-mode footer h3 {
    color: #5ba3d9 !important;
}

html.dark-mode footer a,
html.dark-mode footer p,
html.dark-mode footer li,
html.dark-mode #contact_details_footer li {
    color: #94a3b4 !important;
}

html.dark-mode #copy {
    background: #040d14 !important;
    color: #5a7a95 !important;
}

/* Sections with light backgrounds */
html.dark-mode section,
html.dark-mode .container > .row,
html.dark-mode #services,
html.dark-mode #testimonials,
html.dark-mode #why_choose,
html.dark-mode .main_bg,
html.dark-mode .white-section {
    background-color: var(--bg-primary) !important;
}

/* Position breadcrumb */
html.dark-mode #position {
    background: #0d1f30 !important;
}

html.dark-mode #position li a,
html.dark-mode #position li {
    color: #94a3b4 !important;
}

/* Alerts */
html.dark-mode .alert-success {
    background: #0d3322 !important;
    border-color: #1a6640 !important;
    color: #4ade80 !important;
}

html.dark-mode .alert-danger {
    background: #3a0d0d !important;
    border-color: #661a1a !important;
    color: #f87171 !important;
}

/* Sub header section */
html.dark-mode .sub_header {
    filter: brightness(0.75);
}

/* Preloader */
html.dark-mode #preloader {
    background: #0f1923;
}

/* Transition for smooth mode switch */
body, header, footer, section, div, p, h1, h2, h3, h4, h5, h6,
input, textarea, select, .form-control, table, .panel, .post {
    transition: background-color 0.3s ease, color 0.2s ease, border-color 0.2s ease;
}
