@import url('style.css');

/* Services Hero Section */
.services-hero {
    padding: 140px 0 80px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.services-hero-image {
    position: relative;
    display: inline-block;
}

.services-hero-image img {
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255,255,255,0.5);
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.services-hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Car Rental Section */
.vehicle-list ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.vehicle-list ul li:hover {
    color: var(--maroon);
    transform: translateX(5px);
}

.vehicle-list ul li:last-child {
    border-bottom: none;
}

.service-image-container img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.service-image-container:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Tour Packages Section */
.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.package-image {
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-content {
    padding: 1.5rem;
    text-align: center;
}

.package-content h4 {
    margin-bottom: 1rem;
}

/* Arupadai Tour Section */
.tour-option-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.tour-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.tour-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tour-features li:last-child {
    border-bottom: none;
}

.tour-assurance {
    background: rgba(245, 176, 65, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--gold);
}

/* Service Benefits Section */
.service-benefit-card {
    padding: 2rem 1rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.5);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-benefit-card:hover::before {
    transform: scaleX(1);
}

.service-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255,255,255,0.5);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(245, 176, 65, 0.1) 0%, rgba(107, 29, 29, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
}

.service-benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--gold), var(--maroon));
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.4s ease;
}

.service-benefit-card:hover .benefit-icon i {
    color: white;
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%) !important;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 176, 65, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.services-cta .container {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--maroon);
    border: 2px solid white;
}

.cta-buttons .btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 176, 65, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        padding: 120px 0 60px;
        min-height: auto;
        text-align: center;
    }
    
    .services-hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 2rem;
    }
    
    .services-hero-image img {
        transform: none;
        margin: 0 auto;
    }
    
    .floating-badge {
        position: relative;
        margin-top: 1rem;
    }
    
    .hero-stats {
        justify-content: center;
        text-align: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
    }
    
    .vehicle-list .row {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .tour-option-card {
        padding: 1.5rem;
    }
}

/* Animation Enhancements */
.package-card,
.tour-option-card,
.service-benefit-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.package-card.animated,
.tour-option-card.animated,
.service-benefit-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile spacing improvements */
@media (max-width: 768px) {
    .package-card {
        margin-bottom: 2rem;
    }
    
    .service-benefit-card {
        margin-bottom: 1.5rem;
    }
    
    .tour-option-card {
        margin-bottom: 1.5rem;
    }
}