/*
Theme Name: Talaudyong Garden Beach Cabins
Theme URI: https://www.tgbcabins.com/
Author: TGB Cabins
Description: Lightweight custom WordPress theme for Talaudyong Garden Beach Cabins, rebuilt from the original Squarespace site.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tgb-cabins
*/

:root {
  --tgb-ink: #24342c;
  --tgb-muted: #65736b;
  --tgb-sand: #f5f0e7;
  --tgb-cream: #fbfaf6;
  --tgb-leaf: #38634f;
  --tgb-leaf-dark: #254838;
  --tgb-sea: #477b86;
  --tgb-line: #d8ddd8;
  --tgb-white: #ffffff;
  --tgb-shadow: 0 18px 50px rgba(32, 54, 44, .13);
  --tgb-radius: 18px;
  --tgb-wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tgb-ink);
  background: var(--tgb-cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: var(--tgb-leaf-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tgb-sea); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }

.wrap { width: min(calc(100% - 40px), var(--tgb-wrap)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,250,246,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216,221,216,.85);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { display: flex; align-items: center; gap: 12px; color: var(--tgb-ink); text-decoration: none; font-weight: 700; }
.site-brand img { width: 56px; height: 56px; object-fit: contain; }
.site-brand span { max-width: 260px; line-height: 1.15; }
.site-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav-book a, .btn { background: var(--tgb-leaf); color: var(--tgb-white) !important; border-radius: 999px; padding: 12px 19px; text-decoration: none; display: inline-block; font-weight: 700; border: 0; cursor: pointer; }
.btn:hover { background: var(--tgb-leaf-dark); }
.btn.alt { background: transparent; color: var(--tgb-leaf-dark) !important; border: 1px solid var(--tgb-leaf); }
.mobile-toggle { display: none; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; }

.hero { min-height: 76vh; display: grid; place-items: end start; position: relative; overflow: hidden; background: #22352c; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,33,27,.88) 0%, rgba(17,33,27,.64) 48%, rgba(17,33,27,.22) 78%); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; padding: 90px 0 84px; color: white; max-width: 700px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; margin-bottom: 15px; }
.hero h1, .page-hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.06; margin: 0 0 18px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
.hero p { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn.alt { color: white !important; border-color: rgba(255,255,255,.7); }

.section { padding: 88px 0; }
.section.soft { background: var(--tgb-sand); }
.section-head { margin-bottom: 42px; max-width: 760px; }
.section-head h2, .content h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.1; margin: 0 0 12px; font-weight: 500; }
.section-head p { color: var(--tgb-muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: white; border-radius: var(--tgb-radius); overflow: hidden; box-shadow: var(--tgb-shadow); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 28px; }
.card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; margin: 0 0 10px; }
.card p { margin: 0; color: var(--tgb-muted); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-extra { align-items: start; margin-top: 65px; }
.split img { border-radius: var(--tgb-radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--tgb-shadow); }
.checks { list-style: none; padding: 0; margin: 25px 0 0; }
.checks li { margin: 12px 0; padding-left: 31px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--tgb-leaf); font-weight: 900; }

.page-hero { padding: 100px 0 72px; background: var(--tgb-sand); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero p { max-width: 760px; font-size: 1.15rem; color: var(--tgb-muted); }
.content { padding: 70px 0 90px; }
.content h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; margin-top: 34px; }
.content p, .content li { font-size: 1.04rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.rate-card { background: white; border: 1px solid var(--tgb-line); border-radius: var(--tgb-radius); padding: 34px; box-shadow: var(--tgb-shadow); }
.rate { font-family: Georgia, 'Times New Roman', serif; font-size: 2.7rem; margin: 0; }
.rate small { font-family: Arial, Helvetica, sans-serif; font-size: .95rem; color: var(--tgb-muted); }

.booking-page .split { align-items: start; }
.booking-panel,
.mphb_sc_search_results-wrapper,
.mphb_sc_checkout-wrapper,
.mphb_sc_booking_confirmation-wrapper {
  background: white;
  border: 1px solid var(--tgb-line);
  border-radius: var(--tgb-radius);
  box-shadow: var(--tgb-shadow);
  padding: 28px;
}
.booking-panel { margin-top: 28px; }
.booking-results-wrap { margin-top: 52px; }
.mphb_sc_search-form,
.mphb_widget_search-form,
.mphb-reservation-cart,
.mphb-recommendation {
  display: grid;
  gap: 18px;
}
.mphb_sc_search-form p,
.mphb_widget_search-form p,
.mphb-check-in-date-wrapper,
.mphb-check-out-date-wrapper,
.mphb-adults-wrapper,
.mphb-children-wrapper {
  margin: 0;
}
.mphb_sc_search-form label,
.mphb_widget_search-form label,
.mphb_checkout-services-list label,
.mphb-customer-details label,
.mphb-reserve-rooms-details label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.mphb_sc_search-form input,
.mphb_sc_search-form select,
.mphb_widget_search-form input,
.mphb_widget_search-form select,
.mphb_sc_checkout-wrapper input,
.mphb_sc_checkout-wrapper select,
.mphb_sc_checkout-wrapper textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd5cf;
  border-radius: 10px;
  background: white;
  color: var(--tgb-ink);
  padding: 11px 13px;
}
.mphb_sc_checkout-wrapper textarea { min-height: 130px; resize: vertical; }
.mphb_sc_search-submit-button-wrapper input,
.mphb-book-button,
.mphb-confirm-reservation,
.mphb_sc_checkout-submit-wrapper input,
.button.mphb-button,
.mphb-reserve-btn {
  width: auto;
  min-height: 0;
  background: var(--tgb-leaf);
  color: white !important;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
}
.mphb_sc_search-submit-button-wrapper input:hover,
.mphb-book-button:hover,
.mphb-confirm-reservation:hover,
.mphb_sc_checkout-submit-wrapper input:hover,
.button.mphb-button:hover,
.mphb-reserve-btn:hover {
  background: var(--tgb-leaf-dark);
}
.mphb_sc_search_results-wrapper .mphb-room-type,
.mphb-room-type {
  background: white;
  border: 1px solid var(--tgb-line);
  border-radius: var(--tgb-radius);
  margin: 22px 0;
  overflow: hidden;
  padding: 28px;
}
.mphb-room-type-title,
.mphb-room-type h2,
.mphb-room-type h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.15;
}
.mphb-price,
.mphb-regular-price {
  color: var(--tgb-leaf-dark);
  font-weight: 800;
}
.mphb-loop-room-type-attributes,
.mphb-single-room-type-attributes,
.mphb-room-type-facilities {
  color: var(--tgb-muted);
}
.mphb-reserve-room-section,
.mphb-reserve-rooms-details,
.mphb-customer-details,
.mphb-checkout-section {
  border-top: 1px solid var(--tgb-line);
  margin-top: 24px;
  padding-top: 24px;
}
.mphb-errors-wrapper,
.mphb-error,
.mphb_sc_search_results-info {
  border-left: 4px solid var(--tgb-sea);
  background: #eef4f5;
  border-radius: 8px;
  margin: 18px 0;
  padding: 14px 16px;
}
.mphb-calendar,
.datepick {
  font-family: Arial, Helvetica, sans-serif;
}
.mphb-calendar table {
  border-collapse: collapse;
  width: 100%;
}
.mphb-calendar th,
.mphb-calendar td {
  border: 1px solid var(--tgb-line);
  padding: 8px;
  text-align: center;
}

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; }
.contact-box { background: var(--tgb-sand); border-radius: var(--tgb-radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfd5cf; border-radius: 10px; background: white; }
.field textarea { min-height: 150px; resize: vertical; }
.form-status { padding: 13px 15px; margin-bottom: 18px; border-radius: 10px; background: #edf5f0; }

.blog-list { display: grid; gap: 22px; }
.blog-item { padding: 28px; background: white; border: 1px solid var(--tgb-line); border-radius: var(--tgb-radius); }
.blog-meta { color: var(--tgb-muted); font-size: .9rem; }
.blog-item h2 { font-size: 1.8rem; margin: 4px 0 8px; }
.article-image { margin: 34px 0; }
.article-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px; box-shadow: var(--tgb-shadow); }

.cta { background: var(--tgb-leaf-dark); color: white; padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.78); }
.cta .btn { background: white; color: var(--tgb-leaf-dark) !important; }

.site-footer { background: #18241f; color: rgba(255,255,255,.78); padding: 52px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; }
.site-footer h3 { color: white; margin-top: 0; font-family: Georgia, 'Times New Roman', serif; }
.site-footer a { color: white; }
.footer-bottom { margin-top: 38px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .9rem; }

.notice { border-left: 4px solid var(--tgb-sea); background: #eef4f5; padding: 15px 18px; }

@media (max-width: 860px) {
  .mobile-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--tgb-cream); border-bottom: 1px solid var(--tgb-line); padding: 20px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .cards, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
  .booking-panel,
  .mphb_sc_search_results-wrapper,
  .mphb_sc_checkout-wrapper,
  .mphb_sc_booking_confirmation-wrapper,
  .mphb_sc_search_results-wrapper .mphb-room-type,
  .mphb-room-type {
    padding: 22px;
  }
  .mphb_sc_search-submit-button-wrapper input,
  .mphb-book-button,
  .mphb-confirm-reservation,
  .mphb_sc_checkout-submit-wrapper input,
  .button.mphb-button,
  .mphb-reserve-btn {
    width: 100%;
    text-align: center;
  }
  .cta-inner { display: block; }
  .cta .btn { margin-top: 22px; }
  .hero { min-height: 68vh; }
}




