/* MadeAcsí – Modern Multi-page Styles */
:root {
  --bg: #0a0908;
  --bg-soft: #12100e;
  --bg-card: #1a1714;
  --bg-elevated: #221e1a;
  --accent: #d4a574;
  --accent-light: #f0d9b5;
  --accent-dark: #b8894f;
  --text: #f7f2eb;
  --text-muted: #9c9286;
  --border: rgba(212, 165, 116, 0.15);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.3rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 9, 8, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 4%;
}

.logo {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo span {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

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

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(247, 242, 235, 0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--accent-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 8rem 5% 5rem;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 40%, rgba(212, 165, 116, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(212, 165, 116, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.8vw, 4.8rem);
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.05rem 2.3rem;
  background: var(--accent);
  color: #0a0908;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.35s;
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(212, 165, 116, 0.28);
}

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

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

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image-wrap:hover img {
  transform: scale(1.05);
}

/* ===== SECTIONS ===== */
section {
  padding: 7.5rem 5%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.2rem;
}

.section-header .eyebrow {
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.3rem);
  margin-bottom: 1.1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.85s var(--transition), transform 0.85s var(--transition);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s var(--transition), transform 0.85s var(--transition);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s var(--transition), transform 0.85s var(--transition);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.8) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .label {
  position: absolute;
  bottom: 1.3rem;
  left: 1.3rem;
  right: 1.3rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.4s;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-light);
}

.gallery-item:hover .label {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.25;
}

.step {
  text-align: center;
}

.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Source Serif 4', serif;
  font-size: 1.45rem;
  color: var(--accent);
  background: var(--bg);
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}

.step:hover .step-num {
  background: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.3);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 230px;
  margin: 0 auto;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.6rem 2.1rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 165, 116, 0.35);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card .icon {
  font-size: 1.7rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ===== ABOUT LAYOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.3rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f5f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  transition: transform 0.8s;
}

.about-image:hover img {
  transform: scale(1.04);
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 8rem 5%;
  background:
    radial-gradient(ellipse 65% 50% at 50% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 65%),
    var(--bg);
}

.cta h2 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-bottom: 1.2rem;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ===== FOOTER ===== */
footer {
  padding: 3.2rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer .logo {
  font-size: 1.2rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 10rem 5% 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7.5rem;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1.5rem;
  }
  .process-steps::before {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 6.2rem 1.6rem 2rem;
    gap: 0.35rem;
    background: rgba(12, 10, 8, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px rgba(0,0,0,0.45);
    transform: translateX(110%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1050;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    list-style: none;
  }
  .nav-links a {
    display: block;
    padding: 0.95rem 0.9rem;
    font-size: 1.08rem;
    color: var(--text);
    border-radius: 12px;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(212, 165, 116, 0.12);
    color: var(--accent-light);
  }
  body.menu-open {
    overflow: hidden;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
