/* --- VARIABLES --- */
:root {
  --red: #d32f2f;
  --red-dark: #9a0007;
  --red-light: #ff6659;
  --black: #0a0a0a;
  --white: #f5f5f5;
  --gray: #1a1a1a;
  --gray-mid: #2e2e2e;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* --- CUSTOM CURSOR --- */
.cursor {
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.2s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(211,47,47,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s ease, width 0.3s, height 0.3s;
  transform: translate(-50%, -50%);
}
.cursor.hover { transform: translate(-50%, -50%) scale(2.5); background: var(--red-light); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--red); }

/* --- NAV --- */
nav {
  position: fixed;
  top: 20px;                /* space from top */
  left: 50%;                /* move to middle */
  transform: translateX(-50%); /* true center */

  z-index: 100;

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

  padding: 18px 40px;
  width: fit-content;       /* shrink to content */

  background: var(--red); /* floating feel */
  backdrop-filter: blur(10px); /* glass effect */
  border-radius: 50px;      /* pill shape */
  visibility: visible;

  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.45s ease,
    filter 0.45s ease;


  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

nav.nav-hidden {
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  filter: blur(6px);
  visibility: hidden;
}
.nav-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 4px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--red); }
.nav-links { display: flex; gap: 100px; list-style: none; }
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: white;
  color: var(--red);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 10px;
  text-decoration: none;
  font-weight: 500;
  margin-left: 40px;
  /* transition: background 0.3s, transform 0.2s; */
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;              /* center vertically */
  justify-content: space-between;   /* 🔥 key fix */
  padding: 0 60px;
  position: relative;
  overflow: hidden;
  gap: 80px;                        /* more breathing room */
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--black);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(211,47,47,0.12) 0%, transparent 65%);
  animation: pulse 6s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  max-width: 450px;   /* slightly smaller = cleaner */
  height: auto;

  object-fit: cover;

  transform: translateY(10px); /* subtle positioning */
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
  margin-left: 300px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;   /* keeps face aligned with text */
  position: relative;
  z-index: 2;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(211,47,47,0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-tag {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-tag::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--red);
}

.hero-title {
  position: relative; z-index: 2;
  font-family: 'Anton', cursive;
  margin-top: 150px;
  font-size: 150px;
  line-height: 0.88;
  letter-spacing: -2px;
  color: var(--white);
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .red { color: var(--red); }
.hero-title .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-sub {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-sub p {
  font-size: 1.1rem; font-weight: 300;
  line-height: 1.7;
  max-width: 420px;
  color: rgba(245,245,245,0.7);
}
.hero-sub p em { color: var(--red); font-style: normal; }

.hero-btns { display: flex; gap: 16px; flex-shrink: 0; }

/* --- BUTTONS --- */
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 16px 40px;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary .arrow { position: relative; z-index: 1; transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(6px); }

.btn-secondary {
  border: 1px solid rgba(245,245,245,0.2); color: var(--white);
  padding: 16px 40px;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; text-decoration: none;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--red); color: var(--red); }

/* --- MARQUEE --- */
.marquee-wrap {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 18s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem; letter-spacing: 4px;
  color: var(--white);
  padding: 0 36px;
  display: flex; align-items: center; gap: 36px;
}
.marquee-item::after {
  content: '◆'; font-size: 0.5rem;
  color: rgba(255,255,255,0.5);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- SECTION SHARED --- */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px;
}
.section-label {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px; font: bold;
}
.section-label::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--red);
}
.section-title {
  font-family: 'Anton', cursive;
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: #0a0a0a;
  line-height: 1;
  letter-spacing: 1px;
}

/* --- SERVICES --- */
.services {
  padding: 120px 60px;
  position: relative;
  background-color: white;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-mid);
}
.service-card {
  background: var(--black);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width 0.5s ease;
}
.service-card:hover { background: var(--gray); }
.service-card:hover::before { width: 100%; }

.service-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 4rem; color: white;
  line-height: 1; margin-bottom: 24px;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: var(--red) }
.service-icon {
  width: 48px; height: 48px; margin-bottom: 24px;
  color: var(--red);
}
.service-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem; letter-spacing: 2px;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 0.9rem; color: rgba(245,245,245,0.55);
  line-height: 1.8;
}
.service-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-arrow { opacity: 1; transform: translateY(0); }

/* --- STATS --- */
/* .stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.stat {
  padding: 60px 40px;
  border-right: 1px solid var(--gray-mid);
  position: relative; overflow: hidden;
}
.stat:last-child { border-right: none; }
.stat::before {
  content: ''; position: absolute;
  inset: 0; background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.4s ease;
  z-index: 0;
}
.stat:hover::before { transform: scaleY(1); }
.stat-num {
  font-family: 'Anton', cursive;
  font-size: 4rem; color: var(--red);
  line-height: 1; position: relative; z-index: 1;
  transition: color 0.4s;
}
.stat:hover .stat-num { color: var(--white); }
.stat-label {
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  color: white; margin-top: 8px;
  position: relative; z-index: 1;
  transition: color 0.4s;
}
.stat:hover .stat-label { color: rgba(255,255,255,0.8); } */

/* --- PROCESS --- */
.process { padding: 120px 60px; background: var(--gray); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; margin-top: 80px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 24px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(to right, var(--red), transparent);
}
.process-step { text-align: center; }
.step-circle {
  width: 50px; height: 50px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem; color: var(--red);
  margin: 0 auto 28px;
  background: var(--gray);
  position: relative; z-index: 1;
  transition: background 0.3s, color 0.3s;
}
.process-step:hover .step-circle { background: var(--red); color: var(--white); }
.process-step h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem; letter-spacing: 2px;
  margin-bottom: 12px;
}
.process-step p { font-size: 0.85rem; color: rgba(245,245,245,0.5); line-height: 1.7; }

/* --- PORTFOLIO --- */
/* .portfolio { padding: 120px 60px; }
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px; margin-top: 80px;
}
.portfolio-item {
  background: var(--gray);
  aspect-ratio: 16/10;
  position: relative; overflow: hidden;
}
.portfolio-item:first-child { grid-row: 1 / 3; aspect-ratio: unset; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36px;
  transform: translateY(20px);
  transition: transform 0.4s;
}
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); }
.portfolio-tag {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.portfolio-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem; letter-spacing: 2px; margin-bottom: 4px;
}
.portfolio-type {
  font-size: 0.8rem; color: rgba(245,245,245,0.5);
}
.portfolio-num {
  position: absolute; top: 28px; right: 28px;
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem; color: rgba(255,255,255,0.04);
  line-height: 1;
}
.portfolio-item:nth-child(1) { background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); }
.portfolio-item:nth-child(2) { background: linear-gradient(135deg, #1e0000 0%, #0a0a0a 100%); }
.portfolio-item:nth-child(3) { background: linear-gradient(135deg, #0a0a1a 0%, #1a1a1a 100%); }

.portfolio-dot {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--red); opacity: 0.15;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
} */

/* --- TESTIMONIAL --- */
/* .testimonial {
  padding: 100px 60px;
  background: var(--red);
  position: relative; overflow: hidden;
}
.testimonial::before {
  content: '"';
  font-family: 'Anton', cursive;
  font-size: 30rem;
  color: rgba(0,0,0,0.1);
  position: absolute;
  top: -80px; left: 20px;
  line-height: 1;
}
.testimonial-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.testimonial-text {
  font-family: 'Anton', cursive;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2; letter-spacing: 1px;
  color: var(--white); margin-bottom: 48px;
}
.testimonial-author { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.testimonial-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 48px;
}
.t-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer;
  transition: all 0.3s;
}
.t-dot.active { background: white; width: 24px; border-radius: 3px; } */

/* --- CTA --- */
.cta-section {
  padding: 160px 60px;
  background: var(--black);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(211,47,47,0.1) 0%, transparent 65%);
}
.cta-title {
  font-family: 'Anton', cursive;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.9; letter-spacing: 2px;
  position: relative; z-index: 1;
  margin-bottom: 40px;
}
.cta-title .line2 {
  -webkit-text-stroke: 2px var(--red);
  color: transparent;
}

.cta-form {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(245,245,245,0.15);
  color: var(--white);
  padding: 16px 18px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-family: inherit;

  outline: none;
  transition: 0.3s ease;

  border-radius: 0;
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

/* placeholder styling */
.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: white;
  letter-spacing: 1px;
}

/* textarea refinement */
.cta-form textarea {
  resize: none;
  min-height: 140px;
}

/* button */
.cta-form button {
  margin-top: 10px;
  padding: 16px 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;

  font-family: 'Bebas Neue', cursive;
  letter-spacing: 3px;
  font-size: 1rem;

  transition: 0.3s ease;
  border-radius: 0;
}

.cta-form button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* mobile stacking */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--gray);
  padding: 60px 60px 40px;
  border-top: 1px solid var(--gray-mid);
}

.footer-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem; letter-spacing: 4px;
  color: var(--white); text-decoration: none;
}
.footer-logo span { color: var(--red); }
.footer-tagline {
  font-size: 0.8rem; color: rgba(245,245,245,0.4);
  margin-top: 8px; letter-spacing: 1px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin-bottom: 20px;
}
.footer-col h5 {
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem; color: white;
  text-decoration: none; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }

.linkedin-btn i {
  font-size: 25px;
  transition: transform 0.2s ease;
  color: white;
  cursor: pointer;
}

.linkedin-btn i:hover {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 2px solid var(--gray-mid);
  padding-top: 28px;
  display: flex;
  flex-direction: column;     
  justify-content: center;
  align-items: center;     
  opacity: 0.7;
  gap: 12px;
  text-align: center;        
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  nav { padding: 24px 30px; }
  .nav-links { display: none; }
  .hero { padding: 0 30px 60px; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 32px; }
  .services, .portfolio, .process, .cta-section, footer { padding-left: 30px; padding-right: 30px; }
  .services-grid, .pricing-grid { grid-template-columns: 1fr; }
  /* .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item:first-child { aspect-ratio: 16/10; }
  .stats { grid-template-columns: repeat(2, 1fr); } */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 32px; }
}