/* =============================================
   DANIE BALIE CONSTRUCTION — Demo Stylesheet
   ============================================= */

:root {
  --red:     #D63B1F;
  --blue:    #0E4FC2;
  --green:   #1B5E37;
  --dark:    #111111;
  --navy:    #0D1C30;
  --white:   #FFFFFF;
  --off:     #F4F3EF;
  --muted:   #888888;
  --border:  #E0DDD8;
  --radius:  12px;
  --font:    'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #B8321A; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-nav {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { background: #B8321A; }

.btn-outline {
  display: inline-block;
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 22px;
  border: 2px solid var(--dark);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 6px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.btn-white:active { transform: translateY(0); }

/* =============================================
   NAV
   ============================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.3); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.b1 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
}
.b2 {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.14em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.72) 50%,
    rgba(10,10,10,0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 620px;
}

.accent { color: var(--red); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tag {
  position: absolute;
  bottom: 36px;
  left: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* =============================================
   SERVICES / BENTO
   ============================================= */

.services {
  padding: 96px 0;
  background: var(--white);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 14px;
}

/* Card 1: tall left */
.c-red {
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card 2: top middle */
.c-blue {
  grid-column: 2;
  grid-row: 1;
  background: var(--blue);
  color: var(--white);
}

/* Card 3: top right */
.c-green {
  grid-column: 3;
  grid-row: 1;
  background: var(--green);
  color: var(--white);
}

/* Card 4: bottom right, wide */
.c-dark {
  grid-column: 2 / 4;
  grid-row: 2;
  background: var(--dark);
  color: var(--white);
}

.card {
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-4px); }

.card-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.5;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.card-text { flex-shrink: 0; }

.card-img {
  margin: 20px -28px -28px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.wide.card { padding: 32px 36px; }

.card-wide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.card-wide-inner h3 { font-size: 1.4rem; margin-bottom: 8px; }

.card-cta {
  display: inline-block;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 12px 24px;
  border-radius: 6px;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.card-cta:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* =============================================
   STATS
   ============================================= */

.stats {
  background: var(--navy);
  padding: 80px 32px;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat strong span {
  color: var(--red);
}

.stat > span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* =============================================
   ABOUT
   ============================================= */

.about {
  background: var(--off);
  padding: 96px 32px;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  height: 560px;
}

.about-img img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(214,59,31,0.35);
}
.about-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
}

.about-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   PROJECTS
   ============================================= */

.projects {
  padding: 96px 0;
  background: var(--white);
}

.proj-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.proj-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proj-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--off);
  transition: transform 0.3s;
}
.proj-card:hover { transform: translateY(-6px); }
.proj-card:hover .proj-img img { transform: scale(1.05); }

.proj-img {
  height: 260px;
  overflow: hidden;
}
.proj-img img { transition: transform 0.5s ease; }

.proj-info {
  padding: 20px 22px;
}
.proj-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.proj-info span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* =============================================
   CTA BAND
   ============================================= */

.cta-band {
  background: var(--red);
  padding: 96px 32px;
  text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }

.cta-band h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-col p {
  font-size: 0.88rem;
  line-height: 2;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-bar p { font-size: 0.8rem; }

/* =============================================
   SCROLL REVEAL
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 240px 220px;
  }
  .c-red { grid-column: 1 / 3; grid-row: 1; }
  .c-blue { grid-column: 1; grid-row: 2; }
  .c-green { grid-column: 2; grid-row: 2; }
  .c-dark { grid-column: 1 / 3; grid-row: 3; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img { height: 400px; }
  .about-badge { bottom: -16px; right: -8px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--dark);
    padding: 24px 32px 32px;
    gap: 20px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  }
  .nav-links.open a { font-size: 1.1rem; color: var(--white); }

  .hero-content { padding: 100px 24px 80px; }
  .hero-tag { left: 24px; right: 24px; bottom: 24px; flex-wrap: wrap; gap: 10px; }

  .services { padding: 64px 0; }
  .container { padding: 0 20px; }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .c-red, .c-blue, .c-green, .c-dark { grid-column: 1; grid-row: auto; }
  .c-red { min-height: 360px; }
  .card-wide-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .card-img { height: 180px; }

  .stats { padding: 56px 20px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .about { padding: 64px 20px; }
  .proj-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proj-grid { grid-template-columns: 1fr; gap: 16px; }

  .projects { padding: 64px 0; }

  .cta-band { padding: 72px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: 1; }
}
