/* ===== THE MANGO SUITES — Orange + Black + White Theme ===== */
:root {
  --orange: #f47920;
  --orange-dark: #d96a1a;
  --orange-light: #ff9a4d;
  --black: #1a1a1a;
  --black-deep: #111111;
  --black-card: #222222;
  --white: #ffffff;
  --grey-light: #f5f5f5;
  --grey-mid: #e0e0e0;
  --grey-text: rgba(255,255,255,0.55);
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 400; line-height: 1.3; }

/* ===== UTILITY ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 0.8rem;
}
.section-label::before, .section-label::after {
  content: ''; width: 30px; height: 2px; background: var(--orange);
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px);
  text-align: center; margin-bottom: 16px; color: var(--text-dark);
}
.section-title--light { color: var(--white); }
.section-desc {
  max-width: 600px; margin: 0 auto 2rem; text-align: center;
  color: var(--text-body); font-size: 0.9rem; line-height: 1.8;
}
.text-center { text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--black); padding: 0 3rem; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.navbar-links { display: flex; gap: 2rem; align-items: center; }
.navbar-links a {
  color: var(--white); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.navbar-links a:hover { color: var(--orange); }
.btn-book-nav {
  background: var(--orange); color: var(--white) !important;
  padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: 700; letter-spacing: 1px;
}
.btn-book-nav:hover { background: var(--orange-dark); }
.nav-toggle { display: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.55);
}
.hero-slide { opacity: 0; transition: opacity 1.5s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 700px; padding: 0 2rem; }
.hero-subtitle {
  font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 1rem;
}
.hero-desc { font-size: 0.9rem; opacity: 0.8; margin-bottom: 2rem; }
.btn-hero {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 1rem 2.5rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; border-radius: 4px;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-hero:hover { background: var(--orange-dark); transform: translateY(-2px); }

/* ===== INTRO SECTION ===== */
.intro { padding: 5rem 3rem; text-align: center; background: var(--white); }
.intro p { max-width: 680px; margin: 0 auto; font-size: 0.95rem; color: var(--text-body); line-height: 1.8; }

/* ===== ROOMS GRID (2x2) ===== */
.rooms-section { padding: 5rem 3rem; background: var(--grey-light); }
.rooms-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 900px; margin: 2rem auto 0;
}
.room-card {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room-card:hover img { transform: scale(1.05); }
.room-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.room-card-overlay h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.3rem; }
.room-card-overlay p { color: var(--grey-text); font-size: 0.75rem; }

/* ===== FEATURES SECTION ===== */
.features { padding: 5rem 3rem; background: var(--black); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem; max-width: 800px; margin: 2.5rem auto 0;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 72px; height: 72px; border: 2px solid var(--orange); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-item h4 {
  font-family: var(--font-body); color: var(--white);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem;
}
.feature-item p { color: var(--grey-text); font-size: 0.75rem; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black-deep); border-top: 3px solid var(--orange);
  padding: 4rem 3rem 2rem; color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 2rem; max-width: 1100px; margin: 0 auto 3rem;
}
.footer-brand { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.footer-brand-logo { width: 320px; height: auto; margin-bottom: 0; }
.footer-tagline { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.4; margin-bottom: 0.3rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 0; }
.footer h5 {
  font-family: var(--font-body); color: var(--orange); font-size: 0.7rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.footer ul li a:hover { color: var(--orange); }
.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
  font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.8rem;
}
.footer-flat06-logo { height: 50px; opacity: 0.9; transition: opacity 0.3s; display: block; margin: 0 auto; }
.footer-flat06-logo:hover { opacity: 1; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 8rem 3rem 3rem; text-align: center;
  background: var(--black); color: var(--white);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-hero p { color: var(--grey-text); font-size: 0.9rem; }

/* ===== ROOMS PAGE ===== */
.room-type-section { padding: 4rem 3rem; border-bottom: 1px solid var(--grey-mid); }
.room-type-section:nth-child(even) { background: var(--grey-light); }
.room-type-header { text-align: center; margin-bottom: 2rem; }
.room-type-header h2 { font-size: 2rem; margin-bottom: 0.3rem; }
.room-type-header .room-desc, .longstay-card-content .room-desc { font-size: 0.95rem; color: var(--text-body); margin-bottom: 0.3rem; font-style: italic; }
.room-type-header .room-specs { font-size: 0.85rem; color: var(--text-body); }
.room-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.8rem; margin-bottom: 2rem; border-radius: 8px; overflow: hidden;
}
.room-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; transition: transform 0.4s; }
.room-gallery img:hover { transform: scale(1.03); }
.room-amenities-list {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.5rem;
}
.room-amenities-list li {
  background: var(--grey-light); padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.75rem; color: var(--text-body);
}
.room-cta { text-align: center; margin-top: 1.5rem; }
.btn-book {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 0.8rem 2rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 4px;
  border: none; cursor: pointer; transition: var(--transition);
}
.btn-book:hover { background: var(--orange-dark); }

/* ===== LONG-STAY PAGE ===== */
.longstay-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; max-width: 900px; margin: 2rem auto;
}
.longstay-card {
  background: var(--grey-light); border-radius: 8px; overflow: hidden;
  transition: box-shadow 0.3s;
}
.longstay-card:hover { box-shadow: var(--shadow-hover); }
.longstay-card img { width: 100%; height: 200px; object-fit: cover; }
.longstay-card-body { padding: 1.5rem; text-align: center; }
.longstay-card-body h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.longstay-card-body p { font-size: 0.8rem; color: var(--text-body); margin-bottom: 1rem; }

/* ===== T&C MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 2rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: 12px; max-width: 520px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 2.5rem; position: relative;
}
.modal-close {
  position: absolute; top: 1rem; right: 1.5rem; font-size: 1.5rem;
  cursor: pointer; color: var(--text-body); background: none; border: none;
}
.modal-box h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-box .modal-subtitle { font-size: 0.85rem; color: var(--text-body); margin-bottom: 1.5rem; }
.modal-box .modal-subtitle strong { color: var(--orange); }
.modal-rules-list { margin-bottom: 1.5rem; }
.modal-rules-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--grey-mid); font-size: 0.8rem;
}
.modal-rules-list li:last-child { border-bottom: none; }
.modal-rules-list .rule-icon { font-size: 1rem; flex-shrink: 0; }
.modal-rules-list strong { color: var(--text-dark); margin-right: 0.3rem; }
.modal-link { display: inline-block; color: var(--orange); font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem; }
.modal-link:hover { text-decoration: underline; }
.modal-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.5rem; font-size: 0.8rem; color: var(--text-body); }
.modal-checkbox input { margin-top: 3px; accent-color: var(--orange); }
.modal-actions { display: flex; gap: 1rem; }
.btn-cancel {
  flex: 1; padding: 0.8rem; border: 1px solid var(--grey-mid); border-radius: 4px;
  background: var(--white); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition);
}
.btn-cancel:hover { background: var(--grey-light); }
.btn-proceed {
  flex: 1; padding: 0.8rem; border: none; border-radius: 4px;
  background: var(--orange); color: var(--white); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: var(--transition);
}
.btn-proceed:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-proceed:not(:disabled):hover { background: var(--orange-dark); }

/* ===== FACILITIES PAGE ===== */
.amenities-section { padding: 5rem 3rem; background: var(--black); color: var(--white); }
.amenities-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; max-width: 900px; margin: 2rem auto 0;
}
.amenity-column h4 {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.amenity-column li {
  font-size: 0.8rem; color: rgba(255,255,255,0.7); padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.amenity-column li::before { content: '— '; color: var(--orange); }

.facility-section { padding: 4rem 3rem; border-bottom: 1px solid var(--grey-mid); }
.facility-section:nth-child(even) { background: var(--grey-light); }
.facility-header { text-align: center; margin-bottom: 2rem; }
.facility-header h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.facility-header p { font-size: 0.85rem; color: var(--text-body); max-width: 600px; margin: 0 auto; }
.facility-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem;
}
.facility-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; transition: transform 0.4s; }
.facility-gallery img:hover { transform: scale(1.03); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 5rem 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 2rem auto 0; align-items: start; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--grey-mid);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px; background: var(--grey-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.contact-detail h4 {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-body); margin-bottom: 0.3rem;
}
.contact-detail p, .contact-detail a { font-size: 0.9rem; color: var(--text-dark); }
.contact-detail a:hover { color: var(--orange); }
.contact-map { border-radius: 12px; overflow: hidden; height: 100%; min-height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.btn-tour {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 1rem 2rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 4px;
  margin-top: 2rem; transition: var(--transition);
}
.btn-tour:hover { background: var(--orange-dark); }

/* ===== HOUSE RULES PAGE ===== */
.rules-section { padding: 5rem 3rem; }
.rules-container { max-width: 800px; margin: 0 auto; }
.rule-block {
  margin-bottom: 2.5rem; padding-left: 1.5rem; border-left: 3px solid var(--orange);
}
.rule-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text-dark); }
.rule-block p, .rule-block li { font-size: 0.85rem; color: var(--text-body); line-height: 1.8; }
.rule-block ul { padding-left: 1rem; }
.rule-block ul li { margin-bottom: 0.3rem; }
.rule-bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.rule-bilingual .lang-label {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); font-weight: 700; margin-bottom: 0.5rem;
}
.penalty-badge {
  display: inline-block; background: rgba(244,121,32,0.1); color: var(--orange);
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; margin-top: 0.3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .navbar { padding: 0 1.5rem; }
  .navbar-links { display: none; }
  .nav-toggle { display: block; }
  .navbar-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 76px; left: 0; right: 0; background: var(--black);
    padding: 1.5rem; gap: 1rem;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .longstay-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .room-gallery { grid-template-columns: 1fr; }
  .facility-gallery { grid-template-columns: 1fr; }
  .rule-bilingual { grid-template-columns: 1fr; }
  .page-hero { padding: 6rem 1.5rem 2rem; }
  .modal-box { padding: 1.5rem; }
}
