:root {
  --red: #d72125;
  --black: #000;
  --gray: #111;
}

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

h1,
h1 span {
  font-family: "Montserrat", sans-serif !important;
}

h1 span,
h1.outline,
.hero .content h1 span {
  color: #d72125 !important;
  -webkit-text-fill-color: #d72125 !important;
  -webkit-text-stroke: 0 !important;
}

h2 {
  font-family: "Montserrat", sans-serif !important;
}

h1 {
  font-size: clamp(44px, 5.2vw, 82px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
textarea,
label,
small,
li {
  font-family: "Montserrat", sans-serif !important;
}

body {
  background: var(--black);
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

/* Navigation */
nav.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.header .nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  transition: color 0.3s ease;
}

.header .nav-links a:hover {
  color: var(--red);
}

/* Sections Common */
section {
  padding: 60px 8%;
  position: relative;
}

.title {
  font-family: "Montserrat";
  font-size: 2.5rem;
  margin-bottom: 50px;
  border-left: 5px solid var(--red);
  padding-left: 20px;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
}

.tag {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-family: "Montserrat";
  font-size: 8vw;
  line-height: 0.85;
}

.hero .content h1 {
  font-size: clamp(44px, 5.2vw, 82px) !important;
  line-height: 1.05 !important;
}

.hero .content h1 span {
  display: inline;
  color: var(--red);
  -webkit-text-stroke: 0;
}

.cta-scroll {
  margin-top: 50px;
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 900;
  border-bottom: 2px solid var(--red);
  padding-bottom: 5px;
}

/* About & Stats */
.about h2 {
  font-family: "Montserrat";
  font-size: 3rem;
  max-width: 800px;
}

.about h2 span {
  color: var(--red);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  background: rgba(255, 0, 0, 0.05);
  margin-bottom: 80px;
}

.stats h3 {
  font-family: "Montserrat";
  font-size: 3.0rem;
  color: var(--red);
}

/* GRID 4 x 2 */
.grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ================================
   BUTTON STYLES
================================ */

.final-btn {
  padding: 18px 45px;
  background: #d72125;
  color: #fff;
  border: 2px solid #d72125;
  font-family: "Montserrat";
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s ease;
}
.final-btn:hover {
  background: transparent;
  color: #d72125;
}

/* ================================
   WORK SECTION – PREMIUM AGENCY
================================ */

.work {
  padding: 120px 80px;

}

/* TITLE */
.work .title {
  font-size: 45px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 70px;
  color: #fff;
}

.work .title span,
.work .title b {
  color: #ff2d2d;
}

/* GRID 4 x 2 */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARD */
.item {
  height: auto;
  aspect-ratio: 427 / 494;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background-color: #0b0b0b;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
  filter: brightness(1.15) contrast(1.1) saturate(1.1);
}

/* LIGHT GRADIENT (NOT DARK) */
.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.35));
  z-index: 1;
}

/* NUMBER */
.item span {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ff2d2d;
  z-index: 3;
}

/* HOVER MOTION */
.item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.65);
  filter: brightness(1.25) contrast(1.15) saturate(1.2);
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
  background: linear-gradient(135deg,
      rgba(255, 45, 45, 0.15),
      rgba(255, 45, 45, 0.38));
  backdrop-filter: blur(4px);
}

/* SHOW OVERLAY */
.item:hover .overlay {
  opacity: 1;
}

/* TEXT ANIMATION */
.overlay-content {
  text-align: center;
  color: #fff;
  transform: translateY(22px);
  transition: transform 0.45s ease;
}

.item:hover .overlay-content {
  transform: translateY(0);
}

.overlay h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.overlay p {
  font-size: 14px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero .content h1 {
    font-size: clamp(44px, 5.2vw, 82px) !important;
    line-height: 1.05 !important;
  }

  .work {
    padding: 80px 20px;
  }

  .work .title {
    font-size: 40px;
  }

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

  .item {
    height: auto;
    aspect-ratio: 427 / 494;
  }
}

.item {
  height: auto;
  aspect-ratio: 427 / 494;
}


.branding-showcase {
  padding: 120px 80px;

}

/* TITLE */
.branding-title {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 70px;
  color: #fff;
}

.branding-title span {
  color: #ff2d2d;
}

/* GRID */
.branding-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARD (HORIZONTAL) */
.branding-card {
  aspect-ratio: 16 / 10;
  /* 👈 horizontal size */
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg) center/cover no-repeat;
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
  filter: brightness(1.15) contrast(1.1) saturate(1.1);
}

/* LIGHT GRADIENT */
.branding-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.35));
  z-index: 1;
}

/* NUMBER */
.branding-card span {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ff2d2d;
  z-index: 3;
}

/* HOVER */
.branding-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.65);
  filter: brightness(1.25) contrast(1.15) saturate(1.2);
}

/* OVERLAY */
.branding-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease, backdrop-filter 0.5s ease;
  background: linear-gradient(135deg,
      rgba(255, 45, 45, 0.15),
      rgba(255, 45, 45, 0.38));
  backdrop-filter: blur(4px);
}

.branding-card:hover .branding-overlay {
  opacity: 1;
}

/* TEXT */
.branding-content {
  text-align: center;
  color: #fff;
  transform: translateY(22px);
  transition: transform 0.45s ease;
}

.branding-card:hover .branding-content {
  transform: translateY(0);
}

.branding-content h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.branding-content p {
  font-size: 14px;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .branding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .branding-showcase {
    padding: 80px 20px;
  }

  .branding-title {
    font-size: 40px;
  }

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



/* Services */
.s-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #222;
}

.s-row h3 {
  font-family: "Montserrat";
  font-size: 2rem;
}

/* Contact */
.contact {
  text-align: center;
  padding: 0 !important;
}

.footer-box {
  background: rgb(0 0 0 / 0%);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 100px 20px;
  border-radius: 0 !important;
  width: 100%;
}

.footer-box h2 {
  font-family: "Montserrat";
  font-size: 3.5rem;
  margin-bottom: 20px;

}

.final-btn {
  padding: 18px 45px;
  margin-top: 35px;
  background: #d72125;
  color: #fff;
  border: 2px solid #d72125;
  font-family: "Montserrat";
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.final-btn:hover {
  background: transparent;
  color: #d72125;
}

/* ===== MODAL OVERLAY ===== */
.contact-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);

  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;

  z-index: 999999;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MODAL BOX ===== */
.contact-box {
  width: 460px;
  max-width: 92%;
  padding: 55px;
  border-radius: 28px;

  background: linear-gradient(180deg, #0b0b0b, #121212);
  border: 1px solid rgba(255, 0, 0, .3);

  box-shadow:
    0 40px 120px rgba(0, 0, 0, .9),
    inset 0 0 40px rgba(255, 0, 0, .15);

  position: relative;
  transform: scale(.92);
  transition: transform .35s ease;

  text-align: left;
}

.contact-overlay.active .contact-box {
  transform: scale(1);
}

/* CLOSE */
.close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 26px;
  cursor: pointer;
  color: #ff4d4d;
}

/* TEXT */
.contact-box h2 {
  font-size: 2.3rem;
  font-weight: 800;
}

.contact-box span {
  color: #ff0000;
}

.sub {
  opacity: .7;
  margin-bottom: 35px;
}

/* FORM */
.field {
  position: relative;
  margin-bottom: 26px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 10px;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, .25);
  color: #fff;
  outline: none;
}

.field textarea {
  height: 90px;
  resize: none;
}

.field label {
  position: absolute;
  left: 10px;
  top: 14px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  pointer-events: none;
  transition: .25s;
}

.field input:focus+label,
.field textarea:focus+label,
.field input:valid+label,
.field textarea:valid+label {
  top: -10px;
  font-size: .7rem;
  color: red;
}

/* BUTTON */
.send-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(135deg, #ff0000, #7a0000);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 45px rgba(255, 0, 0, .7);
}

/* BODY LOCK */
body.modal-open {
  overflow: hidden;
}

/* ===== PORTFOLIO CARD CLEANUP + ZOOM ===== */
.item,
.branding-card {
  cursor: zoom-in;
}

.overlay,
.branding-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
}

.item:hover .overlay,
.branding-card:hover .branding-overlay {
  opacity: 0 !important;
}

/* ===== IMAGE LIGHTBOX ===== */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(96vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 42px;
  line-height: 1;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ===== RESPONSIVE REWORK (FULL MODULE) ===== */
body {
  overflow-x: hidden;
}

.logo img {
  display: block;
  height: 76px !important;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding-top: 0 !important;
}

.nav-links a {
  margin-left: 0;
}

.hero .content {
  max-width: 980px;
}

.hero p {
  max-width: 920px;
  line-height: 1.55;
  font-size: clamp(18px, 2.1vw, 22px);
}

@media (max-width: 1100px) {
  nav {
    padding: 10px 5%;
  }

  .hero .content h1 {
    font-size: clamp(42px, 8.8vw, 74px) !important;
    line-height: 0.98 !important;
  }

  .work,
  .branding-showcase {
    padding: 96px 5%;
  }

  .work .title,
  .branding-title {
    font-size: 52px;
  }

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

@media (max-width: 768px) {
  nav {
    padding: 10px 16px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .logo img {
    height: 76px !important;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    padding-top: 4px !important;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1.2px;
  }

  section {
    padding: 56px 16px;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding-top: 110px;
    padding-bottom: 30px;
  }

  .tag {
    letter-spacing: 3px;
    font-size: 12px;
  }

  .hero .content h1 {
    font-size: clamp(38px, 12vw, 62px) !important;
    line-height: 0.98 !important;
  }

  .hero p {
    font-size: 18px;
    line-height: 1.6;
  }

  .cta-scroll {
    margin-top: 26px;
    font-size: 14px;
  }

  .about h2 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 26px 16px;
    margin-bottom: 48px;
  }

  .stats h3 {
    font-size: 2rem;
  }

  .work,
  .branding-showcase {
    padding: 72px 16px;
  }

  .work .title,
  .branding-title,
  .title {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 30px;
  }

  .title {
    border-left-width: 4px;
    padding-left: 14px;
  }

  .work-grid,
  .branding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .item {
    height: auto;
    aspect-ratio: 427 / 494;
  }

  .branding-card {
    aspect-ratio: 4 / 3;
  }

  .s-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 0;
  }

  .s-row h3 {
    font-size: 1.2rem;
  }

  .s-row p {
    font-size: 15px !important;
    line-height: 1.5;
  }

  .footer-box {
    padding: 34px 20px;
    border-radius: 24px !important;
  }

  .footer-box h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .final-btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .contact-overlay {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .contact-box {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 14px;
    padding: 36px 18px 22px;
    border-radius: 18px;
  }

  .contact-box h2 {
    font-size: 1.65rem;
  }

  .sub {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .field {
    margin-bottom: 18px;
  }

  .field input,
  .field textarea {
    padding: 12px 8px;
    font-size: 14px;
  }

  .send-btn {
    padding: 13px;
  }

  .image-lightbox {
    padding: 12px;
  }

  .image-lightbox img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 10px;
  }

  .lightbox-close {
    top: 8px;
    right: 12px;
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .hero .content h1 {
    font-size: clamp(34px, 11.5vw, 50px) !important;
    line-height: 1.02 !important;
  }

  .hero p {
    font-size: 16px;
  }

  .tag {
    letter-spacing: 2px;
    font-size: 11px;
  }

  .work-grid,
  .branding-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .item {
    height: auto;
    aspect-ratio: 427 / 494;
  }
}

.hero p {
  font-size: clamp(18px, 1.55vw, 23px) !important;
  line-height: 1.75 !important;
  max-width: 1040px;
}

.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-side-element {
  position: absolute;
  right: -2%;
  top: 52%;
  width: clamp(420px, 42vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.34;
  pointer-events: none;
  z-index: 1;
}

.hero-side-element::before,
.hero-side-element::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(215, 33, 37, 0.42);
  transform: rotate(45deg);
  box-shadow: 0 0 34px rgba(215, 33, 37, 0.18);
}

.hero-side-element::after {
  inset: 28%;
  border-color: rgba(255, 255, 255, 0.18);
  transform: rotate(45deg) scale(0.86);
}

.hero-side-element span {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 33, 37, 0.72), transparent);
}

.hero-side-element span:nth-child(1) { top: 28%; }
.hero-side-element span:nth-child(2) { top: 50%; transform: rotate(-22deg); }
.hero-side-element span:nth-child(3) { top: 72%; }

@media (max-width: 900px) {
  .hero-side-element {
    display: none;
  }
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
  padding: 0 0 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
  display: block;
  height: 4px;
}
.filter-tabs::-webkit-scrollbar-thumb {
  background: rgba(215, 33, 37, 0.5);
  border-radius: 10px;
}
.filter-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.center-tabs {
  justify-content: flex-start !important;
  margin-top: -30px;
}
@media (max-width: 768px) {
  .filter-tabs {
    justify-content: flex-start;
  }

  .center-tabs {
    justify-content: flex-start !important;
    margin-top: -15px;
  }
}

.filter-btn {
  white-space: nowrap;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 26px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(215, 33, 37, 0.25);
  border-color: rgba(215, 33, 37, 0.8);
  color: #fff;
  box-shadow: 0 0 25px rgba(215, 33, 37, 0.35);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
