@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap");

:root {
    --oman-green: #33b793;
    --oman-red: #d50037;
    --oman-purple: #522953;
    --c-primary: #522953;
    --c-primary-dark: #3d1f42;
    --c-accent: #d50037;
    --c-accent-light: #ef6181;
    --c-green: #33b793;
    --c-green-dark: #1c3c34;
    --c-secondary: #1a0d1b;
    --c-surface-light: #f5f0f7;
    --c-purple-tint: #d7bfec;
    --c-red-tint: #eab4c9;
    --c-green-tint: #a1d6d4;
    --c-white: #ffffff;
    --c-black: #000000;
    --brand-btn-gradient-mid: 88%;
    --f-sans: "Poppins", Arial, sans-serif;
    --text-scale: 1;
    --scroll-offset: 88px;
}

html { scroll-behavior: auto; font-size: calc(16px * var(--text-scale)); }
body { font-family: var(--f-sans); position: relative; }
* { box-sizing: border-box; scroll-margin-top: var(--scroll-offset); }
a, button { cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease; }

input::placeholder,
textarea::placeholder {
    color: rgba(82, 41, 83, 0.45);
    opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: rgba(82, 41, 83, 0.45);
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: rgba(82, 41, 83, 0.45);
    opacity: 1;
}

#offcanvasPanel input[type="text"],
#offcanvasPanel textarea {
    color: #522953;
}

body.a11y-high-contrast { --c-primary: #000000; --c-accent: #ff0000; filter: contrast(1.4); }
body.a11y-dyslexia { font-family: "Comic Sans MS", "OpenDyslexic", var(--f-sans); letter-spacing: 0.05em; word-spacing: 0.1em; }
body.a11y-highlight-links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed var(--c-accent); outline-offset: 2px; }
body.a11y-pause-animations *, body.a11y-pause-animations *::before, body.a11y-pause-animations *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.glass-card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }

.section-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    /*background: var(--c-secondary);*/
}

.section-video-bg__player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.section-video-bg__player.is-ready {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .section-video-bg__player {
        display: none;
    }
}

.destinations-parallax-group {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.destinations-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.destinations-parallax-bg__inner {
    position: absolute;
    left: 0;
    right: 0;
    top: -18%;
    height: 136%;
    background: url("../images/img02.webp") center center / cover no-repeat;
    will-change: transform;
}

.destinations-parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(26, 13, 27, 0.52) 0%,
        rgba(61, 31, 66, 0.60) 50%,
        rgba(26, 13, 27, 0.67) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
    .destinations-parallax-bg__inner {
        top: 0;
        height: 100%;
        will-change: auto;
    }
}

.destination-card {
    height: 13.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .destination-card {
        height: 14rem;
    }
}

.destination-card__media {
    transition: transform 0.5s ease;
}

.destination-card__media img {
    display: block;
}

.destination-card.active .destination-card__media,
.destination-card:hover .destination-card__media {
    transform: scale(1.05);
}

.destination-card__panel {
    background: rgba(26, 13, 27, 0.88);
    backdrop-filter: blur(10px);
}

.destination-card__header {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.destination-card__chevron {
    transition: transform 0.35s ease;
    transform: rotate(180deg);
}

.destination-card.active .destination-card__chevron {
    transform: rotate(0deg);
}

.destination-card__expand {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card.active .destination-card__expand {
    grid-template-rows: 1fr;
}

.destination-card__expand-inner {
    overflow: hidden;
    min-height: 0;
}

.destination-card__expand-inner p {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.destination-card.active .destination-card__expand-inner p {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .destination-card__media,
    .destination-card__chevron,
    .destination-card__expand,
    .destination-card__expand-inner p {
        transition: none !important;
    }

    .destination-card.active .destination-card__expand-inner p {
        transform: none;
        opacity: 1;
    }
}

.btn-scroll-top { position: fixed; bottom: 24px; right: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: white; border: none; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease; box-shadow: 0 4px 20px rgba(213, 0, 55, 0.4); }
.btn-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-scroll-top:hover { background: var(--c-accent-light); transform: translateY(-2px); }

.sqbtn { background: var(--c-primary); padding: 12px 6px; text-align: center; font-weight: 500; color: #fff; font-size: 14px; border: none; cursor: pointer; position: fixed; top: calc(50% - 60px); right: 0; z-index: 21; writing-mode: vertical-rl; border-radius: 10px 0 0 10px; box-shadow: -2px 0 12px rgba(0, 0, 0, 0.25); }
.sqbtn:hover { background: var(--c-accent); }

.footer-bg { background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-secondary) 100%); }

body.theme-light { --c-secondary: #f5f0f7; }
body.theme-light .glass-card { background: rgba(82, 41, 83, 0.04); border-color: rgba(82, 41, 83, 0.12); }
body.theme-light section:not(#heroSection) .text-white, body.theme-light section:not(#heroSection) h2, body.theme-light section:not(#heroSection) h3, body.theme-light section:not(#heroSection) h4 { color: var(--c-primary-dark); }
body.theme-light section:not(#heroSection) .text-white\/85, body.theme-light section:not(#heroSection) .text-white\/80, body.theme-light section:not(#heroSection) .text-white\/75, body.theme-light section:not(#heroSection) .text-white\/70, body.theme-light section:not(#heroSection) .text-white\/60 { color: #522953; }
body.theme-light #mainHeader.header-scrolled .nav-link:not(.is-active) { color: var(--c-primary-dark); }
body.theme-light #mainHeader:not(.header-scrolled) .header-nav-link { color: #ffffff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.skip-link:focus { position: fixed; top: 1rem; left: 1rem; z-index: 100; width: auto; height: auto; padding: 0.75rem 1rem; margin: 0; overflow: visible; clip: auto; white-space: normal; background: var(--c-accent); color: white; border-radius: 0.5rem; font-weight: 600; }

.bg__primary { background: var(--c-primary); }
.bg__secondary { background: var(--c-secondary); }

.media-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.35rem;
    max-width: 100%;
    width: 100%;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(82, 41, 83, 0.12);
    box-shadow:
        0 4px 22px rgba(61, 31, 66, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
    .media-tabs {
        width: auto;
        border-radius: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .media-tabs {
        border-radius: 9999px;
    }
}

.media-tabs--compact .media-tab {
    padding: 0.65rem 1.05rem;
    font-size: 0.8125rem;
}

.media-tab {
    position: relative;
    padding: 0.7rem 1.45rem;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #6b4a6e;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition:
        color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 639px) {
    .media-tabs {
        padding: 0.45rem;
        gap: 0.35rem;
    }

    .media-tab {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 0;
        padding: 0.65rem 0.75rem;
        font-size: 0.8125rem;
        white-space: normal;
        text-align: center;
    }
}

.media-tab:hover:not(.media-tab--active) {
    color: var(--c-primary-dark);
    background: rgba(82, 41, 83, 0.07);
}

.media-tab--active {
    color: #fff;
    background: linear-gradient(135deg, #d50037 0%, #872837 var(--brand-btn-gradient-mid), #522953 100%);
    box-shadow:
        0 6px 18px rgba(213, 0, 55, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.media-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 4px var(--c-accent);
}

.media-tab--active:focus-visible {
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 0 4px var(--c-accent),
        0 6px 18px rgba(213, 0, 55, 0.32);
}

.pill-cta__wrap {
    margin-top: auto;
    padding-top: 1.25rem;
}

.pill-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1.15rem;
    min-height: 2.75rem;
    width: fit-content;
    border: 1px solid color-mix(in srgb, var(--c-accent) 22%, transparent);
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, color-mix(in srgb, var(--c-red-tint) 65%, transparent) 100%);
    color: var(--c-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 2px 10px color-mix(in srgb, var(--c-accent) 10%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.pill-cta--block {
    width: 100%;
    justify-content: space-between;
}

.pill-cta > span:first-child {
    display: flex;
    align-items: center;
    line-height: 1;
}

.pill-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-light) 55%, var(--c-red-tint) 100%);
    color: var(--c-white);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--c-accent) 35%, transparent);
    transition:
        background 0.3s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.pill-cta__icon svg {
    width: 0.875rem;
    height: 0.875rem;
}

.pill-cta:hover,
.pill-cta:focus-visible,
.group:hover .pill-cta {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-primary-dark) var(--brand-btn-gradient-mid), var(--c-primary) 100%);
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px color-mix(in srgb, var(--c-accent) 32%, transparent),
        0 2px 6px color-mix(in srgb, var(--c-primary) 18%, transparent);
    outline: none;
}

.pill-cta:hover .pill-cta__icon,
.pill-cta:focus-visible .pill-cta__icon,
.group:hover .pill-cta .pill-cta__icon {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(2px) scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pill-cta:focus-visible {
    box-shadow:
        0 0 0 2px var(--c-surface-light),
        0 0 0 4px var(--c-accent),
        0 10px 24px color-mix(in srgb, var(--c-accent) 32%, transparent);
}

.brand-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--c-accent) 20%, transparent);
    color: var(--c-accent);
}
