/* Professional design pass, layered on top of the faithfully-ported
   original theme (style.css/hover.css/admin-style.css). Keeps the
   brand palette (greens #089151/#00A85A, orange #FF9B37 accents) but
   raises typography, hierarchy, and card/button polish to a more
   premium hospitality-site standard. */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --brand-green: #089151;
    --brand-green-dark: #066b3c;
    --brand-orange: #FF9B37;
    --ink: #1f2937;
    --muted: #6b7280;
    --radius: 12px;
    --shadow-sm: 0 2px 10px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.12);
}

/* Safety net: guarantee no page-level horizontal scroll regardless of
   source (e.g. a transform-positioned carousel track that slightly
   affects layout width even under a correctly-clipped overflow:hidden
   ancestor - a real, if minor, cross-browser quirk, not just a
   measurement artifact). Nothing on this site is meant to scroll
   horizontally, so this is safe globally. */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Muli', sans-serif;
    color: var(--ink);
}

h1, h2, h3, h4, .headding h2, .pkgs-title, .p-title {
    font-family: 'Poppins', 'Montserrat', sans-serif !important;
    letter-spacing: -0.01em;
}

/* --- Nav: sticky, elevated, modern hover states --- */
.top-link {
    background: linear-gradient(90deg, var(--brand-green-dark) 0%, var(--brand-green) 100%);
    font-size: 13px;
}

.top-link ul li a {
    transition: opacity 0.15s ease-in-out;
}

.top-link ul li a:hover {
    opacity: 0.8;
}

.header {
    box-shadow: 0 2px 16px rgba(16, 24, 40, 0.1);
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(6px);
}

/* Push the whole nav (and Book Now) to the right side of the header,
   away from the logo, instead of hugging its left edge. */
@media (min-width: 992px) {
    #main-menu.sm-clean {
        float: right;
    }
}

#main-nav .sm-clean > li {
    margin: 0 2px;
}

#main-nav .sm-clean > li > a {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    border-radius: 8px;
    padding: 10px 16px !important;
    position: relative;
    transition: color 0.15s ease-in-out, background 0.15s ease-in-out;
}

#main-nav .sm-clean > li > a:hover,
#main-nav .sm-clean > li > a.current {
    background: rgba(8, 145, 81, 0.08);
}

/* Underline reserved via an always-present (but transparent-by-default)
   absolutely-positioned bar, so toggling it on hover/current never adds
   flow height and shifts the row - it just changes color/opacity. */
#main-nav .sm-clean > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-green);
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

#main-nav .sm-clean > li > a.current::after,
#main-nav .sm-clean > li > a:hover::after {
    opacity: 1;
}

/* "Book Now" nav CTA - align with the site-wide gradient button system */
#main-nav .sm-clean > li > a.btn-success {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%) !important;
    border-radius: 24px !important;
    padding: 9px 22px !important;
    box-shadow: 0 4px 14px rgba(8, 145, 81, 0.3);
    margin-left: 8px;
}

#main-nav .sm-clean > li > a.btn-success:hover {
    box-shadow: 0 6px 18px rgba(8, 145, 81, 0.4);
    transform: translateY(-1px);
}

#main-nav .sm-clean > li > a.btn-success::after {
    display: none !important;
}

/* --- Logo card --- */
.header .logo {
    box-shadow: var(--shadow-md);
}

/* --- Hero with text overlay --- */
.hero-wrap {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(6, 40, 24, 0.72) 0%, rgba(6, 40, 24, 0.35) 55%, rgba(6, 40, 24, 0.05) 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-overlay-inner {
    max-width: 620px;
    padding: 0 60px;
    color: #fff;
    pointer-events: auto;
}

.hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #b9f5d0;
    margin-bottom: 14px;
}

.hero-overlay-inner h1 {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-overlay-inner p {
    font-size: 17px;
    color: #eef7f0;
    margin-bottom: 26px;
    max-width: 480px;
}

.btn-hero {
    display: inline-block;
    background: var(--brand-green);
    color: #fff !important;
    padding: 13px 32px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(8, 145, 81, 0.4);
    transition: all 0.2s ease-in-out;
}

.btn-hero:hover {
    background: var(--brand-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 145, 81, 0.5);
    color: #fff !important;
}

@media (max-width: 767px) {
    .hero-overlay-inner { padding: 0 24px; max-width: 100%; }
    .hero-overlay-inner h1 { font-size: 28px; }
    .hero-overlay { background: linear-gradient(180deg, rgba(6,40,24,0.75) 0%, rgba(6,40,24,0.55) 100%); align-items: flex-end; padding-bottom: 30px; }
}

/* --- Section rhythm --- */
.reasons-wrap,
.package-wrap,
.home-review,
.update-wrap {
    padding-top: 64px;
    padding-bottom: 64px;
}

.headding h2,
.update-wrap .headding h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 8px;
}

.headding h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--brand-orange);
    margin-top: 12px;
}

.update-wrap .headding.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* --- Feature strip --- */
.reasons-wrap {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
}

.reasons-wrap .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* style.css's .service-icon i has its own font-size:45px/padding:10px
   (designed for a plain unstyled icon, not a circle badge) which
   overflows and off-centers inside our 64px circle - reset it. */
.reasons-wrap .service-icon i {
    padding: 0;
    font-size: 26px;
    display: block;
    line-height: 1;
}

/* --- Cards: rooms, packages, blog --- */
.package-box,
.update-wrap .blog-inner {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    padding: 18px 18px 20px;
}

.package-wrap .col-sm-4:hover .package-box,
.update-wrap .col-sm-4:hover .blog-inner {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.package-wrap img,
.update-wrap img {
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pkgs-title {
    font-weight: 700;
    font-size: 16px;
}

.price-inner .price span {
    font-weight: 700;
    color: var(--brand-green);
    font-size: 18px;
}

/* --- Buttons: one cohesive system across the whole site ---
   Solid gradient fill + elevation-on-hover, instead of flat outlined
   pills. Every action button (hero CTA, card CTAs, form submits,
   admin buttons) shares this base look so the site doesn't read as a
   patchwork of different button eras. */
.pkg-book,
.read-more,
.hvr-fade,
.btn,
.btn-hero {
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.pkg-book,
.read-more {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #fff !important;
    border: none;
    padding: 6px 18px;
    font-size: 13px;
    box-shadow: 0 4px 14px rgba(8, 145, 81, 0.28);
}

.pkg-book:hover,
.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(8, 145, 81, 0.4);
    color: #fff !important;
}

.pkg-book:active,
.read-more:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(8, 145, 81, 0.3);
}

/* Secondary/outline variant, for less prominent actions (e.g. "Cancel") */
.btn-outline-brand {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--brand-green) !important;
    color: var(--brand-green) !important;
    padding: 8px 24px;
}

.btn-outline-brand:hover {
    background: var(--brand-green);
    color: #fff !important;
    transform: translateY(-2px);
}

/* --- Admin buttons: same system, more restrained --- */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%) !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(8, 145, 81, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(8, 145, 81, 0.35);
}

.btn-secondary {
    border-radius: 8px !important;
}

.btn-danger {
    border-radius: 8px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.3);
}

/* Bootstrap 5's default `a{text-decoration:underline}` bleeds through
   everywhere - the original theme (built for Bootstrap 3, which
   defaulted links to no underline outside .btn) never had to account
   for this. Remove it site-wide and replace with a tasteful, consistent
   hover treatment instead of a plain underline. */
a {
    text-decoration: none;
}

/* Inline text links inside prose (descriptions, excerpts, emails) still
   want *some* hover affordance - an animated underline that grows in,
   rather than an always-on static one. Buttons/pills/nav/cards opt out
   below since they already have their own hover treatment. */
.content-main p a,
.welcome-inner a,
.footer-bottom a,
.social-links a {
    background-image: linear-gradient(var(--brand-green), var(--brand-green));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.2s ease-in-out;
    padding-bottom: 1px;
}

.content-main p a:hover,
.welcome-inner a:hover {
    background-size: 100% 1px;
}

.pkgs-title,
.p-title,
.review-name,
.listing-card-title,
.listing-card a,
.package-box a,
.blog-inner a,
.headding a,
h1 a, h2 a, h3 a, h4 a {
    text-decoration: none !important;
}

/* --- Welcome section --- */
.welcome-tag {
    color: var(--brand-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
}

/* --- Reviews: glass cards on dark overlay --- */
.home-review {
    position: relative;
}

.home-review h3 {
    font-weight: 700;
    margin-bottom: 36px;
}

.home-review .review-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    transition: transform 0.2s ease;
    padding: 26px 20px;
}

.home-review .review-box:hover {
    transform: translateY(-4px);
}

/* --- Blog cards --- */
.update-wrap .p-title {
    font-weight: 700;
    display: block;
    margin-top: 12px;
}

.news-date-time {
    color: var(--muted);
    font-size: 13px;
}

/* --- Flash alerts (session success/error) --- */
.site-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1140px;
    margin: 18px auto;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    animation: site-alert-in 0.25s ease-out;
}

.site-alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.site-alert span {
    flex: 1;
}

.site-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    opacity: 0.6;
    cursor: pointer;
    padding: 0 4px;
}

.site-alert-close:hover {
    opacity: 1;
}

.site-alert-success {
    background: #e9f9f0;
    border: 1px solid #b6ecd0;
    color: var(--brand-green-dark);
}

.site-alert-error {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #a12626;
}

@keyframes site-alert-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Fixed WhatsApp button, visible on every page --- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
    color: #fff !important;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}

/* --- OwlCarousel 2.x structural safety net ---
   The CDN stylesheet (owl.carousel.min.css) provides this, but depending
   on a single external stylesheet load for a layout-critical clipping
   rule is fragile - without it, .owl-stage renders all slides side by
   side unclipped, causing real horizontal page overflow on narrow
   viewports. Duplicate the essential rule here so it's never missing. */
.owl-carousel {
    display: block;
}
.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.owl-carousel .owl-stage {
    display: flex;
}
.owl-carousel .owl-item {
    flex-shrink: 0;
}

/* --- FAQ accordion --- */
.faq-wrap .accordion-item {
    border: 1px solid #eaeaea;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-wrap .accordion-button {
    font-weight: 600;
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.faq-wrap .accordion-button:not(.collapsed) {
    background: rgba(8, 145, 81, 0.08);
    color: var(--brand-green-dark);
    box-shadow: none;
}

.faq-wrap .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(8, 145, 81, 0.15);
}

/* --- Footer refinement --- */
.hotel-location {
    padding-top: 48px;
}

.hotel-location h4 {
    font-weight: 700;
}

/* --- Interior page header banner (rooms, packages, blog, gallery, etc) --- */
.page-header-banner {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    padding: 48px 0 28px;
    margin-bottom: 48px;
    text-align: center;
}

.page-header-banner h1 {
    color: #fff !important;
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.page-header-subtitle {
    color: #eef7f0;
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto 14px;
}

.page-header-banner .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
}

.page-header-banner .breadcrumb-item,
.page-header-banner .breadcrumb-item a {
    color: #d8f3e2;
}

.page-header-banner .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

.page-header-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #b9f5d0;
}

@media (max-width: 767px) {
    .page-header-banner { padding: 32px 0 20px; margin-bottom: 32px; }
    .page-header-banner h1 { font-size: 26px; }
}

/* --- Interior page content rhythm --- */
.page-content-wrap {
    padding-bottom: 64px;
}

.page-content-wrap .page-body h1,
.page-content-wrap .page-body h2,
.page-content-wrap .page-body h3 {
    font-weight: 700;
}

/* --- Listing cards: rooms/packages/videos/reviews interior pages
       reuse the same visual language as the homepage .package-box --- */
.listing-wrap {
    padding-bottom: 64px;
}

.listing-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.listing-card img.listing-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.listing-card .listing-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-card .listing-card-title {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.listing-card .listing-card-title:hover {
    color: var(--brand-green);
}

.listing-card .listing-card-text {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* --- Detail page boxes (booking form, price panels) --- */
.detail-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.detail-box h4 {
    font-weight: 700;
    margin-bottom: 18px;
}

.detail-price {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--brand-green);
    font-size: 20px;
}

/* --- Blog list (interior) card --- */
.list-cat {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    margin-bottom: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.list-cat img {
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* --- Gallery grid --- */
.gallery-item-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 24px;
}

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

.gallery-item-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.gallery-item-card .gallery-item-body {
    padding: 12px 14px;
}

/* --- Admin: index tables/cards + form controls --- */
.main-content .table,
.side-bar {
    border-radius: 8px;
    overflow: hidden;
}

.form-control,
.form-select {
    border-radius: 6px !important;
}
