/* ==========================================================================
   ORBIT'S IMPREZA DESIGNS - LUXURY ARCHITECTURAL SYSTEM
   Exact Specification & Reference Matching (Agency FB + Segoe UI + Luxury Black/Gold)
   ========================================================================== */

@font-face {
  font-family: 'Agency FB';
  src: url('../image logo/fonts/main font/AGENCYB.TTF') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agency FB';
  src: url('../image logo/fonts/main font/AGENCYR.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../image logo/fonts/segoeui.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../image logo/fonts/segoeuib.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Segoe UI';
  src: url('../image logo/fonts/segoeuil.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-black: #070707;
  --panel-dark: #0D0F12;
  --panel-card: #12141A;
  --gold-primary: #C8A86B;
  --gold-light: #E2C997;
  --gold-dark: #9E7D3F;
  --text-muted: #8E9299;
  --text-light: #F2EFE8;
  --border-gold: rgba(200, 168, 107, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-display: 'Agency FB', -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-light);
  font-family: var(--font-body);
}

body {
  background-color: var(--bg-black);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.5;
}

::selection {
  background-color: var(--gold-primary);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #070707;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.font-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.font-body {
  font-family: var(--font-body);
}

/* Text Gold Gradient */
.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #F5E6BE 0%, #C8A86B 50%, #9A7B3E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-tab {
  position: relative;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #A1A1AA;
  transition: color 0.2s ease;
  text-transform: uppercase;
}

.nav-tab:hover,
.nav-tab.active {
  color: var(--gold-primary);
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-primary);
}

/* Luxury Gold Button */
.btn-view-projects {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-transform: uppercase;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-view-projects:hover {
  color: var(--gold-primary);
}

.btn-view-projects .arrow-circle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: all 0.3s ease;
}

.btn-view-projects:hover .arrow-circle {
  background: var(--gold-primary);
  color: #070707;
  transform: rotate(45deg);
}

/* Stats Bar */
.stats-bar {
  border: 1px solid var(--border-gold);
  background: rgba(13, 15, 18, 0.85);
  backdrop-filter: blur(12px);
}

.stats-col {
  border-right: 1px solid rgba(200, 168, 107, 0.18);
}
.stats-col:last-child {
  border-right: none;
}

/* Zero-Gap Seamless Project Grid */
.seamless-grid {
  display: grid;
  gap: 2px;
  background-color: rgba(200, 168, 107, 0.15);
  border: 1px solid var(--border-gold);
}

.project-tile {
  position: relative;
  overflow: hidden;
  background-color: #0B0D10;
  cursor: pointer;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.project-tile:hover img {
  transform: scale(1.04);
}

.project-tile .tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.92) 0%, rgba(7, 7, 7, 0.3) 50%, rgba(7, 7, 7, 0.1) 100%);
  transition: opacity 0.3s ease;
}

.project-tile .tile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 10;
}

.project-tile .tile-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.project-tile:hover .tile-arrow {
  transform: translate(2px, -2px);
}

/* Blueprint to Reality Slider */
.b2r-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #0B0D10;
  user-select: none;
}

.b2r-before, .b2r-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.b2r-before img, .b2r-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.b2r-before {
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--gold-primary);
}

.b2r-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  z-index: 10;
  background: var(--gold-primary);
  color: #070707;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow: 0 0 15px rgba(200, 168, 107, 0.7);
}

/* Octagon geometries */
.clip-octagon {
  clip-path: polygon(14% 0%, 86% 0%, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0% 86%, 0% 14%);
}
