/* =====================================================
   SRI MARUTHI HOLIDAYS
   PROFESSIONAL TRAVEL WEBSITE CSS
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f8fb;
    color: #1f2937;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
}


/* =====================================================
   NAVBAR
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.navbar {
    width: min(1200px, 92%);
    margin: auto;
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    white-space: nowrap;
}

.logo span {
    display: block;
    color: #e63946;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: #e63946;
}

.nav-book-btn {
    background: #e63946;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
    white-space: nowrap;
}

.nav-book-btn:hover {
    background: #c92f3b;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 620px;
    position: relative;

    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 70px 20px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.18) 45%,
            rgba(0, 0, 0, 0.68) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1100px, 100%);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    padding: 14px 24px;

    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;

    transition: 0.25s ease;
}

.primary-btn {
    background: #e63946;
    color: white;
}

.primary-btn:hover {
    background: #c92f3b;
    transform: translateY(-2px);
}

.secondary-btn {
    background: white;
    color: #111827;
}

.secondary-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}


/* =====================================================
   FEATURES
===================================================== */

.features-section {
    background: white;
    padding: 55px 20px;
}

.features-container {
    width: min(1200px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    padding: 28px 20px;
    text-align: center;

    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);

    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.feature-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff1f2;
    border-radius: 50%;

    font-size: 27px;
}

.feature-card h3 {
    color: #111827;
    margin-bottom: 8px;
    font-size: 18px;
}

.feature-card p {
    color: #6b7280;
    font-size: 14px;
}


/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section {
    padding: 90px 20px;
}

.section-title {
    width: min(800px, 100%);
    margin: 0 auto 45px;
    text-align: center;
}

.section-title span {
    display: inline-block;

    color: #e63946;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;

    color: #111827;
    margin-bottom: 12px;
}

.section-title p {
    color: #6b7280;
    font-size: 16px;
}


/* =====================================================
   VEHICLES
===================================================== */

#vehicles {
    background: #f6f8fb;
}

.vehicle-grid {
    width: min(1200px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.vehicle-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);

    transition: 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}


/* =====================================================
   VEHICLE IMAGE GALLERY
===================================================== */

.vehicle-image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 3px;

    background: #e5e7eb;
}

.vehicle-image-gallery img {
    width: 100%;
    height: 150px;

    object-fit: cover;

    transition: 0.3s ease;
}

.vehicle-image-gallery img:hover {
    opacity: 0.85;
}


/* =====================================================
   VEHICLE CONTENT
===================================================== */

.vehicle-content {
    padding: 25px;
}

.vehicle-content h3 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 8px;
}

.vehicle-capacity {
    display: inline-block;

    background: #fff1f2;
    color: #e63946;

    padding: 6px 12px;
    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 14px;
}

.vehicle-content > p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
}

.vehicle-pricing {
    background: #f8fafc;

    border-left: 4px solid #e63946;

    padding: 15px 18px;
    border-radius: 6px;

    margin-bottom: 20px;
}

.vehicle-pricing strong {
    color: #111827;
}

.vehicle-pricing ul {
    margin-top: 8px;
    padding-left: 20px;
}

.vehicle-pricing li {
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 4px;
}

.vehicle-book-btn {
    width: 100%;

    border: none;
    border-radius: 8px;

    padding: 13px 18px;

    background: #e63946;
    color: white;

    font-weight: 700;
    cursor: pointer;

    transition: 0.25s ease;
}

.vehicle-book-btn:hover {
    background: #c92f3b;
    transform: translateY(-2px);
}


/* =====================================================
   BOOKING SECTION
===================================================== */

.booking-section {
    padding: 90px 20px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f8fb 100%
        );
}

.booking-container {
    width: min(950px, 92%);
    margin: auto;

    background: white;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    padding: 35px;

    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.form-section {
    padding: 25px 0;

    border-bottom: 1px solid #e5e7eb;
}

.form-section:first-child {
    padding-top: 0;
}

.form-section h3 {
    color: #111827;
    font-size: 20px;

    margin-bottom: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;

    margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    background: #ffffff;
    color: #111827;

    padding: 13px 14px;

    outline: none;

    transition: 0.2s ease;
}

.form-group input,
.form-group select {
    height: 48px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e63946;

    box-shadow:
        0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.submit-btn {
    width: 100%;

    margin-top: 25px;

    padding: 16px;

    border: none;
    border-radius: 8px;

    background: #e63946;
    color: white;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.25s ease;
}

.submit-btn:hover {
    background: #c92f3b;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* =====================================================
   BOOKING MESSAGE
===================================================== */

.message {
    display: none;

    margin-top: 18px;

    padding: 14px 16px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    text-align: center;
}

.message.success {
    display: block;

    background: #ecfdf5;
    color: #047857;

    border: 1px solid #a7f3d0;
}

.message.error {
    display: block;

    background: #fef2f2;
    color: #b91c1c;

    border: 1px solid #fecaca;
}


/* =====================================================
   LOCATION
===================================================== */

#location {
    background: white;
}

.location-container {
    width: min(850px, 92%);
    margin: auto;
}

.location-content {
    background: #f8fafc;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    padding: 35px;

    text-align: center;
}

.location-content h3 {
    font-size: 25px;
    color: #111827;
    margin-bottom: 15px;
}

.location-content p {
    color: #6b7280;
    margin: 10px 0;
}

.location-content a {
    color: #e63946;
    font-weight: 700;
}

.location-content a:hover {
    text-decoration: underline;
}


/* =====================================================
   ABOUT
===================================================== */

#about {
    background: #f6f8fb;
}

.about-content {
    width: min(850px, 92%);
    margin: auto;

    background: white;

    padding: 35px;

    border-radius: 14px;

    border: 1px solid #e5e7eb;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.about-content p {
    color: #4b5563;
    margin-bottom: 15px;
    font-size: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    background: white;
}

.contact-container {
    width: min(1000px, 92%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.contact-card {
    text-align: center;

    background: #f8fafc;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    padding: 30px 20px;

    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff1f2;

    border-radius: 50%;

    font-size: 25px;
}

.contact-card h3 {
    margin-bottom: 8px;
    color: #111827;
}

.contact-card a {
    color: #e63946;
    font-weight: 700;
    font-size: 14px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #111827;
    color: white;
}

.footer-content {
    width: min(1100px, 92%);
    margin: auto;

    padding: 45px 0;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: #d1d5db;
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;

    text-align: center;

    padding: 18px 20px;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 13px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 700px) {

    .navbar {
        min-height: 68px;
    }

    .logo {
        font-size: 20px;
    }

    .logo span {
        font-size: 13px;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        background: white;

        padding: 20px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        border-top: 1px solid #e5e7eb;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 5px;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-book-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 500px;
        padding-bottom: 45px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .section,
    .booking-section {
        padding: 65px 15px;
    }

    .vehicle-grid {
        width: 100%;
    }

    .vehicle-image-gallery img {
        height: 110px;
    }

    .booking-container {
        width: 100%;
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .hero {
        min-height: 430px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .vehicle-content {
        padding: 20px;
    }

    .vehicle-content h3 {
        font-size: 21px;
    }

    .vehicle-image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-image-gallery img {
        height: 125px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .location-content,
    .about-content {
        padding: 25px 20px;
    }

}


/* =====================================================
   ACCESSIBILITY
===================================================== */

:focus-visible {
    outline: 3px solid rgba(230, 57, 70, 0.35);
    outline-offset: 2px;
}


/* ==================================================
   SELECTION
===================================================== */

::selection {
    background: #e63946;
    color: white;
}
