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

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --black: #0B0B0C;
  --black-secondary: #111113;
  --black-tertiary: #1a1a1d;
  --gold: #C9A45C;
  --gold-dark: #A88B4A;
  --gold-light: #D4B76A;
  --text-primary: #F5F5F5;
  --text-secondary: #B8B8B8;
  --text-muted: #6b6b6b;
  --border: rgba(245, 245, 245, 0.08);
  --border-light: rgba(245, 245, 245, 0.18);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;
  
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ============================================
   NOISE OVERLAY
   ============================================ */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.glass-nav {
  background: rgba(17, 17, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.navbar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-20px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta {
  display: none;
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-primary);
}

.nav-mobile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

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

.nav-mobile-link {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .nav-cta {
    display: block;
  }
  
  .nav-menu-btn {
    display: none;
  }
  
  .nav-mobile-menu {
    display: none !important;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

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

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: rgba(245, 245, 245, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: rgba(17, 17, 19, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ============================================
   PROPERTY CARD
   ============================================ */
.property-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 92, 0.3);
  box-shadow: var(--shadow-hover);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-card-image img {
  transform: scale(1.08);
}

.property-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
}

.property-card-badge span {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
}

.property-card-content {
  padding: 1.25rem;
  background: var(--black-secondary);
}

.property-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.property-card-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.property-card-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.property-card-specs {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.property-card-spec {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.property-card-spec span {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================
   SECTION OVERLAY
   ============================================ */
.section-overlay {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.35) 0%, rgba(11, 11, 12, 0.75) 100%);
}

.section-overlay-dark {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.6) 0%, rgba(11, 11, 12, 0.9) 100%);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea {
  resize: none;
  min-height: 100px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23B8B8B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
  padding-right: 24px;
}

.form-select option {
  background: var(--black-secondary);
  color: var(--text-primary);
}

/* ============================================
   FILTER UI
   ============================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--black-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ============================================
   TEAM CARD
   ============================================ */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 164, 92, 0.3);
}

.team-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.9) 0%, transparent 50%);
}

.team-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.team-card-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.875rem;
  color: var(--gold);
}

.team-card-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.team-card:hover .team-card-social {
  opacity: 1;
  transform: translateY(0);
}

.team-card-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.team-card-social a:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================================
   SERVICE CARD
   ============================================ */
.service-card {
  position: relative;
  padding: 2.5rem;
  background: var(--black-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: rgba(201, 164, 92, 0.3);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 164, 92, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.service-card-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-card-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   STATS
   ============================================ */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 164, 92, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 164, 92, 0.6);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }
}

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

.bg-gold {
  background-color: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* Animation utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.85) 100%);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.page-header-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-header-subtitle {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-brand-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.footer-brand-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-column-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(201, 164, 92, 0.2);
  color: var(--gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading-skeleton {
  background: linear-gradient(90deg, var(--black-secondary) 25%, var(--black-tertiary) 50%, var(--black-secondary) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  z-index: 999;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 80%;
  background: #111;
  padding: 20px;
  border-radius: 10px;

  transform: scale(0.8);
  transition: 0.4s;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.close-btn {
  float: right;
  font-size: 25px;
  cursor: pointer;
}

.tabs button {
  margin: 5px;
  padding: 6px 12px;
}

.actions button {
  margin-top: 10px;
  padding: 10px 15px;
}

body {
  background: #0a0a0a;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 40px;
  line-height: 1.6;
}

h1, h2 {
  color: gold;
}