/* Global Styles */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --accent-color: #1abc9c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(45deg, var(--dark-bg), var(--primary-color));
    --box-shadow: 0 5px 15px rgba(46, 204, 113, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-bg);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation */
.navbar {
    background: transparent;
    transition: var(--transition);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar.scrolled {
    background: var(--dark-bg);
    padding: 0.5rem 0;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
}

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

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.navbar .btn-outline-light {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1.5rem;
}

.navbar .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.4s ease;
    z-index: -1;
}

.navbar .btn-outline-light:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.navbar .btn-outline-light:hover::before {
    width: 100%;
}

.navbar .btn-outline-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 0;
    margin-top: -80px; /* Offset the navbar height */
}

.hero-slider {
    height: 100vh;
    width: 100%;
}

.hero-slider .swiper-slide {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    position: relative;
    padding-top: 80px; /* Add padding to account for fixed navbar */
}

.hero-slider .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    padding: 2rem 0;
}

.swiper-slide-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-image {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease 0.3s;
    padding: 2rem 0;
}

.swiper-slide-active .hero-image {
    opacity: 1;
    transform: translateX(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.6s;
}

.swiper-slide-active .floating-badge {
    opacity: 1;
    transform: translateY(0);
}

.floating-badge .badge {
    padding: 10px 20px;
    font-size: 1rem;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Swiper Navigation */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--primary-color);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 1.2rem;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
    bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .hero-section {
        margin-top: -60px;
    }
    
    .hero-slider .swiper-slide {
        padding-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .hero-image img {
        transform: none;
    }
    
    .hero-image:hover img {
        transform: none;
    }
    
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
}

/* Stats Section */
.stats-section {
    background: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Vehicle Cards */
.vehicle-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.vehicle-card:hover {
    transform: translateY(-10px);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.vehicle-features {
    display: flex;
    justify-content: space-around;
}

.vehicle-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-details {
    padding: 1.5rem;
}

.vehicle-price {
    margin: 1rem 0;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.per {
    color: var(--text-color);
    opacity: 0.7;
}

.vehicle-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--primary-color);
}

/* Testimonials */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin: 1rem;
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Contact Form */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
}

.footer-top {
    background: var(--gradient-dark);
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .navbar-collapse {
        background: var(--dark-bg);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .vehicle-actions {
        flex-direction: column;
    }
    
    .footer-info {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* AOS Customization */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* About Section */
.about-section {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0;
}

.experience-badge p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content {
    padding: 2rem;
}

.about-content h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.feature-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-item h5 {
    margin: 1rem 0;
    color: var(--primary-color);
}

.feature-item p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

.about-cta {
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .about-image {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
        bottom: 20px;
        right: -15px;
    }
    
    .experience-badge .counter {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 1rem;
    }
    
    .feature-item {
        margin-bottom: 1rem;
    }
} 