/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --bg-color: #ffffff;
    --text-color: #2c3e50;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-text: #2c3e50;
    --section-bg: #f8f9fa;
    --input-bg: #ffffff;
    --input-border: #dee2e6;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: all 0.3s ease;
}

/* Navbar Styles */
.navbar {
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 4px var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--navbar-text) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--navbar-text);
}

.navbar-toggler {
    border-color: var(--border-color);
    color: var(--navbar-text);
}

.nav-link {
    color: var(--navbar-text) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--primary-color) !important;
}

/* Dropdown Styles */
.dropdown-menu {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.7rem 1.2rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: var(--navbar-text);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: -76px;
    overflow: hidden;
}

@media (max-width: 400px) {
    .hero {
        margin-top: 0;
    }
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.carousel-item {
    height: 100vh;
}

.carousel-item .container {
    position: relative;
    z-index: 2;
}

/* Carousel Transitions */
.carousel-fade .carousel-item {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-indicators {
    z-index: 3;
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.carousel-indicators button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.carousel-indicators button.active::after {
    transform: scale(1);
}

/* Animate.css Customizations */
.animate__animated {
    animation-duration: 0.5s;
}

.animate__delay-1s {
    animation-delay: 0.1s;
}

.animate__delay-2s {
    animation-delay: 0.1s;
}

/* Hero Content Styles */
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.hero-buttons .btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.service-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px var(--border-color);
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px var(--border-color);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    background: rgba(52, 152, 219, 0.1);
    border-radius: 5px;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.feature-item span {
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-card .btn {
    margin-top: auto;
    width: 100%;
    padding: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Fleet Section */
#fleet {
    background-color: var(--section-bg);
}

.fleet-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px var(--border-color);
    transition: all 0.3s ease;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    height: 100%;
}

.fleet-card-image {
    position: relative;
    overflow: hidden;
}

.fleet-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fleet-card:hover img {
    transform: scale(1.05);
}

.fleet-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fleet-card:hover .fleet-card-overlay {
    opacity: 1;
}

.fleet-card .card-body {
    padding: 2rem;
}

.fleet-card .card-title {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.fleet-card .card-text {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.car-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.car-features span {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-size: 0.9rem;
}

.car-features i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.car-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about-features {
    list-style: none;
    padding-left: 0;
}

.about-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Contact Section */
#contact {
    background-color: var(--section-bg);
}

.contact-info {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 8px 16px var(--border-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 20px;
}

.contact-map {
    flex: 1;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.form-control {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
    padding: 1rem;
}

.form-control:focus {
    background-color: var(--input-bg);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-control::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--navbar-bg) !important;
    color: var(--text-color) !important;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-collapse {
        background-color: var(--navbar-bg);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .service-card,
    .fleet-card,
    .contact-info {
        margin-bottom: 2rem;
    }

    .social-icons {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Footer Styles */
.footer {
    background-color: var(--navbar-bg);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

.footer h5 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    margin: 2rem 0;
    border-color: var(--border-color);
    opacity: 0.1;
}

.footer-bottom {
    padding-top: 1.5rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Testimonials Section */
.testimonials-slider {
    padding: 20px 0;
    position: relative;
}

.testimonial-card {
    width:100%;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 8px 16px var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 1.5rem 0;
    font-style: italic;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info {
    text-align: left;
}

.author-info h5 {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Swiper Customization */
.swiper {
    padding: 2rem 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: var(--card-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiper Container Styles */
.testimonials-slider .swiper {
    padding: 2rem 1rem;
    padding-bottom: 3.5rem;
    width: 100%;
}

.swiper-wrapper {
    height: auto !important;
}

.swiper-slide {
    height: auto !important;
    display: flex;
}

@media (max-width: 1024px) {
    .testimonial-card {
        padding: 1.5rem;
        margin: 0.75rem;
    }

    .testimonial-text {
        font-size: 1rem;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.25rem;
        margin: 0.5rem;
    }

    .testimonial-text {
        margin: 1rem 0;
        -webkit-line-clamp: 4;
    }

    .testimonial-author {
        padding-top: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

.swiper-pagination {
    position: relative;
    bottom: 0 !important;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .service-card {
        padding: 2rem;
    }

    .service-icon i {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .service-features {
        padding: 0.8rem;
    }

    .feature-item {
        padding: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }
}
@keyframes moveCar {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(200px); /* Arabay� sa�a do�ru hareket ettiriyoruz */
    }

    100% {
        transform: translateX(0); /* Arabay� tekrar eski konumuna getiriyoruz */
    }
}

.animated-car {
    animation: moveCar 5s ease-in-out infinite; /* 5 saniyelik animasyon, d�ng�sel hareket */
}
