/* ============================================================
   Lebay Hotel - Custom Elementor Overrides & Page Styles
   Uses HTML widget (not text editor widget) for rich content
   ============================================================ */

/* ── Elementor global fixes ──────────────────────────────── */
.elementor-page .elementor-section {
    width: 100%;
}

.elementor-widget-html p,
.elementor-widget-html h1,
.elementor-widget-html h2,
.elementor-widget-html h3,
.elementor-widget-html h4 {
    font-family: inherit;
}

/* ── Utility classes used in HTML widgets ────────────────── */
.lh-text-center    { text-align: center; }
.lh-text-left      { text-align: left; }
.lh-text-right     { text-align: right; }

.lh-section-tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 12px;
}

.lh-divider {
    width: 50px;
    height: 2px;
    background: #c9a96e;
    margin: 18px 0 28px;
}

.lh-divider-center {
    margin: 18px auto 28px;
}

.lh-heading {
    font-family: 'Playfair Display', serif;
    color: #1e3a5f;
    line-height: 1.2;
    margin: 0 0 20px;
}

.lh-heading-white { color: #ffffff; }
.lh-heading-gold  { color: #c9a96e; }

.lh-lead {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: #666666;
    margin: 0 0 30px;
}

.lh-lead-white { color: rgba(255,255,255,0.85); }

/* ── Buttons (HTML widget versions) ─────────────────────── */
.lh-btn {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 15px 38px;
    text-decoration: none;
    border: 2px solid #c9a96e;
    background: #c9a96e;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lh-btn:hover {
    background: transparent;
    color: #c9a96e;
    text-decoration: none;
}

.lh-btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.lh-btn-outline:hover {
    background: #ffffff;
    color: #1e3a5f;
}

.lh-btn-navy {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: #ffffff;
}

.lh-btn-navy:hover {
    background: transparent;
    color: #1e3a5f;
}

.lh-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Room / Accommodation Cards ──────────────────────────── */
.lh-room-card {
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.lh-room-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.lh-room-card-img {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.lh-room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.lh-room-card:hover .lh-room-card-img img {
    transform: scale(1.08);
}

.lh-room-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #c9a96e;
    color: #ffffff;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.lh-room-card-body {
    padding: 28px 30px 30px;
}

.lh-room-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1e3a5f;
    margin: 0 0 12px;
}

.lh-room-card-body p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0 0 20px;
}

.lh-amenity-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lh-amenity-list li {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    padding: 5px 12px;
    border: 1px solid #e8e8e8;
    background: #f9f9f9;
}

.lh-room-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.lh-room-from {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── Feature list with icons ─────────────────────────────── */
.lh-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lh-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #555;
}

.lh-feature-list li:last-child { border-bottom: none; }

.lh-feature-list li::before {
    content: '✓';
    color: #c9a96e;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Icon boxes (dining, facilities) ─────────────────────── */
.lh-icon-box {
    text-align: center;
    padding: 50px 35px;
    background: #fff;
    transition: all 0.4s ease;
    border-bottom: 3px solid transparent;
}

.lh-icon-box:hover {
    border-bottom-color: #c9a96e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.lh-icon-box .icon {
    width: 70px;
    height: 70px;
    background: rgba(201,169,110,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.lh-icon-box .icon i,
.lh-icon-box .icon svg {
    font-size: 28px;
    color: #c9a96e;
}

.lh-icon-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1e3a5f;
    margin: 0 0 12px;
}

.lh-icon-box p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

/* ── Facility grid (image overlay style) ─────────────────── */
.lh-facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 3px;
}

.lh-facility-grid .lh-facility-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.lh-facility-grid .lh-facility-item.large {
    grid-column: span 1;
    grid-row: span 2;
}

.lh-facility-grid .lh-facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.lh-facility-grid .lh-facility-item:hover img {
    transform: scale(1.1);
}

.lh-facility-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,58,95,0.85) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lh-facility-grid .lh-facility-item:hover .lh-facility-item-overlay {
    opacity: 1;
}

.lh-facility-item-overlay h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 0;
}

/* ── Stats counter row ───────────────────────────────────── */
.lh-stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 70px 40px;
    background: #1e3a5f;
}

.lh-stat {
    text-align: center;
    color: #ffffff;
}

.lh-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    font-weight: 700;
    color: #c9a96e;
    line-height: 1;
    display: block;
}

.lh-stat-suffix {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #c9a96e;
}

.lh-stat-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
}

/* ── Testimonial cards ───────────────────────────────────── */
.lh-testimonial {
    background: #ffffff;
    padding: 50px 45px 40px;
    position: relative;
    border-top: 3px solid #c9a96e;
}

.lh-testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: #c9a96e;
    opacity: 0.15;
    position: absolute;
    top: 15px;
    left: 25px;
    line-height: 1;
    pointer-events: none;
}

.lh-testimonial-text {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-size: 16px;
    line-height: 1.85;
    color: #666;
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
}

.lh-testimonial-stars {
    color: #c9a96e;
    font-size: 15px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.lh-testimonial-author {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1e3a5f;
}

.lh-testimonial-country {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

/* ── About page image frame ──────────────────────────────── */
.lh-about-img-frame {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.lh-about-img-frame img.main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.lh-about-img-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 3px solid #c9a96e;
    z-index: 0;
}

.lh-about-experience-badge {
    position: absolute;
    bottom: 60px;
    left: -20px;
    z-index: 2;
    background: #1e3a5f;
    color: #ffffff;
    padding: 25px 30px;
    text-align: center;
    min-width: 130px;
}

.lh-about-experience-badge .number {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #c9a96e;
    line-height: 1;
    display: block;
}

.lh-about-experience-badge .text {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-top: 5px;
}

/* ── Contact info blocks ─────────────────────────────────── */
.lh-contact-block {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 35px;
}

.lh-contact-block-icon {
    width: 56px;
    height: 56px;
    background: #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lh-contact-block-icon i {
    color: #c9a96e;
    font-size: 20px;
}

.lh-contact-block-label {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a96e;
    display: block;
    margin-bottom: 5px;
}

.lh-contact-block-value {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: #2c2c2c;
    line-height: 1.5;
}

.lh-contact-block-value a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s;
}

.lh-contact-block-value a:hover { color: #c9a96e; }

/* ── Gallery grid ────────────────────────────────────────── */
.lh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 4px;
}

.lh-gallery-grid .lh-gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.lh-gallery-grid .lh-gallery-item.span2 {
    grid-column: span 2;
    grid-row: span 2;
}

.lh-gallery-grid .lh-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.lh-gallery-grid .lh-gallery-item:hover img {
    transform: scale(1.08);
}

.lh-gallery-item-hover {
    position: absolute;
    inset: 0;
    background: rgba(30,58,95,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lh-gallery-grid .lh-gallery-item:hover .lh-gallery-item-hover {
    opacity: 1;
}

.lh-gallery-item-hover i {
    color: #ffffff;
    font-size: 32px;
}

/* ── Booking bar ─────────────────────────────────────────── */
.lh-booking-bar {
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    padding: 28px 35px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.lh-booking-field {
    flex: 1;
    min-width: 150px;
}

.lh-booking-field label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 8px;
}

.lh-booking-field input,
.lh-booking-field select {
    width: 100%;
    height: 48px;
    border: 1px solid #e8e8e8;
    padding: 0 14px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    background: #fafafa;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.lh-booking-field input:focus,
.lh-booking-field select:focus {
    border-color: #c9a96e;
    background: #fff;
}

/* ── Page hero banners ───────────────────────────────────── */
.lh-page-hero {
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.lh-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30,58,95,0.65);
}

.lh-page-hero-content {
    position: relative;
    z-index: 1;
}

.lh-page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    color: #ffffff;
    margin: 0 0 18px;
}

.lh-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lh-breadcrumb li {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.65);
}

.lh-breadcrumb li a { color: #c9a96e; text-decoration: none; }
.lh-breadcrumb li + li::before {
    content: '/';
    margin-right: 12px;
    color: rgba(255,255,255,0.35);
}

/* ── CTA banner ──────────────────────────────────────────── */
.lh-cta-banner {
    background: #1e3a5f;
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lh-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(201,169,110,0.08) 0%, transparent 70%);
}

.lh-cta-banner-inner { position: relative; z-index: 1; }

/* ── Responsive overrides ────────────────────────────────── */
@media (max-width: 1024px) {
    .lh-facility-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 260px);
    }
    .lh-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    .lh-gallery-grid .lh-gallery-item.span2 {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .lh-stats-row { flex-direction: column; gap: 30px; padding: 50px 20px; }
    .lh-facility-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .lh-facility-grid .lh-facility-item { height: 250px; }
    .lh-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .lh-about-img-frame { padding-right: 0; padding-bottom: 0; }
    .lh-about-img-frame::after { display: none; }
    .lh-about-experience-badge { display: none; }
    .lh-booking-bar { flex-direction: column; }
    .lh-booking-field { min-width: 100%; }
    .lh-page-hero h1 { font-size: 36px; }
    .lh-btn-group { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .lh-gallery-grid { grid-template-columns: 1fr; }
    .lh-gallery-grid .lh-gallery-item.span2 { grid-column: span 1; }
    .lh-page-hero h1 { font-size: 28px; }
}
