/* ==========================================================================
   Chartthip Resort - Classic Design Template (Modern HTML5 / CSS3)
   Theme: Original Deep Blue (#042c59) & Gold (#FFCC00) Palette
   ========================================================================== */

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

:root {
  --body-bg: #042c59;
  --body-bg-dark: #021a35;
  --body-bg-light: #063973;
  --text-white: #ffffff;
  --text-gold: #ffcc00;
  --text-gold-hover: #ff9900;
  --text-muted: #cbd5e1;
  --max-width: 816px;
  --font-family: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--body-bg);
  color: var(--text-white);
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-gold-hover);
}

/* ==========================================================================
   Page Wrapper (Fixed 816px layout on Desktop, 100% Fluid on Mobile)
   ========================================================================== */

.page-wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: var(--body-bg);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Header & Navigation (Classic Slice Images with Modern Responsive Flexbox)
   ========================================================================== */

.header-banner {
  width: 100%;
  background-color: var(--body-bg-dark);
}

.header-banner img {
  width: 100%;
  height: auto;
}

.classic-navbar {
  width: 100%;
  background-color: #032144;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 204, 0, 0.15);
}

.nav-item-link {
  display: block;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-item-link:hover {
  opacity: 0.88;
  filter: brightness(1.15);
}

.nav-separator {
  display: block;
  line-height: 0;
}

/* Mobile Fallback Menu toggle */
.mobile-nav-toggle {
  display: none;
  width: 100%;
  background: var(--body-bg-dark);
  color: var(--text-gold);
  border: none;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

/* ==========================================================================
   Hero / Page Showcase Banner
   ========================================================================== */

.main-showcase {
  width: 100%;
  background-color: var(--body-bg);
  line-height: 0;
}

.main-showcase img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-area {
  padding: 1.5rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.classic-center-block {
  text-align: center;
  margin: 1rem auto;
  width: 100%;
  max-width: 760px;
}

.classic-center-block img {
  margin: 0 auto;
}

/* Text descriptions */
.classic-desc {
  color: var(--text-white);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
  margin: 1.25rem auto;
  max-width: 720px;
}

.classic-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 204, 0, 0.3);
  margin: 1.5rem auto;
  width: 80%;
  max-width: 500px;
}

/* ==========================================================================
   Classic Room & Gallery Grid
   ========================================================================== */

.classic-room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin: 1.5rem 0;
}

@media (max-width: 680px) {
  .classic-room-grid {
    grid-template-columns: 1fr;
  }
}

.classic-room-card {
  background: rgba(2, 26, 53, 0.6);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.classic-room-card:hover {
  border-color: var(--text-gold);
  background: rgba(2, 26, 53, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.classic-room-card h3 {
  color: var(--text-gold);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.classic-room-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.room-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.room-thumb-link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.room-thumb-link:hover img {
  transform: scale(1.06);
}

.classic-room-thumbnails {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.classic-room-thumbnails a {
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}

.classic-room-thumbnails a:hover {
  border-color: var(--text-gold);
}

.classic-room-thumbnails img {
  width: 50px;
  height: 40px;
  object-fit: cover;
}

/* Filter Bar */
.classic-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem 0;
}

.classic-filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: var(--text-white);
  padding: 0.4rem 1.1rem;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.classic-filter-btn:hover, .classic-filter-btn.active {
  background: var(--text-gold);
  color: var(--body-bg-dark);
  font-weight: 600;
  border-color: var(--text-gold);
}

/* ==========================================================================
   Classic Overview Gallery Layout
   ========================================================================== */

.gallery-section-title {
  color: var(--text-gold);
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  margin: 2.25rem 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.gallery-section-title::before,
.gallery-section-title::after {
  content: "❀";
  color: #ff9900;
  font-size: 1.1rem;
}

.gallery-single-photo {
  width: 100%;
  max-width: 680px;
  margin: 0.75rem auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 0, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: #000;
  display: block;
}

.gallery-single-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-single-photo:hover img {
  transform: scale(1.03);
}

.gallery-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 680px;
  margin: 0.75rem auto;
}

.gallery-dual-photo {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 0, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  background: #000;
  display: block;
}

.gallery-dual-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-dual-photo:hover img {
  transform: scale(1.04);
}

@media (max-width: 580px) {
  .gallery-dual-grid {
    grid-template-columns: 1fr;
  }
  .gallery-dual-photo img {
    height: 180px;
  }
}

.classic-map-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 1.5rem auto;
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.classic-map-wrapper iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.classic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  border-radius: 25px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--text-gold);
  color: var(--body-bg-dark) !important;
  border: 1px solid var(--text-gold);
}

.classic-btn:hover {
  background: var(--text-gold-hover);
  border-color: var(--text-gold-hover);
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 204, 0, 0.35);
}

.classic-btn-outline {
  background: transparent;
  color: var(--text-gold) !important;
  border: 1px solid var(--text-gold);
}

.classic-btn-outline:hover {
  background: rgba(255, 204, 0, 0.15);
  color: #ffffff !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.classic-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--body-bg-dark);
  border-top: 1px solid rgba(255, 204, 0, 0.2);
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
}

.classic-footer a {
  color: var(--text-gold);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 820px) {
  .page-wrapper {
    max-width: 100%;
    box-shadow: none;
  }
  .classic-navbar {
    flex-wrap: wrap;
  }
  .nav-item-link img, .nav-separator img {
    height: 32px;
  }
  .classic-map-wrapper iframe {
    height: 320px;
  }
}

@media (max-width: 580px) {
  .nav-item-link img, .nav-separator img {
    height: 28px;
  }
}
