/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top bar */
.top-bar {
    background-color: #f5f5f5;
    font-size: 0.85rem;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.contact-info span {
    margin-right: 1.5rem;
    color: #444;
}

.contact-info i {
    color: #c59d5f;
    margin-right: 0.3rem;
}

.social-icons a {
    margin-left: 0.7rem;
    color: #444;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #c59d5f;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: #c59d5f;
}

.navbar nav ul {
    display: flex;
    gap: 1.5rem;
}

.navbar nav a {
    font-weight: 500;
    color: #333;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: #c59d5f;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-left: 1rem;
}

.primary-btn {
    background-color: #c59d5f;
    color: #fff;
}

.primary-btn:hover {
    background-color: #a17c3f;
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid #c59d5f;
    color: #c59d5f;
}

.secondary-btn:hover {
    background-color: #c59d5f;
    color: #fff;
}

.btn.small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Hero Section */
/* Hero background uses a locally generated scenic car image for a professional look */
.hero {
    position: relative;
    /* Increase height to accommodate hero vehicles images */
    min-height: 80vh;
    background-image: url('hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero_chiller {
    position: relative;
    /* Increase height to accommodate hero vehicles images */
    min-height: 80vh;
    background-image: url('chillervan20.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    max-width: 600px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Hero vehicles (images in banner) */
.hero-vehicles {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-vehicle {
    width: 250px;
    max-width: 40%;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Slight scale effect on hover for hero vehicle images */
.hero-vehicle:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-vehicles {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-vehicle {
        max-width: 80%;
        width: 80%;
    }
}

/* UAE section */
.uae {
    padding: 3rem 0;
    background-color: #f9f9f9;
    text-align: center;
}

.uae h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.uae .subtitle {
    color: #777;
    margin-bottom: 1.5rem;
}

.uae-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-weight: 500;
}

.uae-list li {
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Cars section */
.cars {
    padding: 3rem 0;
    background-color: #fff;
}

.cars h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.car-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-card h3 {
    font-size: 1.2rem;
    margin: 1rem;
    color: #333;
}

.car-card .car-info {
    margin: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.car-card .car-info li {
    margin-bottom: 0.25rem;
}

.car-card .price {
    margin: 0.5rem 1rem;
    font-weight: 600;
    color: #c59d5f;
}

.car-card .included, .car-card .extra {
    margin: 0 1rem;
    font-size: 0.85rem;
    color: #777;
}

.car-card .extra {
    margin-bottom: 1rem;
}

.car-card .btn {
    margin: 0 1rem 1rem;
    align-self: flex-start;
}

/* About section */
.about {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1 1 50%;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1rem;
    color: #555;
}

.about-text .features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.about-text .features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #c59d5f;
}

.about-image {
    flex: 1 1 45%;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 6px;
}

/* How it works */
.how-it-works {
    padding: 3rem 0;
    background-color: #fff;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.how-it-works .subtitle {
    color: #777;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    flex: 1 1 250px;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: #c59d5f;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #333;
    margin-top: 1rem;
}

.step p {
    color: #555;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* Blog/news */
.blog {
    padding: 3rem 0;
    background-color: #fff;
}

.blog h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.post {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #fafafa;
}

.post-date {
    font-weight: 600;
    color: #c59d5f;
    margin-bottom: 0.3rem;
}

.post h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.post p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.post .read-more {
    color: #c59d5f;
    font-weight: 500;
    font-size: 0.9rem;
}

.post .read-more:hover {
    text-decoration: underline;
}

/* CTA / Contact */
.cta-contact {
    padding: 3rem 0;
    background-color: #c59d5f;
    color: #fff;
    text-align: center;
}

.cta-contact h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-contact p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-contact .btn {
    margin: 0.5rem;
}

.cta-contact .secondary-btn {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.cta-contact .secondary-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Footer */
.footer {
    background-color: #111;
    color: #ddd;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: #c59d5f;
}

.footer-col .social a {
    margin-right: 0.5rem;
    color: #ccc;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.footer-col .social a:hover {
    color: #c59d5f;
}

/* Animation classes */
.animate {
    opacity: 0;
    transform: translateY(50px);
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar nav ul {
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .about-content {
        flex-direction: column;
    }
    .step {
        text-align: center;
    }
    .step-number {
        position: static;
        margin: 0 auto 0.5rem;
    }
    .step h3 {
        margin-top: 0.2rem;
    }
}