/* Global Styles */
:root {
    --primary-color: #ffd700;
    --secondary-color: #000;
    --text-color: #333;
    --light-color: #fff;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    color: var(--secondary-color);
    font-weight: bold;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    color: var(--light-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1619120238346-978e07731e77?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxfDB8MXxyYW5kb218MHx8bmlnaHQsY2l0eXx8fHx8fDE2MzY5MjY0MzQ&ixlib=rb-1.2.1&q=80&w=1080') center/cover no-repeat;
    opacity: 0.2;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 50px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.hero-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-color);
}

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

.feature-item span {
    font-size: 1rem;
    font-weight: 500;
}

.hero-image {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatAnimation 3s ease-in-out infinite;
}

.hero-image img {
    max-width: 150%;
    transform: translateX(-5%);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image img {
        max-width: 100%;
        margin-top: 30px;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .ms-3 {
        margin-left: 0 !important;
    }
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* About Section */
.about-content {
    padding-right: 30px;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Services Section */
.service-card {
    text-align: center;
    padding: 30px;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Vehicle Cards */
.vehicle-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.vehicle-info {
    padding: 25px;
    background: var(--light-color);
}

.vehicle-info h3 {
    color: #000;
    margin-bottom: 10px;
    font-weight: 600;
}

.vehicle-info p {
    color: #000;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.vehicle-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.vehicle-info ul li {
    margin-bottom: 8px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.vehicle-info ul li:before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

.vehicle-info .book-now {
    width: 100%;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reviews Section Styles */
.review-form-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.review-form-wrapper h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    color: #ffd700;
    margin: 1rem 0;
}

.rating .fa-star {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.rating .fa-star:hover {
    transform: scale(1.2);
}

.rating .fa-star:hover ~ .fa-star {
    color: #ccc;
}

.rating .fa-star.active {
    color: #ffd700;
    animation: pulse 0.3s ease;
}

.rating .fa-star.inactive {
    color: #ccc;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.review-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-comment {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
}

#reviewForm .form-control {
    border: 1px solid #ddd;
    padding: 0.8rem;
    border-radius: 8px;
}

#reviewForm .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

#reviewForm textarea {
    resize: vertical;
    min-height: 100px;
}

#reviewForm .btn-primary {
    padding: 0.8rem 2rem;
    font-weight: 500;
}

/* Review Card Styles */
.review-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card .card-body {
    padding: 1.5rem;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars i {
    font-size: 16px;
}

.review-date {
    display: block;
    margin-top: 10px;
    color: #888;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars {
    color: #ffc107;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-content {
    color: #4a4a4a;
    line-height: 1.6;
}

/* Review Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 2rem;
}

/* Contact Section */
.contact-form-wrapper {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
}

.form-floating > .form-control {
    border: 2px solid #eee;
    padding: 20px;
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > textarea.form-control {
    height: 150px !important;
    resize: none;
}

.form-floating > label {
    padding: 1rem;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.contact-info-wrapper {
    background: linear-gradient(135deg, var(--primary-color), #f8c332);
    padding: 40px;
    border-radius: 15px;
    color: var(--secondary-color);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.contact-info-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-info-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.contact-link p {
    margin: 5px 0 0;
    opacity: 0.9;
    position: relative;
    display: inline-block;
}

.contact-link p::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-link:hover p {
    opacity: 1;
}

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

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(360deg);
}

.info-content h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-content p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.social-links-wrapper {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    color: var(--secondary-color);
}

.social-link::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-bottom: 5px;
}

.social-link:hover::before {
    opacity: 1;
    visibility: visible;
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Review stars in displayed reviews */
.review-card .rating {
    font-size: 18px;
    margin: 0;
}

.review-card .rating .fa-star {
    cursor: default;
}

.review-card .rating .fa-star:hover {
    transform: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-duration: 1s;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card,
    .vehicle-card {
        margin-bottom: 30px;
    }
    
    .contact-info-wrapper {
        margin-top: 30px;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Submit Button Animation */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Reviews Slider Styles */
.reviews-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
}

.reviews-slider:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    transition: transform 0.3s ease-out;
    gap: 20px;
}

.review-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    user-select: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.rating {
    color: #ffd700;
    font-size: 1rem;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-comment {
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal .rating {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.modal .rating .fa-star {
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal .rating .fa-star:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 280px;
    }
}
