/* ===== VARIABLES ===== */
:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --card: #0d0d0d;
  --line: rgba(212, 175, 55, 0.2);
  --gold: #d4af37;
  --gold-soft: #b9921f;
  --white: #f8f8f8;
  --muted: #9d9d9d;
  --nav-bg: rgba(5, 5, 5, 0.95);
  --contact-left-p: #d0d0d0;
}

[data-theme="light"] {
  --bg: #f5f5f0;
  --bg-soft: #ebebea;
  --card: #ffffff;
  --line: rgba(180, 140, 20, 0.25);
  --gold: #b8920a;
  --gold-soft: #9a7a08;
  --white: #1a1a1a;
  --muted: #555555;
  --nav-bg: rgba(245, 245, 240, 0.97);
  --contact-left-p: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  padding: 16px 28px;
  border-bottom: 1rem solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--gold);
}

.logo-wrap { display: flex; align-items: center; gap: 10px; }

.logo-circle {
  width: 60px; height: 60px;
  border: 1rem solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; color: var(--gold);
}

.logo-img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-gold {
  color: var(--gold);
}

.logo-text { font-size: 3rem; 
  letter-spacing: 6px; 
  font-weight: 800;
  font-family: "Cormorant Garamond", serif; 
    position: relative;
  display: inline-block;
}

.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px; /* space below text */
  width: 100%;
  height: 2px;
  background: var(--gold);
}

.nav-links { display: flex; gap: 28px;margin-left: auto;  }

.nav-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-controls { display: flex; align-items: center; gap: 12px; }

.icon-btn {
  background: transparent;
  border: .3rem solid var(--line);
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 13px;
  transition: all 0.3s;
}

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

.lang-btn-toggle {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.lang-btn-toggle:hover { border-color: var(--gold); }

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

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

.mini-badge, .section-tag {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 30px;
}

.hero h1, .section h2, .contact-left h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gold-text, .hero h1 span, .section h2 span {
  color: var(--gold);
  font-style: italic;
}

.divider {
  width: 90px; height: 1px;
  background: var(--gold);
  margin: 22px auto 28px;
  position: relative;
}

.divider::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  left: 50%; top: -4px;
  transform: translateX(-50%);
}

.hero-text, .section-subtext, .contact-left > p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 14px 28px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold { color: var(--bg); background: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }

.btn-outline { color: var(--white); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-wa { background: #25D366; color: #fff; border-color: #25D366; border-radius: 4px; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }

.btn-tg { background: #229ED9; color: #fff; border-color: #229ED9; border-radius: 4px; }
.btn-tg:hover { background: #1a7fb3; border-color: #1a7fb3; color: #fff; }

/* ===== STATS ===== */
.stats {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5rem solid var(--line);
  border-bottom: 0.5rem solid var(--line);
}

.stat-box {
  padding: 28px 20px;
  text-align: center;
  border-right: 0.5rem solid var(--line);
}

.stat-box:last-child { border-right: none; }

.stat-box h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 95px 20px;
  text-align: center;
}

.services-grid, .projects-grid, .process-grid, .team-grid {
  margin-top: 48px;
  display: grid;
  gap: 24px;
}

.services-grid { grid-template-columns: repeat(3, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }

/* ===== CARDS ===== */
.card, .project-card, .process-card, .contact-form-box, .contact-note {
  background: var(--card);
  border: 0.4rem solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
}

.card { padding: 24px 20px; text-align: left; min-height: 240px; }
.card:hover { border-color: var(--gold); transform: translateY(-4px); }

.card-icon { font-size: 1.4rem; color: var(--gold); margin-bottom: 14px; }

.card-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 14px;
}

.card h3, .project-card h3, .process-card h3, .contact-form-box h3, .contact-note h4, .team-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.card p, .project-card p, .process-card p, .contact-note p, .team-card p {
  color: var(--muted);
  font-size: 14px;
}

.second-stats { margin-top: 10px; }

/* ===== FILTER ===== */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 20px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

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

/* ===== PROJECTS ===== */
.projects-grid { grid-template-columns: repeat(3, 1fr); }

.project-card { text-align: left; overflow: hidden; }
.project-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.project-label {
  display: inline-block;
  color: var(--gold);
  border: 0.4rem solid var(--line);
  font-size: 10px;
  padding: 4px 10px;
  letter-spacing: 2px;
  margin: 16px 16px 12px;
  text-transform: uppercase;
}

.project-thumb {
  width: 100%; height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f0f, #090909);
}

.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.project-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.3);
}

.project-info { padding: 16px; }

.tools-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.badge {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 10px;
  padding: 3px 8px;
  letter-spacing: 1px;
}

.project-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.project-card a:hover { opacity: 0.7; }

/* ===== PROCESS ===== */
.process-card {
  text-align: left;
  padding: 30px 22px;
  min-height: 220px;
  position: relative;
}

.process-card:hover { border-color: var(--gold); }

.roman {
  position: absolute;
  top: 14px; right: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: rgba(212, 175, 55, 0.15);
}

.process-icon { font-size: 1.3rem; color: var(--gold); margin-bottom: 14px; }

/* ===== CARD IMAGE ===== */
.card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 16px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default (real photos) */
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Special images (UI, ads, illustrations) */
.card-img img.contain {
  object-fit: contain;
  padding: 10px;
}

/* Desktop */
@media (min-width: 1024px) {
  .card-img {
    height: 220px;
  }
}

/* Hover zoom effect */
.card:hover .card-img img {
  transform: scale(1.05);
}

/* ===== TEAM ===== */
.team-card {
  background: var(--card);
  border: 0.4rem solid var(--line);
  text-align: center;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover { border-color: var(--gold); transform: translateY(-6px); }

.team-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.4);
  background: var(--bg-soft);
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.team-info h3 { font-size: 1.2rem; margin-bottom: 4px; }

.team-role {
  color: var(--gold) !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 14px !important;
  font-weight: 500;
}

.team-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
  text-align: center;
}

.team-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.btn-portfolio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn-portfolio:hover {
  background: var(--gold);
  color: var(--bg);
}

.team-socials { display: flex; justify-content: center; gap: 12px; }

.team-socials a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s;
}

.team-socials a:hover { color: var(--gold); }

/* ===== CONTACT ===== */
.contact-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 95px 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-left { text-align: left; }
.contact-left h2 { margin-bottom: 20px; }
.contact-left > p { margin: 0 0 24px 0; max-width: 650px; color: var(--contact-left-p); }

.contact-info { margin-bottom: 20px; }
.contact-info p { margin-bottom: 10px; color: var(--muted); font-size: 14px; }
.contact-info i { color: var(--gold); width: 20px; margin-right: 6px; }

.social-links { display: flex; gap: 14px; margin-bottom: 20px; }

.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted);
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.3s;
}

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

.contact-quick { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.contact-note { margin-top: 0; padding: 22px; }

.contact-form-box { padding: 28px; }
.contact-form-box h3 { margin-bottom: 20px; }

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

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

input, select, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 13px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
  border-color: rgba(0,0,0,0.1);
}

input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.full-btn { width: 100%; cursor: pointer; justify-content: center; }

/* ===== FORM MSG ===== */
.form-msg {
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.form-msg.success { background: rgba(39,174,96,0.15); border: 1px solid #27ae60; color: #2ecc71; }
.form-msg.error { background: rgba(231,76,60,0.15); border: 1px solid #e74c3c; color: #e74c3c; }

/* ===== FOOTER ===== */
.footer { border-top: 1rem solid var(--gold); text-align: center; padding: 36px 20px; }

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}

.footer-links a, .footer p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
  transition: color 0.3s;
}

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

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.no-content { grid-column: 1/-1; color: var(--muted); font-size: 15px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .team-grid, .contact-section { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
}

@media (max-width: 700px) {
  .navbar { flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 13px; }
  .hamburger { display: flex; }
  .services-grid, .process-grid, .stats { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 0.5rem solid var(--line); }
  .stat-box:last-child { border-bottom: none; }
  .row { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .contact-quick { flex-direction: column; }
}
/* ===== DESKTOP FULL-WIDTH + BIGGER TEXT ===== */
@media (min-width: 1024px) {
  body {
    font-size: 2rem;
  }

  .navbar {
    padding: 24px 60px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .nav-links {
    gap: 40px;
  }

  .nav-links a,
  .lang-btn-toggle,
  .btn,
  .filter-btn,
  .project-card a,
  .footer-links a,
  .footer p {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .icon-btn {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .hero,
  .section,
  .stats,
  .contact-section {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero {
    text-align: left;
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .hero-text,
  .section-subtext,
  .contact-left > p,
  .no-content,
  .card p,
  .project-card p,
  .process-card p,
  .contact-note p,
  .team-card p,
  .contact-info p,
  input,
  select,
  textarea {
    font-size: 2rem;
    max-width: 100%;
  }

  .hero h1,
  .section h2,
  .contact-left h2 {
    font-size: 4.5rem;
    line-height: 1.15;
  }

  .mini-badge,
  .section-tag,
  .project-label,
  .badge,
  .team-role,
  .stat-box p {
    font-size: 1.2rem;
  }

  .card h3,
  .project-card h3,
  .process-card h3,
  .contact-form-box h3,
  .contact-note h4,
  .team-card h3 {
    font-size: 2.5rem;
  }

  .card,
  .project-card,
  .process-card,
  .team-card,
  .contact-form-box,
  .contact-note {
    padding: 36px;
  }

  .project-thumb {
    height: 320px;
  }

  .team-photo {
    width: 220px;
    height: 220px;
  }

  .services-grid,
  .projects-grid,
  .process-grid,
  .team-grid {
    gap: 32px;
  }

  .row {
    gap: 20px;
  }

  input,
  select,
  textarea {
    padding: 20px;
  }

  .btn {
    padding: 18px 34px;
  }

  .footer {
    padding: 50px 60px;
  }
}
