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

:root {
    --gh-accent: #E07A5F;
    --gh-accent-hover: #c9684f;
    --gh-dark: #2a2a2a;
    --gh-muted: #717171;
    --gh-bg: #F7F7F7;
    --gh-white: #FFFFFF;
    --gh-font: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.guest-house-page {
    font-family: var(--gh-font);
    font-weight: 400;
    color: var(--gh-dark);
    background: var(--gh-white);
    -webkit-font-smoothing: antialiased;
}

/* Floating top bar */
.gh-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.gh-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.gh-topbar-btn--back {
    color: var(--gh-dark);
    background: var(--gh-bg);
}

.gh-topbar-btn--back:hover {
    background: #ebebeb;
    color: var(--gh-dark);
}

.gh-topbar-btn--phone {
    color: #fff;
    background: var(--gh-accent);
}

.gh-topbar-btn--phone:hover {
    background: var(--gh-accent-hover);
    color: #fff;
}

/* Hero slideshow */
.gh-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.gh-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gh-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 6s ease;
}

.gh-hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.gh-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.3) 45%,
        rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
}

.gh-hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.gh-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gh-hero-dot.is-active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.gh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    animation: ghHeroFadeIn 1s ease 0.3s both;
}

@keyframes ghHeroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gh-hero h1 {
    color: #fff;
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.gh-hero-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* CTA buttons with shimmer */
.gh-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.gh-cta--primary {
    background: var(--gh-accent);
    color: #fff;
    box-shadow: 0 4px 18px rgba(224, 122, 95, 0.3);
}

.gh-cta--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 80%
    );
    animation: ghShimmer 3.5s ease-in-out infinite;
}

@keyframes ghShimmer {
    0%, 100% { left: -120%; }
    50% { left: 140%; }
}

.gh-cta--primary:hover {
    background: var(--gh-accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 122, 95, 0.4);
}

.gh-cta--outline {
    background: transparent;
    color: var(--gh-dark);
    border: 1.5px solid rgba(42, 42, 42, 0.25);
}

.gh-cta--outline:hover {
    background: var(--gh-dark);
    color: #fff;
    border-color: var(--gh-dark);
}

.gh-cta--white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gh-accent);
    backdrop-filter: blur(4px);
}

.gh-cta--white:hover {
    background: #fff;
    color: var(--gh-accent-hover);
    transform: translateY(-2px);
}

.gh-cta--white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(224, 122, 95, 0.12) 50%,
        transparent 80%
    );
    animation: ghShimmer 4s ease-in-out infinite;
}

/* Scroll animations */
.gh-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.gh-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gh-animate--left {
    transform: translateX(-28px);
}

.gh-animate--left.is-visible {
    transform: translateX(0);
}

.gh-animate--right {
    transform: translateX(28px);
}

.gh-animate--right.is-visible {
    transform: translateX(0);
}

.gh-animate--scale {
    transform: scale(0.96);
}

.gh-animate--scale.is-visible {
    transform: scale(1);
}

.gh-animate-delay-1 { transition-delay: 0.1s; }
.gh-animate-delay-2 { transition-delay: 0.2s; }
.gh-animate-delay-3 { transition-delay: 0.3s; }
.gh-animate-delay-4 { transition-delay: 0.4s; }

/* Section spacing */
.gh-section {
    padding: 4.5rem 1.5rem;
}

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

.gh-section--beach-bg {
    position: relative;
    background-image: url('../uploads/project_images/img_6a3062e9338a21.24739863.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5.5rem 1.5rem;
}

.gh-section--beach-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.78) 50%,
        rgba(254, 250, 248, 0.85) 100%
    );
    pointer-events: none;
}

.gh-section--beach-bg__content {
    position: relative;
    z-index: 1;
}

.gh-section--beach-bg .gh-section-title {
    color: var(--gh-dark);
}

.gh-section--beach-bg__text {
    color: #4a4a4a;
}

@media (max-width: 767px) {
    .gh-section--beach-bg {
        background-attachment: scroll;
    }
}

.gh-section-title {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.gh-section-subtitle {
    color: var(--gh-muted);
    font-size: 1rem;
    font-weight: 400;
    max-width: 40rem;
    line-height: 1.6;
}

/* Offer section + marquee */
.gh-offer-section {
    overflow: hidden;
}

.gh-marquee-wrap {
    overflow: hidden;
    margin-bottom: 2rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.gh-marquee {
    display: flex;
    width: max-content;
    animation: ghMarquee 28s linear infinite;
}

.gh-marquee:hover {
    animation-play-state: paused;
}

.gh-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex-shrink: 0;
}

.gh-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gh-accent);
}

.gh-marquee-item i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.gh-marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gh-accent);
    opacity: 0.35;
    flex-shrink: 0;
}

@keyframes ghMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gh-offer-card {
    position: relative;
    background: linear-gradient(145deg, #fff 0%, #fefaf8 100%);
    border: 1px solid rgba(224, 122, 95, 0.15);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 12px 40px rgba(224, 122, 95, 0.08);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.gh-offer-card:hover {
    box-shadow: 0 20px 50px rgba(224, 122, 95, 0.12);
    transform: translateY(-3px);
}

.gh-offer-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(224, 122, 95, 0.3), transparent 40%, rgba(224, 122, 95, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gh-offer-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gh-accent);
    background: rgba(224, 122, 95, 0.1);
    margin-bottom: 1rem;
}

.gh-price {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--gh-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.gh-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gh-muted);
}

.gh-offer-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    color: var(--gh-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

.gh-offer-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gh-offer-features i {
    color: var(--gh-accent);
    font-size: 0.7rem;
}

/* Amenity cards */
.gh-amenity {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
    height: 100%;
}

.gh-amenity:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.gh-amenity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(224, 122, 95, 0.1);
    color: var(--gh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.gh-amenity:hover .gh-amenity-icon {
    transform: scale(1.08);
}

.gh-amenity h3 {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Highlights strip */
.gh-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.gh-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 400;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gh-highlight-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.gh-highlight-badge i {
    color: #22c55e;
    font-size: 0.85rem;
}

/* CTA band */
.gh-cta-band {
    background: linear-gradient(135deg, var(--gh-accent) 0%, #d4644a 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.gh-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%);
    animation: ghPulseGlow 4s ease-in-out infinite;
}

@keyframes ghPulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.gh-cta-band h2 {
    font-weight: 500;
    font-size: 1.5rem;
    position: relative;
}

.gh-cta-band p {
    position: relative;
    font-weight: 400;
}

/* Gallery */
.gh-gallery-grid .glightbox img {
    transition: transform 0.7s ease;
}

.gh-gallery-grid .glightbox:hover img {
    transform: scale(1.06);
}

.gh-gallery-more {
    display: none;
    grid-column: 1 / -1;
}

.gh-gallery-more.is-visible {
    display: grid;
}

/* Video section */
.gh-video-wrap {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.gh-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gh-video-pause-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 10;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gh-video-pause-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.gh-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.4);
}

/* POI cards */
.gh-poi-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.gh-poi-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.gh-poi-card h3 {
    font-weight: 500;
    font-size: 1.05rem;
}

.gh-poi-distance {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(224, 122, 95, 0.08);
    color: var(--gh-accent);
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Date chips */
.gh-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 0.875rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gh-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease;
}

.gh-date-chip:hover {
    transform: translateY(-2px);
}

.gh-date-chip i {
    color: #22c55e;
}

/* Contact & share */
.gh-contact-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.gh-contact-phone {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--gh-accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.gh-contact-phone:hover {
    opacity: 0.8;
    color: var(--gh-accent);
}

.gh-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.2s ease;
    text-decoration: none;
    color: #fff;
}

.gh-share-btn:hover {
    opacity: 0.92;
    color: #fff;
    transform: translateY(-2px);
}

.gh-share-btn--fb {
    background: #1877F2;
}

.gh-share-btn--viber {
    background: #7360F2;
}

/* Sticky mobile CTA */
.gh-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.gh-mobile-cta .gh-cta {
    width: 100%;
}

/* Quote block */
.gh-quote {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-style: italic;
    font-weight: 300;
    color: var(--gh-dark);
    border-left: 3px solid var(--gh-accent);
    padding-left: 1.5rem;
    line-height: 1.7;
}

/* Floating decorative elements */
.gh-float-icon {
    animation: ghFloat 5s ease-in-out infinite;
}

@keyframes ghFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 767px) {
    .gh-mobile-cta {
        display: block;
    }

    body.guest-house-page {
        padding-bottom: 5rem;
    }

    .gh-topbar-btn span.gh-topbar-label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gh-hero-slide,
    .gh-marquee,
    .gh-animate,
    .gh-cta--primary::after,
    .gh-cta--white::after,
    .gh-float-icon {
        animation: none !important;
        transition: none !important;
    }

    .gh-animate {
        opacity: 1;
        transform: none;
    }
}
