/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #FFC107;
    --dark-color: #222;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-family: 'Poppins', sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    min-height: 70px;
}

.nav__logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: var(--transition);
}

.nav__logo a:hover {
    color: var(--primary-color);
}

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    margin-top: 70px;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Ensure booking form appears first */
.booking-form {
    order: 1;
}

.hero__content {
    order: 2;
    text-align: center;
}

.hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-weight: 500;
}

.badge__icon {
    font-size: 1.25rem;
}

/* ============================================
   Booking Form
   ============================================ */
.booking-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 100%;
    width: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .booking-form {
        max-width: 600px;
        margin: 0;
    }
}

.booking-form__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__input:read-only {
    background: var(--light-gray);
    cursor: not-allowed;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form__radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form__radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form__radio input[type="radio"] {
    cursor: pointer;
}

.form__radio input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.form__radio:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(255, 193, 7, 0.1);
}

.form__error {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--dark-color);
}

.btn--primary:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--secondary {
    background: var(--dark-color);
    color: var(--white);
}

.btn--secondary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--block {
    width: 100%;
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: 4rem 0;
}

.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--white);
}

.about__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--light-gray);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card__description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card__btn {
    width: 100%;
}

/* ============================================
   Fleet Section
   ============================================ */
.fleet {
    background: var(--white);
}

.fleet__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.fleet-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fleet-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--light-gray);
}

.fleet-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fleet-card:hover .fleet-card__image img {
    transform: scale(1.1);
}

.fleet-card__content {
    padding: 1.5rem;
}

.fleet-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.fleet-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec {
    font-size: 0.9rem;
    color: var(--gray);
    padding: 0.25rem 0.5rem;
    background: var(--light-gray);
    border-radius: 4px;
}

.fleet-card__btn {
    width: 100%;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--light-gray);
}

.testimonials__carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials__wrapper {
    position: relative;
    min-height: 250px;
}

.testimonial-card {
    display: none;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.testimonial-card.active {
    display: block;
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card__quote {
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-card__text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    font-weight: 600;
    color: var(--dark-color);
}

.testimonials__controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonials__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: bold;
}

.testimonials__btn:hover {
    background: #ffb300;
    transform: scale(1.1);
}

.testimonials__indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--white);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact__details {
    flex: 1;
}

.contact__label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact__link {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact__link:hover {
    color: #ffb300;
    text-decoration: underline;
}

.contact__text {
    color: var(--gray);
}

.contact__form-wrapper {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact__map {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact__map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer__text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer__developer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer__developer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer__developer-link:hover {
    color: #ffb300;
    text-decoration: underline;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-gray);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.modal__close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal__header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.modal__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.modal__body {
    padding: 1rem 2rem;
}

.modal__body p {
    margin-bottom: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
}

.modal__body strong {
    color: var(--dark-color);
}

.modal__footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

/* ============================================
   Floating Action Buttons
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    color: var(--white);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.floating-btn--call {
    background: var(--primary-color);
    color: var(--dark-color);
}

.floating-btn--call:hover {
    background: #ffb300;
    box-shadow: 0 6px 30px rgba(255, 193, 7, 0.5);
}

.floating-btn--call svg {
    stroke: var(--dark-color);
}

.floating-btn--whatsapp {
    background: #25D366;
}

.floating-btn--whatsapp:hover {
    background: #20BA5A;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.floating-btn--whatsapp svg {
    stroke: var(--white);
}

.floating-btn__text {
    position: absolute;
    right: 70px;
    background: var(--dark-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    box-shadow: var(--shadow);
}

.floating-btn:hover .floating-btn__text {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (min-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    /* Booking form first (left), hero content second (right) */
    .booking-form {
        order: 1;
    }

    .hero__content {
        order: 2;
        text-align: left;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__badges {
        justify-content: flex-start;
    }

    .form__row {
        grid-template-columns: 1fr 1fr;
    }

    .contact__content {
        grid-template-columns: 1fr 1fr;
    }

    .section__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }

    .hero__container {
        gap: 2rem;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .booking-form {
        padding: 1.5rem;
        margin: 0;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .hero__badges {
        flex-direction: column;
        gap: 0.75rem;
    }

    .badge {
        width: 100%;
        justify-content: center;
    }

    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
    }

    .floating-btn__text {
        display: none;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* Tablet specific adjustments */
@media (min-width: 481px) and (max-width: 767px) {
    .hero__container {
        gap: 2.5rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .booking-form {
        padding: 1.75rem;
    }

    .services__grid,
    .fleet__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .hero__container {
        gap: 5rem;
    }

    .container {
        max-width: 1400px;
    }
}

/* Landscape mobile devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero__container {
        gap: 2rem;
    }
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    .btn,
    .nav__link,
    .testimonials__btn,
    .fleet-card__btn,
    .service-card__btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================
   Loading Animation (Optional)
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .floating-buttons,
    .testimonials__controls,
    .testimonials__indicators {
        display: none;
    }

    .hero {
        margin-top: 0;
    }
}

