:root {
  --gold: #d89a2b;
  --gold-light: #f0bd5a;
  --black: #08090a;
  --dark: #0d0f10;
  --card: #131516;
  --cream: #f5f2ea;
  --text: #f7f5ef;
  --muted: #8f9294;
}

/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   HEADER
========================= */

.header {
  height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dinecraft Header Logo */

.header .logo {
  display: flex;
  align-items: center;
  width: 175px;
  height: 58px;
  flex-shrink: 0;
}

.header .logo img {
  display: block;
  width: 175px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

/* Navigation */

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 12px;
  color: #aaa;
  transition: 0.25s ease;
}

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

/* Header CTA */

.header-btn,
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--gold-light),
    #bc7716
  );
  color: #111;
  font-weight: 700;
  font-size: 12px;
  padding: 12px 18px;
  border-radius: 5px;
  transition: 0.25s ease;
}

.header-btn:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216, 154, 43, 0.2);
}

/* Mobile Menu */

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: white;
  font-size: 25px;
  cursor: pointer;
}

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

.hero {
  min-height: 650px;
  padding: 75px 8%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 78% 48%,
      #3a260d 0,
      #17130c 18%,
      var(--black) 50%
    );
}

.badge,
.section-heading small,
.about-copy > small,
.center-heading small,
.contact-copy > small {
  color: var(--gold);
  letter-spacing: 2.5px;
  font-weight: 700;
  font-size: 10px;
}

.hero h1 {
  font: 800 clamp(43px, 5.3vw, 73px) / 0.98 Manrope;
  margin: 18px 0;
  letter-spacing: -2.8px;
}

.hero h1 span,
h2 span {
  color: var(--gold);
}

.hero-content > p {
  max-width: 560px;
  color: #aaa;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 31px 0 48px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-outline {
  border: 1px solid #666;
}

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

/* =========================
   TRUST ROW
========================= */

.trust-row {
  display: flex;
  gap: 27px;
  flex-wrap: wrap;
}

.trust-row div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.trust-row b {
  color: var(--gold);
  font-size: 17px;
}

.trust-row span {
  font-size: 9px;
  color: #777;
}

.trust-row strong {
  display: block;
  color: #ddd;
  font-size: 10px;
  margin-bottom: 3px;
}

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

.hero-visual {
  min-height: 500px;
  position: relative;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-one {
  width: 350px;
  height: 350px;
  background: #c17b1720;
  left: 20%;
  top: 15%;
}

.orb-two {
  width: 120px;
  height: 120px;
  background: #d99a2530;
  right: 5%;
  bottom: 10%;
}

.product {
  position: absolute;
}

/* =========================
   BOTTLE
========================= */

.bottle {
  width: 145px;
  height: 395px;
  left: 23%;
  top: 13%;
  border-radius: 35px 35px 24px 24px;
  background:
    linear-gradient(
      90deg,
      #151719,
      #3b3e40 35%,
      #111 70%
    );
  box-shadow: 22px 35px 45px #000;
  transform: rotate(-4deg);
  z-index: 3;
}

.bottle-cap {
  width: 70px;
  height: 35px;
  position: absolute;
  left: 38px;
  top: -25px;
  border-radius: 9px 9px 3px 3px;
  background: #27292b;
}

.bottle-label {
  position: absolute;
  left: 19px;
  right: 19px;
  top: 125px;
  height: 150px;
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.bottle-label span {
  font: 42px Georgia;
}

.bottle-label strong {
  font-size: 10px;
  letter-spacing: 1.5px;
}

.bottle-label small {
  font-size: 6px;
  color: #aaa;
  margin-top: 5px;
}

/* =========================
   BOX
========================= */

.box {
  width: 230px;
  height: 230px;
  right: 4%;
  bottom: 25px;
  border-radius: 7px;
  background:
    linear-gradient(
      145deg,
      #202223,
      #080909
    );
  box-shadow: 15px 25px 40px #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.box::before {
  content: "";
  position: absolute;
  top: -58px;
  width: 100px;
  height: 82px;
  border: 11px solid #161819;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
}

.box-logo {
  width: 70px;
  height: 70px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 42px Georgia;
}

.box strong {
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 10px;
}

.box small {
  font-size: 6px;
  color: #aaa;
}

/* =========================
   FLOATING TAG
========================= */

.floating-tag {
  position: absolute;
  right: 23%;
  top: 8%;
  z-index: 5;
  background: var(--gold);
  color: #111;
  padding: 12px 15px;
  font: 800 10px Manrope;
  transform: rotate(6deg);
  box-shadow: 0 8px 25px #0007;
}

.floating-tag span {
  font-size: 7px;
  letter-spacing: 1px;
}

/* =========================
   CLIENTS
========================= */

.clients {
  background: var(--cream);
  color: #111;
  text-align: center;
  padding: 55px 7%;
}

.clients > p {
  color: #999;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 30px;
}

.client-grid div {
  padding: 18px 8px;
  border-right: 1px solid #ddd;
  font-size: 20px;
}

.client-grid div:last-child {
  border-right: 0;
}

.client-grid strong {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 95px 7%;
}

.dark {
  background: var(--black);
}

/* =========================
   SECTION HEADING
========================= */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.about h2,
.contact h2,
.center-heading h2 {
  font: 800 40px / 1.1 Manrope;
  margin: 10px 0;
  letter-spacing: -1.3px;
}

.section-heading > p {
  max-width: 410px;
  color: #818587;
  font-size: 13px;
  line-height: 1.75;
}

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

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

.service-card {
  min-height: 265px;
  padding: 28px 22px;
  border: 1px solid #252728;
  border-radius: 8px;
  background:
    linear-gradient(
      145deg,
      #121415,
      #0b0c0d
    );
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: #a77422;
  box-shadow: 0 18px 35px #0008;
}

.service-icon {
  color: var(--gold);
  font-size: 27px;
}

.service-card h3 {
  font: 700 17px Manrope;
}

.service-card p {
  color: #85898b;
  font-size: 12px;
  line-height: 1.65;
  min-height: 80px;
}

.service-card a {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

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

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  background: #0e1011;
}

/* Actual Dinecraft SVG */

.about-logo {
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-logo img {
  position: relative;
  z-index: 2;
  width: 260px;
  max-width: 70%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(
      0 0 30px rgba(216, 154, 43, 0.12)
    );
}

/* About text */

.about-copy > p,
.contact-copy > p {
  color: #898d8f;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================
   STEPS
========================= */

.steps {
  margin-top: 30px;
}

.steps > div {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #27292a;
}

.steps b {
  color: var(--gold);
  font-size: 11px;
}

.steps strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.steps span {
  color: #777;
  font-size: 11px;
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
  background: var(--cream);
  color: #111;
  text-align: center;
  padding: 100px 6%;
}

.center-heading {
  max-width: 720px;
  margin: 0 auto 60px;
}

.center-heading small {
  color: #a56c14;
}

.center-heading p {
  color: #888;
  font-size: 13px;
  line-height: 1.7;
}

/* =========================
   PORTFOLIO GRID
========================= */

.portfolio-grid {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 35px;

  align-items: stretch;
}

/* =========================
   PORTFOLIO ITEM
========================= */

.portfolio-item {
  width: 100%;

  /* Larger image area */
  aspect-ratio: 3 / 4;

  border-radius: 16px;

  overflow: hidden;
  position: relative;

  background: #111;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);

  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.22);
}

/* =========================
   PORTFOLIO IMAGE
========================= */

.portfolio-item img {
  width: 100%;
  height: 100%;

  display: block;

  /*
    IMPORTANT:
    contain keeps the entire image visible.
    Nothing gets cropped.
  */

  object-fit: contain;

  background: #111;

  transition:
    transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.02);
}

/* =========================
   CONTACT
========================= */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.contact-box {
  border: 1px solid #292b2c;
  border-radius: 10px;
  padding: 8px;
}

.contact-card {
  border: 1px solid #292b2c;
  border-radius: 10px;
  overflow: hidden;
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border-bottom: 1px solid #242627;
  transition: 0.25s ease;
}

.contact-card a:hover {
  background: #111314;
}

.contact-card a:last-child {
  border: 0;
}

.contact-card a > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #76511e;
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card small {
  display: block;
  color: #666;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-bottom: 5px;
}

.contact-card strong {
  font-size: 14px;
}

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

footer {
  padding: 28px 7%;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 10px;
}

footer p {
  margin: 0;
}

/* Footer SVG Logo */

footer .logo {
  display: flex;
  align-items: center;
  width: 175px;
}

footer .logo img {
  display: block;
  width: 175px;
  height: auto;
  object-fit: contain;
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

  nav {
    gap: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Portfolio */

  .portfolio {
    padding: 85px 6%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
  }

  .portfolio-item {
    aspect-ratio: 3 / 4;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-logo {
    height: 350px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  /* Header */

  .header {
    height: 68px;
    padding: 0 6%;
  }

  .header .logo {
    width: 145px;
    height: 50px;
  }

  .header .logo img {
    width: 145px;
    height: 50px;
  }

  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 24px;
    background: #0b0c0d;
    flex-direction: column;
    border-bottom: 1px solid #222;
  }

  nav.open {
    display: flex;
  }

  .header-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  /* Hero */

  .hero {
    padding: 65px 6%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .bottle {
    left: 6%;
    width: 110px;
    height: 290px;
  }

  .bottle-cap {
    width: 55px;
    height: 28px;
    left: 28px;
    top: -20px;
  }

  .bottle-label {
    top: 90px;
    height: 110px;
    left: 14px;
    right: 14px;
  }

  .bottle-label span {
    font-size: 32px;
  }

  .box {
    width: 180px;
    height: 180px;
    right: 0;
  }

  .box-logo {
    width: 55px;
    height: 55px;
    font-size: 32px;
  }

  .floating-tag {
    right: 8%;
  }

  .trust-row {
    gap: 13px;
  }

  /* Sections */

  .section,
  .clients {
    padding: 65px 6%;
  }

  .section-heading h2,
  .about h2,
  .contact h2,
  .center-heading h2 {
    font-size: 31px;
  }

  /* Services */

  .service-grid {
    grid-template-columns: 1fr;
  }

  /* =========================
     MOBILE PORTFOLIO
  ========================= */

  .portfolio {
    padding: 70px 6%;
  }

  .center-heading {
    margin-bottom: 45px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 28px;
  }

  .portfolio-item {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
  }

  .portfolio-item img {
    object-fit: contain;
  }

  /* Client Grid */

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid div {
    border-bottom: 1px solid #ddd;
  }

  .client-grid div:nth-child(even) {
    border-right: 0;
  }

  /* About */

  .about {
    gap: 45px;
  }

  .about-logo {
    height: 300px;
  }

  .about-logo img {
    width: 220px;
  }

  /* Contact */

  .contact {
    gap: 40px;
  }

  /* Footer */

  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  footer .logo {
    width: 160px;
    justify-content: center;
  }

  footer .logo img {
    width: 160px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

  .header .logo {
    width: 130px;
    height: 46px;
  }

  .header .logo img {
    width: 130px;
    height: 46px;
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -2px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .box {
    width: 155px;
    height: 155px;
  }

  /* Small Mobile Portfolio */

  .portfolio {
    padding: 60px 5%;
  }

  .portfolio-grid {
    gap: 22px;
  }

  .portfolio-item {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
  }

  /* About */

  .about-logo {
    height: 260px;
  }

  .about-logo img {
    width: 190px;
  }
}