/* =========================================
   GURCOO RESIDENCY – Global Design System
   ========================================= */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --dark: #0F0E0C;
  --dark-2: #1A1714;
  --dark-3: #242018;
  --charcoal: #2C2925;
  --cream: #F8F4EE;
  --cream-2: #EDE8DF;
  --text: #2C2925;
  --text-light: #5C5550;
  --text-muted: #8A8480;
  --white: #FFFFFF;
  --nav-height: 80px;
  --topbar-height: 38px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.20);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100%;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-contact { display: flex; gap: 28px; }

.top-bar-contact a {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.top-bar-contact a:hover { color: var(--white); }
.top-bar-right { color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 1px; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-logo-text { display: flex; flex-direction: column; }

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-link:hover, .nav-link.active { color: var(--gold-dark); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn-book-nav {
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: var(--transition);
  margin-left: 8px;
}

.btn-book-nav:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: var(--transition);
}

.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}

.section-title.light { color: var(--white); }

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.75;
  margin-top: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc { margin: 16px auto 0; }

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* GOLDEN DIVIDER */
.golden-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  margin: 20px 0;
  position: relative;
}

.golden-divider.centered { margin: 20px auto; }

.golden-divider::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold);
  font-size: 8px;
  background: var(--cream);
  padding: 0 4px;
}

/* ---- PAGE HERO (for inner pages) ---- */
.page-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,14,12,0.72) 0%, rgba(15,14,12,0.5) 100%);
}

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

.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 8px;
}

.page-hero-content p {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* BREADCRUMB */
.breadcrumb {
  background: var(--cream-2);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb-inner a { color: var(--gold-dark); }
.breadcrumb-inner a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.85rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer h4 {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-contact p, .footer-hours p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  background: var(--dark);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- SCROLL TOP BUTTON ---- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201,168,76,0.5);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar-right { display: none; }
  .top-bar-contact { gap: 16px; }

  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 999;
  }

  .nav-menu.open { display: flex; }

  .nav-link {
    color: var(--white);
    font-size: 1.1rem;
    padding: 10px 24px;
  }

  .btn-book-nav {
    font-size: 0.9rem;
    padding: 12px 32px;
  }

  .section { padding: 64px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
}
