:root {
    --primary: #ff3b30;
    --primary-rgb: 255, 59, 48;

    --secondary: #098136;
    --secondary-rgb: 9, 129, 54;

    --third: #01133c;
    --third-rgb: 1, 19, 60;

    --main-bg: #f9f9f9;
    --dark: #1d1d1d;
    --light: #ffffff;

    /* Bootstrap uyumlu renk eşlemeleri */
    --bs-danger: var(--primary);
    --bs-danger-rgb: var(--primary-rgb);

    --bs-success: var(--secondary);
    --bs-success-rgb: var(--secondary-rgb);

    --bs-dark: var(--third);
    --bs-dark-rgb: var(--third-rgb);
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--main-bg);
}

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

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

.btn-danger {
    background-color: var(--primary);
    color: #fff;
}

.btn-success {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-dark {
    background-color: var(--third);
    border-color: var(--third);
    color: #fff;
}

.alert-danger {
    background-color: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.alert-success {
    background-color: rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
    border-color: rgba(var(--secondary-rgb), 0.4);
}

.alert-dark {
    background-color: rgba(var(--third-rgb), 0.2);
    color: var(--third);
    border-color: rgba(var(--third-rgb), 0.4);
}

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

.text-success {
    color: var(--secondary) !important;
}

.text-dark {
    color: var(--third) !important;
}

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

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

.bg-dark {
    background-color: var(--third) !important;
}

.border-danger {
    border-color: var(--primary) !important;
}

.border-success {
    border-color: var(--secondary) !important;
}

.border-dark {
    border-color: var(--third) !important;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--main-bg);
}

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

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

.topbar {
    background:linear-gradient(90deg,rgba(1,20,60) 0%, rgba(1,0,20) 75%) var(--third) no-repeat;);
    color: #fff;
    font-size: 14px;
    padding: 15px 0;
}

.topbar a {
    color: #fff;
    margin-left: 10px;
}

.navbar {
    background-color: #fff;
    transition: all 0.3s ease;
}

.navbar.shrink {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 800;
    color: var(--third);
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    color: #333;
    font-weight: 600;
    margin-right: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--primary);
    background: linear-gradient(90deg, rgba(255, 59, 48, 1) 0%, rgba(255, 59, 48, 1) 50%, rgba(9, 129, 54, 1) 100%);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

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

.nav-logo {
    max-height: 38px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.25));
    transition: all 0.3s ease;
}

.navbar.shrink .nav-logo {
    max-height: 30px;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    top: calc(100% + 3px) !important;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    transform: translateY(10px);
    border-radius: 8px;
    border: none;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: absolute;
}

.navbar .dropdown:hover .dropdown-menu {
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 15px;
    font-weight: 600;
    color: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary);
    color: #fff;
}

.dropdown-item:hover i {
    opacity: 1;
    transform: scale(1.2);
    margin-right: 6px;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    white-space: nowrap;
    max-width: 52px;
}

.whatsapp-button i {
    font-size: 24px;
}

.whatsapp-button .text {
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-button:hover {
    max-width: 200px;
    padding-right: 20px;
}

.whatsapp-button:hover .text {
    opacity: 1;
    width: auto;
}

.footer-link,.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover,.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.testimonial {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
}

.testimonial h6 {
    font-weight: bold;
    margin-top: 15px;
    color: var(--primary);
}

.contact-section {
    background-color: #fff;
    padding: 60px 0;
}

.contact-section iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}

.contact-form .form-control {
    border-radius: 10px;
    box-shadow: none;
}
footer {
    position: relative;
    background:linear-gradient(130deg,rgba(1,20,60) 0%, rgba(1,0,20) 85%) var(--third) no-repeat;);
}

.watermark-banner {
    position: relative;
    background: linear-gradient(90deg, rgba(255,59,48,1) 0%, rgba(220,53,69,1) 75%);
    margin-top: -40px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    overflow: hidden;
    z-index: 1000;
}

.watermark-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../im/bonsai.png') no-repeat left center;
    background-size: auto 75%;
    background-position-x: 1rem;
    opacity: 0.15; /* burası fligran etkisi verir */
    pointer-events: none;
    z-index: 0;
    filter: grayscale(100%) brightness(250%) contrast(200%);
}

.watermark-banner > * {
    position: relative;
    z-index: 1;
}

.footerrow {
    position: relative;
}

.footerrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../im/bonsai.png') no-repeat right bottom;
    background-size: auto 90%;
    opacity: 0.5; /* burası fligran etkisi verir */
    pointer-events: none;
    z-index: 0;
    filter: opacity(0.5) grayscale(100%) invert(1);
}

.heroSwiper {
    height: 100vh;
    position: relative;
    z-index: 0;
}

.heroSwiper .swiper-slide::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 59, 48, 1) 0%, rgba(255, 59, 48, 1) 50%, rgba(9, 129, 54, 1) 100%);
}
.heroSwiper .swiper-slide::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 59, 48, 1) 0%, rgba(255, 59, 48, 1) 50%, rgba(9, 129, 54, 1) 75%);
}
.heroSwiper .swiper-slide {
    position: relative;
}
.hero-overlay {
    background: linear-gradient(to right, rgba(255,59,48,0.4), rgba(9, 129, 54, 0.4));
}
.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@keyframes slideInLeft {
    from {opacity: 0; transform: translateX(-50px);}
    to {opacity: 1; transform: translateX(0);}
}

@keyframes slideInRight {
    from {opacity: 0; transform: translateX(50px);}
    to {opacity: 1; transform: translateX(0);}
}

.hero-overlay .container {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.swiper-slide-active .hero-overlay.align-left .container {
    animation: slideInLeft 1s ease forwards;
}

.swiper-slide-active .hero-overlay.align-right .container {
    animation: slideInRight 1s ease forwards;
}

.hero-overlay .container h1, .hero-overlay .container p {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));
}

#booking-tabs > li > a.active {
    color: white !important;
}

.car-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.car-card-body {
    padding: 16px;
}
.car-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}
.car-card .features {
    font-size: 14px;
    color: #555;
}
.car-card .price {
    font-weight: 600;
    color: var(--primary);
}

#booking-tabs li a.active {
    background: linear-gradient(90deg,rgba(1,20,60) 0%, rgba(1,0,20) 75%) var(--third) no-repeat;);
}

.rezcon {
    border: none;
    background: linear-gradient(90deg, rgba(255, 59, 48, 0.1) 25%, rgba(255, 59, 48, 0.35) 50%, rgba(9, 129, 54, 0.1) 75%);
    background-size: 100% 3px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}

.ft-social a {
    background: rgba(255,255,255,0.075);
    padding: 5px;
    border-radius: 5px;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.5s;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.15));
}

.ft-social a:hover {
    background: rgba(255,59,48,0.75);
    padding: 5px;
    border-radius: 5px;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    filter: drop-shadow(0 0 2px rgba(128, 0, 0, 0.75));
    transform: scale(1.05);
}

.tp-social {
    display: flex;
}

.tp-social a {
    text-decoration: none;
    background: transparent;
    border-radius: 5px;
    min-width: 24px;
    min-height: 24px;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tp-social a:hover {
    background: rgba(255,255,255,1);
    border-radius: 5px;
    color: var(--third);
    transform: scale(1.1);
}

.tp-info a {
    text-decoration: none;
    transition: ease-in-out 0.5s;
}

.tp-info a:hover {
    text-decoration: none;
    color: var(--primary);
}
.tp-info a:hover .fa {
    text-decoration: none;
    color: var(--light) !important;
}

.sc1x3 {
    transition: ease-in-out 0.25s;
    text-decoration: none;
}
.sc1x3:hover {
    transform: scale(1.01);
}