/* Custom CSS for salcano B2B Rental System */

/* Custom Variables */
:root {
    --salcano-primary: #ed1c24;
    --salcano-primary-rgb: 239, 142, 24;
}

/* Sticky Navbar Background */
.navbar-sticky.is-stuck .navbar,
.navbar-sticky.is-stuck.navbar,
.navbar-sticky.navbar-stuck .navbar,
.navbar-sticky.navbar-stuck.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Font Styles */
.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--salcano-primary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--salcano-primary) !important;
    font-weight: 600;
}

.dropdown-menu {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
}

.dropdown-item {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(239, 142, 24, 0.1);
    color: var(--salcano-primary);
}

/* Button Styles */
.btn-primary {
    background-color: var(--salcano-primary) !important;
    border-color: var(--salcano-primary) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: #e08515 !important;
    border-color: #e08515 !important;
}

.btn-outline-primary {
    color: var(--salcano-primary);
    border-color: var(--salcano-primary);
}

.btn-outline-primary:hover {
    background-color: var(--salcano-primary);
    border-color: var(--salcano-primary);
}

/* Text and Background Colors */
.text-primary {
    color: var(--salcano-primary) !important;
}

.bg-primary {
    background-color: var(--salcano-primary) !important;
}

/* Logo Styles */
.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--salcano-primary) 0%, #f19019 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Home Section with Background Image */
.home-hero {
    background-image: url('../img/bg-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


.home-hero .container {
    position: relative;
    z-index: 1;
}

/* Home Slider Styles */
.home-slider {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.home-slider .swiper-slide {
    opacity: 0;
}

.home-slider .swiper-slide-active {
    opacity: 1;
}

.min-vh-50 {
    min-height: 500px;
}

/* Home Slide Content Animation - Initial state - Sadece fade-in */
.home-slide-content {
    opacity: 0;
}

.home-slide-content h1 {
    opacity: 0;
}

.home-slide-content p {
    opacity: 0;
}

.home-slide-content .btn {
    opacity: 0;
}

/* Home Slide Image Animation - Bisiklet yukardan aşağı - Initial state */
.home-slide-image {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-50px);
}

.home-slide-image img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(-150px) scale(0.85);
}

/* Active slide animations - Sadece fade-in */
.home-slider .swiper-slide-active .home-slide-content {
    animation: fadeIn 0.8s ease-out forwards;
}

.home-slider .swiper-slide-active .home-slide-content h1 {
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.home-slider .swiper-slide-active .home-slide-content p {
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.home-slider .swiper-slide-active .home-slide-content .btn {
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.home-slider .swiper-slide-active .home-slide-image {
    animation: slideDown 1s ease-out 0.3s forwards;
}

.home-slider .swiper-slide-active .home-slide-image img {
    animation: slideDownImage 1.2s ease-out 0.3s forwards;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownImage {
    from {
        opacity: 0;
        transform: translateY(-150px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Slider Navigation Buttons */
.home-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.home-slider-prev,
.home-slider-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    color: var(--salcano-primary);
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.home-slider-prev:hover,
.home-slider-next:hover {
    background: var(--salcano-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.home-slider-prev {
    left: 20px;
}

.home-slider-next {
    right: 20px;
}

/* Slider Pagination */
.home-slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.home-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.home-slider-pagination .swiper-pagination-bullet-active {
    background: var(--salcano-primary);
    width: 30px;
    border-radius: 6px;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .home-slider {
        min-height: 400px;
    }
    
    .min-vh-50 {
        min-height: 400px;
    }
    
    .home-slider-prev,
    .home-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .home-slider-prev {
        left: 10px;
    }
    
    .home-slider-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .home-slider {
        min-height: 350px;
    }
    
    .min-vh-50 {
        min-height: 350px;
    }
    
    .home-slide-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .home-slider-prev,
    .home-slider-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .home-slider-pagination {
        bottom: 20px;
    }
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--salcano-primary);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--salcano-primary);
    background: linear-gradient(135deg, rgba(241, 144, 25, 0.1) 0%, rgba(241, 144, 25, 0.05) 100%);
}

/* Font Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Animations */
.animate-scale {
    transition: transform 0.2s ease;
}

.animate-scale:hover {
    transform: scale(1.05);
}

.animate-target {
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Form Styles */
.form-control:focus {
    border-color: var(--salcano-primary);
    box-shadow: 0 0 0 0.2rem rgba(241, 144, 25, 0.25);
}

/* Footer Logo */
footer .navbar-brand img {
    height: 30px;
    width: auto;
}

/* Features Section Background */
#stats-section {
    background-image: url('../img/ara-resim.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(237 28 36 / 79%);
    z-index: 0;
}

#features .container {
    position: relative;
    z-index: 1;
}

/* Social Media Icons */
.social-icons a {
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--salcano-primary) !important;
}

/* Stats Section Animations */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.counter {
    transition: all 0.3s ease;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Newsletter Form */
.newsletter-form .form-control:focus {
    border-color: var(--salcano-primary);
    box-shadow: 0 0 0 0.2rem rgba(241, 144, 25, 0.25);
}

/* Back to Top Button */
#backToTop {
    transition: all 0.3s ease;
    border: none;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

#backToTop.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Product Cards Enhanced Hover */
#products .card {
    transition: all 0.3s ease;
    overflow: hidden;
}

#products .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

#products .card img {
    transition: transform 0.5s ease;
}

#products .card:hover img {
    transform: scale(1.1);
}

/* Feature Cards Enhanced */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.feature-card i {
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Contact Cards Hover */
#contact .card {
    transition: all 0.3s ease;
}

#contact .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

#contact .card i {
    transition: transform 0.3s ease;
}

#contact .card:hover i {
    transform: scale(1.2);
}

/* Dealers & Services Section */
.dealer-card {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.dealer-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.dealer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.dealer-item {
    transition: all 0.3s ease;
}

.dealer-item.hidden {
    display: none !important;
}

.dealer-card .badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
}

.dealer-card a {
    transition: all 0.3s ease;
}

.dealer-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}