/* Public front page (welcome.blade.php) */

:root {
    --green: #1b7a3d;
    --green-dark: #0f4d25;
    --green-deep: #0a3319;
    --green-soft: #e8f3ec;
    --gold: #f2b705;
    --ink: #1f2a24;
    --muted: #5f6b65;
    --line: #e2e8e4;
    --bg-alt: #f6f8f7;
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    color: var(--ink);
}

a {
    color: var(--green);
}

a:hover {
    color: var(--green-dark);
}

section {
    scroll-margin-top: 80px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

/* ---------- Buttons ---------- */
.btn-abu, .btn-abu-outline, .btn-abu-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: background .15s, color .15s, transform .15s, box-shadow .15s;
    border: 2px solid transparent;
}

.btn-abu {
    background: var(--gold);
    color: var(--green-deep) !important;
}

.btn-abu:hover {
    background: #ffc928;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.btn-abu-outline {
    border-color: rgba(255, 255, 255, .7);
    color: #fff !important;
}

.btn-abu-outline:hover {
    background: rgba(255, 255, 255, .12);
}

.btn-abu-light {
    background: var(--green);
    color: #fff !important;
}

.btn-abu-light:hover {
    background: var(--green-dark);
}

.btn-sm-pad {
    padding: 8px 16px;
    font-size: 14px;
}

/* ---------- Top bar & navigation ---------- */
.topbar {
    background: var(--green-deep);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    padding: 7px 0;
}

.topbar a {
    color: rgba(255, 255, 255, .85);
}

.topbar .item {
    margin-right: 22px;
    white-space: nowrap;
}

.topbar i {
    color: var(--gold);
    margin-right: 6px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.site-nav .navbar {
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.brand img {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--green-dark);
    line-height: 1.1;
}

.brand-sub {
    display: block;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.site-nav .nav-link {
    color: var(--ink) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px !important;
    border-radius: 6px;
}

.site-nav .nav-link:hover {
    color: var(--green) !important;
    background: var(--green-soft);
}

.nav-actions {
    display: flex;
    gap: 10px;
    margin-left: 12px;
}

.nav-login {
    border: 2px solid var(--green);
    color: var(--green) !important;
    background: #fff;
}

.nav-login:hover {
    background: var(--green-soft);
}

.navbar-toggler {
    border: 1px solid var(--line);
    padding: 6px 10px;
    color: var(--green-dark);
    font-size: 20px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background: linear-gradient(110deg, rgba(10, 51, 25, .95) 0%, rgba(15, 77, 37, .88) 45%, rgba(27, 122, 61, .55) 100%),
        url("../../assets/images/car1.jpg") center / cover no-repeat;
    padding: 110px 0 120px;
    overflow: hidden;
}

.hero h1 {
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--gold);
}

.hero .lead {
    font-size: 18px;
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-badge i {
    color: var(--gold);
}

/* Rotating hero text */
.hero-slides {
    margin-bottom: 8px;
}

.hero-slides .carousel-item {
    transition-duration: .8s;
}

@media (min-width: 992px) {
    /* keep the buttons below the text from jumping when slides have different lengths */
    .hero-slides .carousel-inner {
        min-height: 330px;
    }
}

.hero-dots {
    position: static;
    justify-content: flex-start;
    margin: 0 0 28px;
}

.hero-dots li {
    width: 28px;
    height: 4px;
    margin: 0 8px 0 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    transition: width .3s, background .3s;
}

.hero-dots li.active {
    width: 44px;
    background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
    .hero-slides .carousel-item {
        transition: none;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-card {
    background: rgba(255, 255, 255, .97);
    color: var(--ink);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.hero-card h5 {
    font-size: 16px;
    margin-bottom: 18px;
}

.hero-card .fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.hero-card .fact:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.fact-icon, .card-icon, .contact-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green);
}

.fact-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
}

.fact strong {
    display: block;
    font-size: 14px;
}

.fact span {
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Service & about cards ---------- */
.info-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.info-card:hover {
    border-color: var(--green);
    box-shadow: 0 12px 30px rgba(27, 122, 61, .1);
    transform: translateY(-3px);
}

.card-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin-bottom: 18px;
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.info-card details summary {
    cursor: pointer;
    color: var(--green);
    font-weight: 600;
    margin-top: 10px;
    list-style: none;
}

.info-card details summary::-webkit-details-marker {
    display: none;
}

.info-card details[open] summary .more {
    display: none;
}

.info-card details:not([open]) summary .less {
    display: none;
}

.info-card details p {
    margin-top: 10px;
}

/* ---------- Steps ---------- */
.steps {
    counter-reset: step;
}

.step {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 0 0 8px var(--green-soft);
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 28px;
        left: calc(50% + 40px);
        width: calc(100% - 80px);
        border-top: 2px dashed #b9d6c3;
    }
}

.step h5 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* ---------- Rates ---------- */
.rates-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.rates-card-head {
    background: var(--green);
    color: #fff;
    padding: 16px 24px;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
}

.rates-card-head i {
    color: var(--gold);
    margin-right: 8px;
}

.rates-table {
    width: 100%;
    margin: 0;
}

.rates-table th {
    background: var(--bg-alt);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    padding: 12px 24px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.rates-table td {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.rates-table tr:last-child td {
    border-bottom: 0;
}

.rates-table .price {
    font-weight: 700;
    font-size: 16px;
    color: var(--green-dark);
    white-space: nowrap;
}

.rates-table .usd {
    color: var(--muted);
    white-space: nowrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-alt);
    color: var(--ink);
    white-space: nowrap;
}

.chip-local {
    background: var(--green-soft);
    color: var(--green-dark);
}

.chip-international {
    background: #fff4d6;
    color: #8a6400;
}

.notes-card {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px 28px;
    height: 100%;
}

.notes-card h5 {
    font-size: 16px;
    margin-bottom: 14px;
}

.notes-card ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.notes-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
}

.notes-card li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--green);
}

.notes-card li strong {
    color: var(--ink);
}

/* ---------- Call to action band ---------- */
.cta-band {
    background: linear-gradient(110deg, var(--green-deep), var(--green));
    color: #fff;
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cta-band h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 24px;
}

.cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
}

/* ---------- Contact ---------- */
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
}

.contact-card h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-card .form-control {
    height: auto;
    padding: 12px 14px;
    border-radius: 8px;
    border-color: #d5ddd8;
    font-size: 14px;
}

.contact-card .form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(27, 122, 61, .15);
}

.contact-card label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-item span {
    color: var(--muted);
}

.socials a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    color: var(--green);
    margin-right: 6px;
    text-decoration: none !important;
}

.socials a:hover {
    background: var(--green);
    color: #fff;
}

.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 30px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--green-deep);
    color: rgba(255, 255, 255, .75);
    padding: 60px 0 0;
    font-size: 14px;
}

.site-footer h6 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
}

.site-footer a {
    color: rgba(255, 255, 255, .8);
}

.site-footer a:hover {
    color: var(--gold);
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: 10px;
}

.site-footer li i {
    color: var(--gold);
    width: 20px;
}

.site-footer .socials a {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.site-footer .socials a:hover {
    background: var(--gold);
    color: var(--green-deep);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding: 18px 0;
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--green);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 1040;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero {
        padding: 70px 0 80px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-card {
        margin-top: 40px;
    }

    .nav-actions {
        margin: 12px 0 6px;
    }

    .step {
        margin-bottom: 36px;
    }
}

@media (max-width: 575px) {
    .section {
        padding: 56px 0;
    }

    .section-head h2 {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero .lead {
        font-size: 16px;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-sub {
        display: none;
    }

    .cta-band {
        padding: 28px 24px;
    }

    .contact-card {
        padding: 22px;
    }

    .rates-table th, .rates-table td {
        padding: 10px 14px;
    }
}
