﻿:root {
  --bg: #0b0b0e;
  --bg-2: #121218;
  --bg-3: #1b1b24;
  --text: #f5f5f7;
  --muted: #b8b8c2;
  --accent: #ca4a0c;
  --accent-2: #8f8270;
  --card: #14141b;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% -10%, #1a1a22 0%, var(--bg) 55%, #040405 100%);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.4px;
}

.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 6, 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}

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

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

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #d7d7df;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201, 183, 154, 0.18) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}

.page-hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 54px);
  margin: 12px 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 24px 0 20px;
}

.hero-metrics {
  display: flex;
  gap: 40px;
}

.metric {
  display: block;
  font-size: 24px;
  font-weight: 600;
}

.metric-label {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-video {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(140deg, #13131a, #2a2a36);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 360px;
  position: relative;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.media-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.floating-card {
  margin-top: -30px;
  background: rgba(20, 20, 27, 0.9);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 280px;
  margin-left: auto;
}

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.dark {
  background: #08080c;
  color: #f7f1e9;
}

.dark .feature-card,
.dark .project-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.dark .project-body p,
.dark .section-head p,
.dark .feature-card,
.dark .feature-card p {
  color: #e0d6c8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.project-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border-color: rgba(202, 74, 12, 0.35);
}

.project-card:hover .project-image img {
  transform: scale(1.03);
}

.project-image {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e0e13;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-body {
  padding: 20px;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #101015;
  color: #fff;
  border-radius: 10px;
  font-family: inherit;
}

.contact-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #121219;
}

.project-page .project-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.project-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.project-meta {
  display: grid;
  gap: 16px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
}

.meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--accent-2);
  margin-bottom: 6px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.project-gallery img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  object-fit: cover;
  min-height: 200px;
}

.admin-form {
  display: grid;
  gap: 24px;
}

.admin-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-login-card {
  max-width: 520px;
  margin: 0 auto;
}

.admin-hidden {
  display: none;
}

.admin-message {
  margin-top: 12px;
  color: var(--accent);
}

.admin-hint {
  color: var(--muted);
  font-size: 13px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-grid label {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.admin-grid input,
.admin-grid textarea {
  background: #101015;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.step {
  font-size: 22px;
  color: var(--accent-2);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(202, 74, 12, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(202, 74, 12, 0.45);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #0d0d12;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-title {
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy,
.hero-visual {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.9s ease forwards;
}

.hero-visual {
  animation-delay: 0.2s;
}

body.loaded .hero-copy,
body.loaded .hero-visual {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .hero-actions,
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
