/* =========================================================
   DF Glass and Mirror — Design System
   Black + gold with soft glass morphism
   ========================================================= */

:root {
  --bg: #0d0d0d;
  --bg-2: #181818;
  --surface: #1a1a1a;
  --surface-2: #222;
  --text: #ffffff;
  --text-dim: #c8c8c8;
  --text-mute: #8a8a8a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --gold: #b48b2c;
  --gold-2: #d4a445;
  --gold-soft: rgba(180, 139, 44, 0.18);
  --gold-glow: rgba(180, 139, 44, 0.32);

  --gradient-gold: linear-gradient(135deg, var(--gold-2), var(--gold));
  --gradient-glass: linear-gradient(135deg, rgba(30, 30, 30, 0.55), rgba(10, 10, 10, 0.35));
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(10, 10, 10, 0.55));

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 18px rgba(180, 139, 44, 0.22);
  --shadow-deep: 0 18px 60px rgba(0, 0, 0, 0.55);

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(at 20% 0%, rgba(180, 139, 44, 0.05), transparent 50%),
    radial-gradient(at 80% 100%, rgba(180, 139, 44, 0.04), transparent 50%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw + 1rem, 4.5rem); }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; color: var(--text-dim); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* utility */
.text-gradient {
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.text-accent { color: var(--gold-2); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-110%);
  transition: transform 0.35s var(--ease);
}
.site-header.is-visible { transform: translateY(0); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand img { height: 50px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.nav-desktop a:hover { color: var(--gold-2); }

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s var(--ease);
}
.lang-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-2);
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.menu-btn {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.06); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fade-in 0.25s var(--ease);
}
.mobile-menu-panel {
  position: relative;
  width: min(360px, 85vw);
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slide-in 0.3s var(--ease);
}
.mobile-menu-panel nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu-panel nav a {
  color: var(--text);
  font-size: 1.15rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-panel nav a:hover { color: var(--gold-2); }
.menu-close { position: absolute; top: 1rem; right: 1rem; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 8rem;
  animation: hero-in 1s var(--ease) forwards;
}
.hero-logo {
  width: clamp(200px, 40vw, 380px);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.hero h1 { color: #fff; }
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.35rem);
  max-width: 720px;
  margin: 1.25rem auto 0;
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  animation: bounce 2.4s var(--ease) infinite;
  z-index: 2;
}
.scroll-indicator:hover { color: #fff; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

/* =========================================================
   Sections common
   ========================================================= */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-services { background: rgba(255, 255, 255, 0.015); }
.section-portfolio { background: var(--bg); }
.section-about { background: rgba(255, 255, 255, 0.025); }
.section-contact { background: rgba(255, 255, 255, 0.015); }
.section-social { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}
.section-head p { font-size: 1.1rem; color: var(--text-dim); }

.grid { display: grid; gap: 1.75rem; }

/* =========================================================
   Card (glass)
   ========================================================= */
.card {
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-deep);
}

/* =========================================================
   Services grid
   ========================================================= */
.grid-services {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.service-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.15) 60%, transparent 100%);
}
.service-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: #1a1208;
  box-shadow: var(--shadow-gold);
  z-index: 1;
}
.service-body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { color: var(--text); margin-bottom: 0.5rem; }
.service-body p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 1rem; }
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-mute);
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
}
.service-features li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold-2);
}
.btn-primary {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #1a1208;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gradient-gold);
  color: #0d0d0d;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-block { width: 100%; margin-top: auto; }

/* =========================================================
   Portfolio
   ========================================================= */
.grid-portfolio {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.portfolio-img { aspect-ratio: 4 / 3; overflow: hidden; }
.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.07); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { font-size: 0.95rem; margin: 0; }

/* =========================================================
   About
   ========================================================= */
.grid-about {
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .grid-about { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-text h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.75rem); }
.about-text p { font-size: 1.05rem; line-height: 1.7; }
.check-list {
  list-style: none;
  padding: 0; margin: 1.5rem 0 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-weight: 500;
}
.check-list .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold-glow);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  padding: 2rem 1rem;
  text-align: center;
}
.stat-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  color: #1a1208;
  box-shadow: var(--shadow-gold);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-2);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.stat-label { color: var(--text-mute); font-weight: 500; font-size: 0.9rem; }

/* =========================================================
   Contact
   ========================================================= */
.grid-contact {
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 960px) {
  .grid-contact { grid-template-columns: 2fr 1fr; }
}
.contact-form-card { padding: 2rem; }
.contact-form-card h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }

#quote-form { display: grid; gap: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #e15a5a;
}
.form-error {
  display: none;
  font-size: 0.8rem;
  color: #ff8989;
}
.form-field.has-error .form-error { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  color: #1a1208;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}
.info-card h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.info-card p { margin: 0; font-size: 0.95rem; color: var(--gold-2); font-weight: 500; }
.info-card a { color: var(--gold-2); }
.info-small { color: var(--text-mute); font-size: 0.78rem; font-weight: 500; }
.info-strong { color: var(--gold-2); font-weight: 700; font-size: 1.05rem; }
.info-sub { display: block; margin-top: 0.25rem; font-size: 0.78rem; color: var(--text-mute); }

/* =========================================================
   Social
   ========================================================= */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.social-card {
  width: 240px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}
.social-card h3 { margin: 1rem 0 0.25rem; }
.social-card p { margin: 0; color: var(--text-mute); font-size: 0.9rem; }
.social-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-fb { background: #1877f2; }
.social-ig {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.footer-logo { height: 64px; width: auto; }
.footer-tag { color: var(--text-dim); max-width: 540px; margin: 0; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.footer-contact strong { color: var(--text-mute); font-weight: 600; font-size: 0.82rem; }
.footer-copy {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
  color: var(--text-mute);
  font-size: 0.85rem;
}

/* =========================================================
   Service modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  animation: fade-in 0.25s var(--ease);
}
.modal-panel {
  position: relative;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  animation: modal-in 0.3s var(--ease);
}
.modal-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.modal-body { padding: 1.5rem 1.75rem 1.75rem; }
.modal-body h3 { font-size: 1.6rem; }
.modal-body p { color: var(--text-dim); line-height: 1.65; margin: 0; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s var(--ease);
}
.modal-close:hover { background: rgba(0, 0, 0, 0.9); border-color: var(--gold); color: var(--gold-2); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   Body scroll lock
   ========================================================= */
body.is-locked { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .nav-mobile-actions { display: flex; }
}
@media (max-width: 520px) {
  .header-inner { height: 60px; }
  .brand img { height: 42px; }
  .hero-content { padding-top: 5rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .stat-card { padding: 1.5rem 0.75rem; }
  .stat-number { font-size: 1.65rem; }
  .contact-form-card { padding: 1.25rem; }
  .footer-contact { flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
