/* Siyahi page layouts. Shared colours and controls are defined in style.css. */

.main-navigation a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
}

.main-navigation a[aria-current="page"]::after {
    width: 100%;
}

.site-layout {
    min-height: 55vh;
}

.compact-hero {
    position: relative;
    height: 400px;
    margin-inline: auto;
    overflow: hidden;
    background: #c9875f;
}

.compact-hero-photo {
    position: absolute;
    inset: 0 0 105px;
}

.compact-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.compact-hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: calc(100% - 105px);
    padding-inline: 32px;
    z-index: 1;
    color: #1c2c25;
}

.compact-hero h1 {
    max-width: 380px;
    margin: 0 0 18px;
    font-size: 53px;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.compact-hero-copy > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.compact-hero .button {
    background: var(--ink);
    min-height: 50px;
    padding: 15px 18px;
    font-size: 12px;
    gap: 18px;
}

.compact-hero .button:hover {
    background: #12231b;
}

.trip-search {
    position: absolute;
    inset-inline: 20px;
    bottom: 18px;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(145px, 1fr) minmax(145px, 1fr) minmax(82px, .6fr) auto;
    align-items: stretch;
    padding: 10px;
    margin: 0;
    background: #fffdf9;
    border: 1px solid #e5ded2;
    border-radius: 7px;
    box-shadow: 0 8px 25px #20302b12;
}

.trip-search-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 3px 13px;
    border-inline-end: 1px solid #e0e1d8;
}

.trip-search-field > span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.trip-search-field input,
.trip-search-field select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 33px;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
}

.trip-search-field input::placeholder {
    color: #778071;
    opacity: 1;
}

.trip-search-field:focus-within {
    background: #f6f4ec;
}

.trip-search-field input:focus-visible,
.trip-search-field select:focus-visible {
    outline: 2px solid #a64b35;
    outline-offset: 2px;
}

.trip-passengers {
    border-inline-end: 0;
}

.compact-hero .trip-search-submit {
    min-height: 60px;
    margin-inline-start: 5px;
    padding: 13px 17px;
    border-radius: 4px;
    background: var(--accent);
    gap: 11px;
    white-space: nowrap;
}

.compact-hero .trip-search-submit:hover {
    background: #893b28;
    transform: none;
}

.content-section {
    padding-block: 58px;
}

.simple-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}

.site-layout h2 {
    margin: 0;
    font-size: 37px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.simple-section-heading .text-link {
    font-size: 12px;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.destination-card {
    min-width: 0;
}

.destination-photo {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #e5e0d4;
}

.destination-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
}

.destination-photo:hover img {
    transform: scale(1.025);
}

.destination-card[id$="agafay"] .destination-photo img {
    object-position: center 65%;
}

.destination-details {
    padding-top: 17px;
}

.destination-details h3 {
    margin: 0 0 8px;
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.destination-details p {
    margin: 12px 0 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

.destination-details .destination-duration {
    margin: 0;
    font-size: 11px;
    color: #5c6858;
}

.home-essentials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    padding-block: 33px 55px;
    border-top: 1px solid var(--line);
}

.essential-panel {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.essential-panel > .icon {
    margin-top: 3px;
    color: var(--accent);
}

.essential-panel h2 {
    margin-bottom: 11px;
    font-size: 28px;
    letter-spacing: -.6px;
}

.essential-panel p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.essential-panel .text-link {
    font-size: 12px;
}

.page-intro {
    padding-block: 58px 0;
}

.page-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4.5vw, 60px);
    letter-spacing: -1.8px;
    line-height: 1.14;
}

.page-intro p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.page-content {
    padding-top: 38px;
    padding-bottom: 70px;
}

.transfer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: start;
}

.service-panel {
    padding: 32px;
    background: var(--sand);
    border: 1px solid #e1e3d8;
}

.service-panel > .icon {
    margin-bottom: 20px;
    color: var(--accent);
    width: 27px;
    height: 27px;
}

.service-panel h2,
.service-information h2 {
    margin-bottom: 15px;
    font-size: 31px;
    line-height: 1.2;
}

.service-panel p,
.service-information p,
.reservation-information p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.transfer-prices {
    margin: 25px 0 28px;
}

.transfer-prices > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-block: 15px;
    border-top: 1px solid #d9dfd0;
}

.transfer-prices dt {
    font-size: 13px;
}

.transfer-prices dd {
    margin: 0;
    white-space: nowrap;
}

.factual-list {
    margin: 20px 0 23px;
    padding-inline-start: 20px;
    color: #52604f;
    font-size: 13px;
    line-height: 1.7;
}

.factual-list li {
    padding-inline-start: 4px;
    margin-block: 12px;
}

.secondary-service {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 25px;
}

.secondary-service h3 {
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: -.5px;
}

.secondary-service p {
    margin-bottom: 6px;
}

.excursion-extras {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.excursion-extras h2 {
    font-size: 29px;
    margin-bottom: 12px;
}

.excursion-extras p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.service-note {
    max-width: 940px;
    margin: 29px 0 23px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.fleet-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.fleet-photo {
    height: 290px;
    background: #eeeee8;
}

.fleet-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.inline-photo-credit {
    margin: 9px 0 20px;
    font-size: 10px;
    color: #65705e;
    line-height: 1.6;
}

.inline-photo-credit a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fleet-model-copy h2 {
    margin-bottom: 14px;
    font-size: 32px;
}

.fleet-model-copy > p {
    color: var(--muted);
    font-size: 13px;
    min-height: 25px;
    margin-bottom: 23px;
}

.fleet-model-copy .button {
    min-height: 49px;
    font-size: 12px;
}

.site-layout .rates-table-wrap {
    border-top: 1px solid var(--line);
}

.site-layout .rates-table th,
.site-layout .rates-table td {
    padding-block: 20px;
}

.reservation-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 70px;
    align-items: start;
}

.reservation-information h2 {
    font-size: 29px;
}

.reservation-information .factual-list li {
    margin-block: 17px;
}

.site-layout .booking-form-panel {
    margin-top: 0;
}

.site-footer {
    padding-top: 42px;
}

.footer-main {
    padding-bottom: 35px;
}

.footer-links > a {
    font-size: 12px;
}

/* Arabic follows the same content order, with the hero copy on its clear wall. */
html[dir="rtl"] .compact-hero-copy {
    align-items: flex-end;
}

html[dir="rtl"] .compact-hero-copy h1,
html[dir="rtl"] .compact-hero-copy > p {
    width: 365px;
    max-width: 37%;
}

html[dir="rtl"] .compact-hero h1 {
    font-size: 45px;
    line-height: 1.4;
    letter-spacing: 0;
}

html[dir="rtl"] .trip-search-field > span {
    font-size: 11px;
}

html[dir="rtl"] .trip-search-field input,
html[dir="rtl"] .trip-search-field select {
    font-size: 13px;
}

html[dir="rtl"] .trip-search input[type="date"] {
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .site-layout h2 {
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0;
}

html[dir="rtl"] .page-intro h1 {
    font-size: 48px;
    line-height: 1.4;
    letter-spacing: 0;
}

html[dir="rtl"] .destination-details h3 {
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: 0;
}

html[dir="rtl"] .site-layout p,
html[dir="rtl"] .factual-list {
    font-size: 14px;
    line-height: 1.8;
}

html[dir="rtl"] .site-layout .destination-duration {
    font-size: 12px;
}

html[dir="rtl"] .site-layout .inline-photo-credit {
    font-size: 10px;
    direction: ltr;
    text-align: right;
}

html[dir="rtl"] .essential-panel h2,
html[dir="rtl"] .service-information h2,
html[dir="rtl"] .reservation-information h2,
html[dir="rtl"] .excursion-extras h2 {
    font-size: 27px;
}

html[dir="rtl"] .site-layout .button > .icon,
html[dir="rtl"] .site-layout .text-link > .icon {
    transform: scaleX(-1);
}

@media (max-width: 1080px) {
    .compact-hero {
        height: 365px;
    }

    .compact-hero h1 {
        max-width: 315px;
        font-size: 45px;
    }

    .destination-grid {
        gap: 20px;
    }

    .destination-photo {
        height: 200px;
    }

    .destination-details h3 {
        font-size: 27px;
    }

    .home-essentials,
    .excursion-extras {
        gap: 30px;
    }

    .transfer-layout {
        gap: 40px;
    }

    .fleet-photo {
        height: 250px;
    }

    .reservation-layout {
        grid-template-columns: .75fr 1.25fr;
        gap: 40px;
    }

    html[dir="rtl"] .compact-hero h1 {
        font-size: 37px;
    }
}

@media (max-width: 760px) {
    .compact-hero {
        height: auto;
        display: flex;
        flex-direction: column;
        background: #e9ddce;
    }

    .compact-hero-copy {
        order: 0;
        height: auto;
        min-height: 105px;
        padding: 18px 20px 14px;
        align-items: flex-start;
    }

    .compact-hero h1 {
        max-width: 440px;
        margin-bottom: 13px;
        font-size: 30px;
        line-height: 1.12;
        letter-spacing: -.7px;
    }

    .compact-hero-copy > p {
        display: none;
    }

    .compact-hero .button {
        min-height: 43px;
        padding: 12px 16px;
        font-size: 12px;
    }

    .compact-hero-photo {
        position: relative;
        inset: auto;
        order: 1;
        height: clamp(140px, 28vw, 200px);
    }

    .compact-hero-photo img {
        object-position: right bottom;
    }

    .content-section {
        padding-block: 40px;
    }

    .simple-section-heading {
        gap: 15px;
        margin-bottom: 22px;
    }

    .site-layout h2 {
        font-size: 31px;
        letter-spacing: -.7px;
    }

    .simple-section-heading .text-link {
        font-size: 10px;
        gap: 8px;
    }

    .simple-section-heading .icon {
        width: 17px;
        height: 17px;
    }

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .destination-photo {
        height: 230px;
    }

    .destination-details {
        padding-top: 13px;
    }

    .destination-details h3 {
        font-size: 28px;
        margin-bottom: 7px;
    }

    .destination-details p {
        font-size: 13px;
    }

    .destination-details .destination-duration {
        font-size: 11px;
    }

    .home-essentials,
    .excursion-extras {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-essentials {
        padding-block: 30px 40px;
    }

    .essential-panel {
        gap: 15px;
    }

    .essential-panel h2 {
        font-size: 26px;
    }

    .essential-panel p {
        font-size: 12px;
    }

    .page-intro {
        padding-top: 35px;
    }

    .page-intro h1 {
        font-size: 38px;
        letter-spacing: -1px;
        margin-bottom: 15px;
    }

    .page-intro p {
        font-size: 13px;
    }

    .page-content {
        padding-top: 28px;
        padding-bottom: 45px;
    }

    .transfer-layout,
    .reservation-layout,
    .fleet-cards {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .service-panel {
        padding: 25px 22px;
    }

    .service-panel h2,
    .service-information h2 {
        font-size: 28px;
    }

    .service-panel .button {
        min-height: 48px;
        font-size: 12px;
    }

    .transfer-prices .rate-currency {
        display: inline;
        font-size: 9px;
    }

    .excursion-extras {
        margin-top: 30px;
        padding-top: 26px;
    }

    .excursion-extras h2 {
        font-size: 27px;
    }

    .fleet-photo {
        height: 245px;
    }

    .fleet-model-copy h2 {
        font-size: 29px;
    }

    .fleet-model-copy > p {
        font-size: 13px;
        min-height: 0;
    }

    .service-note {
        font-size: 11px;
        margin-top: 24px;
    }

    .site-layout .rates-table th,
    .site-layout .rates-table td {
        padding-block: 16px;
    }

    .reservation-information h2 {
        font-size: 27px;
    }

    .reservation-information .factual-list li {
        margin-block: 10px;
    }

    .reservation-information p {
        margin-bottom: 8px;
    }

    .reservation-layout {
        gap: 24px;
    }

    .site-footer {
        padding-top: 32px;
    }

    .footer-main {
        gap: 28px 22px;
        padding-bottom: 28px;
    }

    html[dir="rtl"] .compact-hero-copy {
        align-items: flex-start;
    }

    html[dir="rtl"] .compact-hero-copy h1 {
        width: auto;
        max-width: 100%;
    }

    html[dir="rtl"] .compact-hero h1 {
        font-size: 28px;
        line-height: 1.4;
    }

    html[dir="rtl"] .page-intro h1 {
        font-size: 33px;
    }

    html[dir="rtl"] .site-layout h2 {
        font-size: 28px;
    }

    html[dir="rtl"] .simple-section-heading .text-link {
        font-size: 10px;
    }

    html[dir="rtl"] .site-layout p,
    html[dir="rtl"] .factual-list {
        font-size: 13px;
    }

    html[dir="rtl"] .site-layout .inline-photo-credit {
        font-size: 10px;
    }

    html[dir="rtl"] .site-layout .service-note {
        font-size: 11px;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .compact-hero {
        height: 430px;
    }

    .compact-hero-photo {
        bottom: 160px;
    }

    .compact-hero-copy {
        height: calc(100% - 160px);
    }

    .trip-search {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 7px;
        bottom: 16px;
    }

    .trip-search-field {
        padding-block: 3px;
    }

    .trip-search-field:nth-of-type(3) {
        border-inline-end: 0;
    }

    .trip-search-submit {
        min-height: 52px;
    }
}

@media (max-width: 760px) {
    .trip-search {
        position: relative;
        inset: auto;
        order: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin: 12px;
        padding: 10px;
        border-radius: 5px;
        box-shadow: none;
    }

    .trip-search-field {
        padding: 9px 10px;
        border-bottom: 1px solid #e0e1d8;
    }

    .trip-search-field:nth-of-type(even) {
        border-inline-end: 0;
    }

    .trip-search-field > span {
        font-size: 10px;
    }

    .trip-search-field input,
    .trip-search-field select {
        min-height: 35px;
        font-size: 16px;
    }

    .trip-search-field input::placeholder {
        font-size: 12px;
    }

    .trip-passengers {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 18px;
        border: 0;
        padding-block: 8px;
    }

    .trip-passengers > span {
        margin-bottom: 0;
    }

    .trip-passengers select {
        width: 85px;
    }

    .compact-hero .trip-search-submit {
        grid-column: 1 / -1;
        min-height: 46px;
        margin: 3px 0 0;
        font-size: 13px;
    }

    html[dir="rtl"] .trip-search-field input,
    html[dir="rtl"] .trip-search-field select {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .destination-photo img {
        transition: none;
    }
}
