/* Fonts: Inter + Playfair Display */
:root {
  --bg: #0f1113;
  --surface: #15181c;
  --text: #e9edf1;
  --muted: #b4bcc6;
  --line: #252a31;
  --brand: #d1a575; /* warm gold */
  --brand-2: #a07a4c;
  --accent: #7ec6a5;
  --error: #ff6b6b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

img { max-width: 100%; display: block; border-radius: 12px; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 90%); margin: 0 auto; }
.center { text-align: center; }
.sub { color: var(--muted); margin-top: -8px; }

h1, h2, h3, h4 { font-family: "Playfair Display", serif; margin: 0 0 12px; letter-spacing: .2px; }
.display { font-size: clamp(42px, 6vw, 68px); line-height: 1.08; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); transition: all .25s ease; font-weight: 600; }
.btn-primary { background: var(--brand); color: #121212; border-color: transparent; }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--text); }
.btn-link { color: var(--brand); border: none; padding: 0; }
.btn-link:hover { color: var(--text); }

.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); background: rgba(15,17,19,.6); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 800; letter-spacing: .5px; }
.brand span { color: var(--brand); }
.site-nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; align-items: center; }
.site-nav a { color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--text); }
.site-nav .divider { width: 1px; height: 20px; background: var(--line); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

.hero { position: relative; height: 88vh; min-height: 560px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1493809842364-78817add7ffb?q=80&w=2000&auto=format&fit=crop'); background-size: cover; background-position: center; transform: translateZ(0); will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.25), rgba(0,0,0,.75)); }
.hero-content { position: relative; z-index: 2; max-width: 840px; }
.hero-content h1 { text-shadow: 0 2px 8px rgba(0,0,0,.6); color: #ffffff; }
.hero-content p { text-shadow: 0 1px 4px rgba(0,0,0,.5); color: #ffffff; }
.lead { color: var(--muted); font-size: 18px; margin: 14px 0 20px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trusted-row { margin-top: 16px; display: flex; gap: 12px; align-items: center; justify-content: center; color: #ffffff; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.trust-dots i { font-size: 6px; margin: 0 4px; color: var(--brand); opacity: .9; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); animation: bounce 2s infinite; z-index: 2; }
@keyframes bounce { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

.section { padding: 90px 0; }
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.about .checks { list-style: none; padding: 0; margin: 16px 0 0; color: var(--muted); }
.about .checks li { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.about .checks i { color: var(--accent); }

.card { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card img { border-radius: 12px; margin-bottom: 16px; }
.avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; color: #121212; margin: 0 auto 16px; }
.service i { color: var(--brand); font-size: 28px; }

.work .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.gallery { grid-template-columns: repeat(3, 1fr); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient( to top, rgba(0,0,0,.5), rgba(0,0,0,0) 60% ); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

.process .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process .step { background: var(--surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.process .step span { display: inline-block; font-weight: 800; color: var(--brand); margin-bottom: 6px; }

.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; align-items: center; margin-top: 40px; }
.client-logo { display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: all 0.3s ease; overflow: hidden; }
.client-logo:hover { box-shadow: 0 10px 30px rgba(0,0,0,.3); border-color: var(--brand); }
.client-logo img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; transition: transform 0.3s ease; }
.client-logo:hover img { transform: scale(1.15); }

.faqs .accordion { max-width: 900px; margin: 24px auto 0; }
.faqs .item { border-bottom: 1px solid var(--line); }
.faqs .control { width: 100%; text-align: left; background: transparent; border: none; color: var(--text); font-weight: 600; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.faqs .content { color: var(--muted); padding: 0 0 18px; }

.contact .contact-list { list-style: none; padding: 0; color: var(--muted); }
.contact .contact-list li { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.form-row { display: grid; gap: 8px; margin-bottom: 14px; }
label { color: var(--muted); font-weight: 600; }
input, textarea { background: #0c0e10; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 12px; font: inherit; }
.form-status { color: var(--muted); min-height: 20px; }

.site-footer { border-top: 1px solid var(--line); background: #0c0e10; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.list { list-style: none; padding: 0; color: var(--muted); }
.list a { color: var(--muted); }
.social { list-style: none; display: flex; gap: 12px; padding: 0; }
.legal { border-top: 1px solid var(--line); margin-top: 24px; color: var(--muted); }
.legal .container { padding: 14px 0; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(2px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: fixed; top: 22px; right: 22px; background: rgba(255,255,255,.1); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 12px; }

.back-to-top { position: fixed; right: 18px; bottom: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 12px; opacity: 0; transform: translateY(10px); transition: all .25s ease; }
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: all .6s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Enhanced animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Interactive hover effects */
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.service:hover { transform: translateY(-5px) scale(1.02); }
.gallery-item:hover { transform: scale(1.02); }

/* Parallax sections */
.parallax-section { position: relative; overflow: hidden; }
.parallax-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: translateZ(0); will-change: transform; }

/* Floating elements */
.floating { animation: float 3s ease-in-out infinite; }
.pulse { animation: pulse 2s ease-in-out infinite; }

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Custom cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--brand);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: rgba(209, 165, 117, 0.3);
  border: 2px solid var(--brand);
}

/* Enhanced button animations */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.text-reveal.visible span {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
  .process .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-item { aspect-ratio: 3/4; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { position: fixed; inset: 62px 0 auto 0; background: rgba(15,17,19,.95); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; }
  .site-nav.open { transform: translateY(0); }
  .site-nav ul { padding: 16px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav .divider { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item { aspect-ratio: 4/3; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .client-logo { padding: 15px; }
  .client-logo img { max-height: 50px; }
}

/* Parallax tweak for iOS */
@supports (-webkit-touch-callout: none) {
  .hero-media { background-attachment: scroll; }
}


