/* ============================================================
   Ohana Holidays — Premium UI/UX overrides
   Layered on top of style.css. Emerald + gold luxury palette.
   ============================================================ */

:root {
    --emerald: #0B3D2C;
    --emerald-deep: #082c20;
    --green: #1c7a4d;
    --green-bright: #2fa66a;
    --gold: #d4a24c;
    --gold-soft: #e8c785;
    --ink: #16201b;
    --muted: #6b766f;
    --cream: #f7f5ef;
    --line: rgba(11, 61, 44, .10);
    --shadow-sm: 0 6px 18px rgba(16, 32, 27, .08);
    --shadow-md: 0 18px 40px rgba(16, 32, 27, .14);
    --shadow-lg: 0 30px 70px rgba(16, 32, 27, .22);
    --radius: 18px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base typography ---------- */
body {
    font-family: 'Prompt', sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: var(--cream);
}

h1, h2, h3, .section-title h2, .hero-content h1 {
    font-family: 'Cormorant Garamond', 'Prompt', serif;
    letter-spacing: .2px;
}

::selection {
    background: var(--green-bright);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* ---------- Buttons ----------
   The theme renders .main-btn as a pill with a 50px circular icon on the
   right (padding: 3px 3px 3px 40px). Keep that geometry; only restyle skin. */
.main-btn {
    font-weight: 600;
    letter-spacing: .3px;
    border: none;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.main-btn.primary-btn {
    background: linear-gradient(135deg, var(--green-bright), var(--emerald)) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(11, 61, 44, .30);
}

.main-btn.secondary-btn {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold)) !important;
    color: var(--emerald-deep) !important;
    box-shadow: 0 12px 26px rgba(212, 162, 76, .30);
}

.main-btn.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px rgba(11, 61, 44, .42);
    color: #fff !important;
}

.main-btn.secondary-btn:hover {
    transform: translateY(-3px);
    color: var(--emerald-deep) !important;
    box-shadow: 0 20px 38px rgba(212, 162, 76, .42);
}

/* Circular icon chip inside the button */
.main-btn.primary-btn i {
    background: #fff;
    color: var(--emerald) !important;
    transition: transform .35s var(--ease);
}

.main-btn.secondary-btn i {
    background: var(--emerald);
    color: #fff !important;
    transition: transform .35s var(--ease);
}

.main-btn:hover i {
    transform: rotate(-8deg) scale(1.04);
}

/* ---------- Header / nav ---------- */
.header-navigation {
    transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}

/* Subtle top scrim so white nav text stays legible even when the
   transparent header floats over a light section after an anchor jump. */
.transparent-header .header-navigation:not(.sticky) {
    background: linear-gradient(180deg, rgba(8, 44, 32, .38) 0%, rgba(8, 44, 32, 0) 100%);
}

/* Premium emerald glass when scrolled (overrides theme's flat #1D231F). */
.header-two .header-navigation.sticky,
.header-navigation.sticky {
    background: rgba(8, 44, 32, .82) !important;
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 12px 34px rgba(8, 44, 32, .28);
}

.main-menu ul li a {
    font-weight: 500;
    letter-spacing: .3px;
    position: relative;
}

.main-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--green-bright), var(--gold));
    transition: width .35s var(--ease);
}

.main-menu ul li a:hover::after {
    width: 100%;
}

/* ---------- Hero ---------- */
.hero-section .single-slider {
    position: relative;
}

.hero-section .image-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 44, 32, .35) 0%, rgba(8, 44, 32, .15) 35%, rgba(8, 44, 32, .78) 100%),
        radial-gradient(120% 80% at 50% 20%, rgba(0, 0, 0, 0) 40%, rgba(8, 44, 32, .35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.hero-content .ribbon {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    padding: 9px 22px;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-content h1 {
    font-size: clamp(44px, 7vw, 92px);
    font-weight: 600;
    line-height: 1.02;
    margin-bottom: 18px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}

.hero-content .hero-text {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(15px, 1.4vw, 19px);
    max-width: 620px;
    margin: 0 auto 34px;
    font-weight: 300;
    line-height: 1.6;
}

/* Slick dots refinement */
.hero-slider-two .slick-dots {
    bottom: 34px;
}

.hero-slider-two .slick-dots li button:before {
    color: #fff !important;
    opacity: .5;
    font-size: 10px;
}

.hero-slider-two .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--gold-soft) !important;
}

/* ---------- Section titles ---------- */
.section-title .sub-title {
    display: inline-block;
    color: var(--green-bright);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 14px;
    position: relative;
}

.section-title.text-center .sub-title::before,
.section-title.text-center .sub-title::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 12px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 600;
    color: var(--emerald);
    line-height: 1.12;
}

/* ---------- Enquiry / Booking form ---------- */
.contact-section {
    position: relative;
}

.contact-area {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 40px 40px 36px;
    margin-top: -120px;
    position: relative;
    z-index: 5;
}

/* Theme ships this as a single horizontal search bar (flex, 18.5% wide
   fields). Convert it to a clean two-column enquiry grid. */
.booking-form-two {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    align-items: stretch;
}

.booking-form-two .form_group {
    width: auto !important;
    flex: initial !important;
    margin: 0;
    position: relative;
}

.booking-form-two .form_group:last-child {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.booking-form-two .form_group > span {
    display: none;
}

.booking-form-two .form_control {
    width: 100%;
    height: 60px;
    border: 1.5px solid var(--line);
    border-radius: 14px !important;
    background: var(--cream);
    padding: 16px 18px 16px 52px !important;
    line-height: 28px;
    font-size: 15px;
    color: var(--ink);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}

.booking-form-two .form_control::placeholder {
    color: var(--muted);
    opacity: 1;
}

.booking-form-two .form_control:focus {
    outline: none;
    border-color: var(--green-bright);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 166, 106, .14);
}

/* Move the icon to the left of the field */
.booking-form-two .form_group label {
    position: absolute;
    left: 18px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 16px;
    pointer-events: none;
    margin: 0;
}

.booking-form-two .booking-btn {
    width: 100%;
    height: 60px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: .6px;
    border: none !important;
    border-radius: 60px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--green-bright), var(--emerald)) !important;
    box-shadow: 0 14px 30px rgba(11, 61, 44, .30);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.booking-form-two .booking-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(11, 61, 44, .42);
    color: #fff !important;
}

.booking-form-two .booking-btn i {
    margin-left: 8px;
}

/* ---------- Cards: shared elevation ---------- */
.single-features-item-two,
.single-place-item-two {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
    background: #fff;
    font-size: 0; /* kill inline-element baseline gap */
}

.single-place-item-two > a {
    display: block;
}

.single-features-item-two:hover,
.single-place-item-two:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.single-place-item {
    transition: transform .45s var(--ease);
}

.single-place-item:hover {
    transform: translateY(-8px);
}

/* ---------- Activities (features) ---------- */
.single-features-item-two .img-holder {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.single-features-item-two .img-holder img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.single-features-item-two:hover .img-holder img {
    transform: scale(1.08);
}

.single-features-item-two .item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(8, 44, 32, 0) 40%, rgba(8, 44, 32, .82) 100%);
    opacity: 1;
}

.single-features-item-two .item-overlay .title {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    transform: translateY(6px);
    transition: transform .4s var(--ease);
}

.single-features-item-two:hover .item-overlay .title {
    transform: translateY(0);
}

.single-features-item-two .item-overlay .title::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin-top: 8px;
    background: var(--gold-soft);
    transition: width .45s var(--ease);
}

.single-features-item-two:hover .item-overlay .title::after {
    width: 46px;
}

/* ---------- Packages (places) — original layout + glassmorphism ---------- */
.single-place-item .place-img {
    overflow: hidden;
    border-radius: 16px;
}

.single-place-item .place-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    transition: transform .8s var(--ease);
}

.single-place-item:hover .place-img img {
    transform: scale(1.07);
}

.single-place-item .place-content .info {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: box-shadow .45s var(--ease), background .45s var(--ease);
}

.single-place-item:hover .place-content .info {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.single-place-item .place-content .title a {
    color: var(--emerald);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    transition: color .3s var(--ease);
}

.single-place-item:hover .place-content .title a {
    color: var(--green-bright);
}

.single-place-item .location {
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0 12px;
}

.single-place-item .location i {
    color: var(--gold);
    margin-right: 6px;
}

.single-place-item .price {
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
}

.single-place-item .price i {
    color: var(--green-bright);
    margin-right: 6px;
}

.single-place-item .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(29, 35, 31, 0.1);
}

.single-place-item .meta span:first-child {
    color: var(--emerald);
    font-weight: 600;
    font-size: 14px;
}

.single-place-item .meta i {
    color: var(--gold);
    margin-right: 6px;
}

.single-place-item .meta a {
    color: var(--green-bright);
    font-weight: 600;
    font-size: 14px;
    transition: gap .3s var(--ease), color .3s var(--ease);
}

.single-place-item .meta a:hover {
    color: var(--emerald);
}

.single-place-item .meta a i {
    color: inherit;
    margin-left: 6px;
    margin-right: 0;
}

/* ---------- Destinations ---------- */
.single-place-item-two .place-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.single-place-item-two .place-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.single-place-item-two:hover .place-img img {
    transform: scale(1.1);
}

.single-place-item-two .place-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 44, 32, 0) 45%, rgba(8, 44, 32, .85) 100%);
}

.single-place-item-two .place-content {
    z-index: 2;
}

.single-place-item-two .place-content .title {
    font-size: 28px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.single-place-item-two .tour-count {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: var(--emerald-deep) !important;
    font-weight: 600;
    border-radius: 60px;
    padding: 7px 18px;
    font-size: 13px;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(212, 162, 76, .35);
}

/* ---------- About ---------- */
.about-two_content-box p {
    color: var(--muted);
    line-height: 1.85;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin-top: 28px;
}

.card-list .card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.card-list .card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-list .card-item i {
    color: var(--green-bright);
    font-size: 18px;
}

.about-one_image-box img {
    border-radius: var(--radius) var(--radius) 160px var(--radius) !important;
    box-shadow: var(--shadow-lg);
}

/* ---------- CTA ---------- */
.cta-bg.overlay::before {
    background: linear-gradient(120deg, rgba(8, 44, 32, .85), rgba(11, 61, 44, .55)) !important;
    opacity: 1 !important;
}

.cta-content-box .sub-title {
    display: inline-block;
    color: var(--gold-soft);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 14px;
}

.cta-content-box h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 600;
}

/* ---------- Footer ---------- */
.main-footer.black-bg {
    background: linear-gradient(180deg, var(--emerald-deep), #061f17) !important;
}

.footer-cta .single-cta-item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 26px 28px;
    transition: transform .4s var(--ease), background .4s var(--ease);
}

.footer-cta .single-cta-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .07);
}

.footer-cta .single-cta-item .title {
    color: #fff;
    font-family: 'Prompt', sans-serif;
    font-size: 19px;
    line-height: 1.5;
}

.footer-widget-nav li a {
    color: rgba(255, 255, 255, .78);
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}

.footer-widget-nav li a:hover {
    color: var(--gold-soft);
    padding-left: 6px;
}

.footer-widget-nav li a i {
    color: var(--green-bright);
    margin-right: 8px;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 22px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, .7);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45) !important;
    transition: transform .35s var(--ease);
    animation: wa-pulse 2.4s infinite;
}

.whatsapp i {
    padding: 0 !important;
}

.whatsapp:hover {
    transform: scale(1.08);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .45); }
    70% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .booking-form-two {
        grid-template-columns: 1fr;
    }
    .contact-area {
        margin-top: -70px;
        padding: 28px 20px 24px;
    }
    .card-list {
        grid-template-columns: 1fr;
    }
    .single-features-item-two .img-holder img {
        height: 300px;
    }
}
