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

:root {
  --bg-color: #0a0a0a;
  --text-color: #f4f4f5;
  --accent-color: #e65c00;
  --surface-color: #171717;
  --surface-light: #262626;
  --border-color: #333;
  
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 120px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; }

p {
  font-size: 1.125rem;
  color: #a1a1aa;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

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

a:hover {
  color: var(--accent-color);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 8px 0;
}

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

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

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 8px 0;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 24px;
  font-size: 1rem;
}

.dropdown li a::after {
  display: none;
}

.dropdown li a:hover {
  background: var(--surface-light);
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-color);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  background: #ff6600;
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 100%);
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section-alt {
  background: var(--surface-color);
}

.section-header {
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-header .line {
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin-bottom: 1.5rem;
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  z-index: -1;
}

/* Services / Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
  display: block;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.work-card h3 {
  margin: 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  color: #fff;
}

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

.work-card:hover h3 {
  transform: translateY(0);
  opacity: 1;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
}

.contact-info {
  background: var(--surface-color);
  padding: 48px;
  border-radius: 2px;
  border-top: 4px solid var(--accent-color);
}

.contact-item {
  margin-bottom: 32px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item h4 {
  color: var(--accent-color);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.contact-item p, .contact-item a {
  font-size: 1.125rem;
  color: var(--text-color);
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
}

.form-control {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 16px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #000;
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: #71717a;
}

/* Gallery Grid (for subpages) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  background: var(--surface-color);
}

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

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

/* Page Header */
.page-header {
  padding: 180px 0 80px;
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  margin: 0;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 16px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .hero {
    text-align: center;
  }
  
  .hero-bg::after {
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.5) 100%);
  }
  
  .section-header {
    align-items: center;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
