/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --pr-light: #f8fafc;
  --pr-dark: #0f172a;
  --pr-darker: #020617;
  --pr-accent: #d4af37; /* Metallic Gold */
  --pr-accent-hover: #b8972f;
  --pr-text-main: #334155;
  --pr-text-light: #94a3b8;
  --pr-text-heading: #1e293b;
  --pr-border: #e2e8f0;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  color: var(--pr-text-main);
  background-color: var(--pr-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--pr-text-heading);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
}

.bg-alt {
  background-color: #ffffff;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all var(--transition-fast);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-fast);
}

.navbar.scrolled .logo-img {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.navbar.scrolled .nav-links li a {
  color: var(--pr-text-main);
}

.nav-links li a:hover {
  color: var(--pr-accent);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--pr-accent);
  transition: width var(--transition-fast);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--pr-dark);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--pr-accent);
  color: #fff;
  border: 1px solid var(--pr-accent);
}

.btn-primary:hover {
  background-color: var(--pr-accent-hover);
  border-color: var(--pr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--pr-dark);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--pr-accent);
  color: var(--pr-accent) !important;
  border-radius: 4px;
}

.btn-outline:hover {
  background-color: var(--pr-accent);
  color: #fff !important;
}

.btn-outline::after {
  display: none;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pr-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.btn-text i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-text:hover i {
  transform: translateX(5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: center;
}

.subtitle {
  color: var(--pr-accent);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.hero .title {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero .description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-end;
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pr-accent);
  font-weight: 600;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--pr-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--pr-text-light);
  font-size: 1.125rem;
}

.separator {
  height: 2px;
  width: 60px;
  background-color: var(--pr-accent);
  margin: 1.5rem 0;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  border-radius: 4px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--pr-dark);
  color: #fff;
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.experience-badge::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--pr-accent);
  line-height: 1;
}

.badge-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--pr-text-heading);
}

.feature-list i {
  color: var(--pr-accent);
  width: 24px;
  height: 24px;
}

/* --- Flagship Properties --- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.property-card {
  background: var(--pr-light);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--pr-border);
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.property-img-container {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

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

.property-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--pr-accent);
  color: #fff;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 2px;
}

.property-info {
  padding: 2.5rem;
}

.property-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pr-text-light);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.property-location i {
  width: 16px;
  height: 16px;
  color: var(--pr-accent);
}

/* --- Portfolio Grid --- */
.portfolio-mansory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--pr-border);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.portfolio-item:hover {
  border-color: var(--pr-accent);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.portfolio-item:hover .p-icon {
  background-color: var(--pr-accent);
  color: #fff;
}

.p-icon {
  background-color: var(--pr-light);
  color: var(--pr-accent);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.p-details h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--pr-text-heading);
}

.p-details p {
  font-size: 0.875rem;
  color: var(--pr-text-light);
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-card {
  background: var(--pr-light);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--pr-border);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--pr-accent);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--pr-accent);
  padding: 5px;
  background-color: #fff;
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: var(--pr-text-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Footer --- */
.footer {
  background-color: var(--pr-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-desc {
  margin-top: 1rem;
  max-width: 300px;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
  color: var(--pr-accent);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-contact i {
  color: var(--pr-accent);
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .hero .title { font-size: 3.5rem; }
  .about-grid { gap: var(--space-md); }
  .experience-badge { bottom: -15px; right: -15px; padding: 1.5rem; }
  .badge-text { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li a { color: var(--pr-dark); }
  
  .mobile-menu-btn { display: block; }
  
  .navbar { background: rgba(2, 6, 23, 0.95); padding: 1rem 0; }
  .navbar.scrolled .mobile-menu-btn { color: var(--pr-dark); }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0;
    padding-top: 2rem;
    text-align: center;
  }
  
  .hero-actions { justify-content: center; }
  
  .about-grid, .property-grid { grid-template-columns: 1fr; }
  .experience-badge { display: none; }
  
  .portfolio-mansory { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero .title { font-size: 2.5rem; }
  .portfolio-mansory { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
}
