@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/**
 * Universal PG Management Public Stylesheet
 * Copyright (c) 2026 Cybrexus Technology (https://www.cybrexus.com). All Rights Reserved.
 */

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  
  --border-light: #e2e8f0;
  --border-focus: #059669;

  --primary-grad: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  --primary: #059669;
  --primary-hover: #047857;
  --secondary: #0284c7;
  --accent-gold: #d97706;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 40px rgba(5, 150, 105, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #059669;
  border-radius: 4px;
}

/* Navbar */
.navbar-wrapper {
  position: sticky;
  top: 12px;
  z-index: 1000;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.logo-text {
  color: var(--text-dark);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-nav-admin {
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-nav-admin:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Dropdown Drawer */
.mobile-menu-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 1rem;
  right: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-menu-drawer.active {
  display: flex;
}

.mobile-menu-drawer a {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-menu-drawer a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

/* Full Width Responsive Hero Header */
.hero-section {
  position: relative;
  max-width: 1280px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.hero-container {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #0f172a;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: var(--transition);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: 50px;
  color: #34d399;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-desc {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: #e2e8f0;
  margin: 0 auto 2rem;
  max-width: 720px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  background: var(--primary-grad);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
  border: none;
  cursor: pointer;
}

.btn-cta-whatsapp {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  background: #ffffff;
  color: #059669;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

/* Responsive Highlights Counter Bar */
.stats-counter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 1280px;
  margin: 1.75rem auto 0;
  padding: 0 1rem;
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 0.65rem;
}

.stat-box-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-box-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 4rem 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 20px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 620px;
  margin: 0 auto;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.facility-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.facility-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.facility-card h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.facility-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.room-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.room-img-wrapper {
  position: relative;
  height: 220px;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pill-available {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
}

.pill-full {
  background: #ffe4e6;
  border: 1px solid #fca5a5;
  color: #be123c;
}

.room-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.room-type-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.room-price-tag {
  font-size: 1.85rem;
  font-weight: 900;
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.room-price-tag span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
}

.room-perks-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.room-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 210px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-info h4 {
  color: #fff;
  font-size: 1rem;
}

.gallery-info p {
  color: #38bdf8;
  font-size: 0.8rem;
}

/* Location Container */
.location-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.map-frame-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--border-light);
}

.map-frame-box iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mobile Media Queries */
@media (max-width: 868px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .location-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .hero-container {
    padding: 3rem 1rem;
    min-height: 420px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-cta-primary, .btn-cta-whatsapp {
    width: 100%;
  }
  .stats-counter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-text {
    max-width: 140px;
    font-size: 1rem;
  }
  .stats-counter-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .stat-box {
    padding: 1rem 0.5rem;
  }
  .stat-box-num {
    font-size: 1.15rem;
  }
}
