/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A84C;
  --gold-light: #E5D4A1;
  --dark: #0A0A0A;
  --darker: #050505;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --overlay-dark: rgba(0,0,0,0.85);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 600px;
}

/* Layout */
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad-lg {
  padding: 6rem 0;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 3rem;
}

.nav-logo-img {
  height: 40px;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
}

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

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: var(--darker);
  z-index: 1001;
  padding: 2rem;
  transition: right 0.3s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-top: 4rem;
}

.mobile-nav-links a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-static-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 50%, #0A0A0A 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Hero Slideshow */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 1;
  animation: slideshow 25s infinite;
}

.hero-slide-1 { animation-delay: 0s; }
.hero-slide-2 { animation-delay: 5s; }
.hero-slide-3 { animation-delay: 10s; }
.hero-slide-4 { animation-delay: 15s; }
.hero-slide-5 { animation-delay: 20s; }

@keyframes slideshow {
  0%, 15% { opacity: 0; z-index: 1; }
  20%, 80% { opacity: 1; z-index: 2; }
  85%, 100% { opacity: 0; z-index: 1; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--dark), transparent);
  z-index: 1;
}

.hero-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, var(--dark), transparent);
  z-index: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.05"/></svg>');
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow-text {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

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

.line-outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 1rem 2rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 2;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem 3rem;
  border-radius: 8px;
  border: 1px solid rgba(201,168,76,0.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0; height: 20px; }
  50% { opacity: 1; height: 40px; }
}

.hero-scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
}

/* Marquee */
.marquee-section {
  background: var(--darker);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: 8px;
}

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 50%;
  border-radius: 8px;
  border: 4px solid var(--dark);
}

.about-image-badge {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.about-image-badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.about-image-badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-body {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.about-pillar {
  padding: 1rem;
  border-left: 2px solid var(--gold);
}

.about-pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-pillar-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-pillar-text {
  font-size: 0.85rem;
  color: var(--gray);
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.about-signature-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.about-signature-name {
  font-weight: 600;
}

.about-signature-role {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Section Eyebrow */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.section-eyebrow-line {
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.section-eyebrow-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

/* Services Section */
#services {
  background: var(--darker);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-5px);
}

.service-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
}

.service-icon {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.7rem;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* Portfolio Section */
.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.portfolio-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}

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

.portfolio-count {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
  cursor: pointer;
}

.portfolio-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-item-img {
  transform: scale(1.05);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
}

.portfolio-item-cat {
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-item-title {
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.portfolio-item-year {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.7);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.portfolio-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Clients Section */
.clients-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.client-logo-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.client-logo-item:hover {
  border-color: rgba(201,168,76,0.3);
}

.client-logo-img {
  max-width: 150px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.3s;
}

.client-logo-item:hover .client-logo-img {
  filter: none;
}

.clients-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Quote Strip */
.quote-strip {
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.quote-strip-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 1rem;
}

.quote-author {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-intro {
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  font-size: 1.5rem;
}

.contact-detail-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-value {
  color: var(--white);
}

.contact-socials {
  display: flex;
  gap: 1rem;
}

.contact-socials a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 1rem;
}

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

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--darker);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links-col a {
  display: block;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-links-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--gray);
}

/* Reveal Animations */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.visible {
  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; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Custom Cursor */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s, height 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-main {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #navbar {
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    gap: 1rem;
    bottom: 80px;
  }
  
  .hero-stat-divider {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-header, .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .services-header p, .work-header a {
    text-align: left;
  }
  
  .about-pillars {
    grid-template-columns: 1fr;
  }
  
  .about-image-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    width: 100%;
  }
  
  .about-image-badge {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}