:root{
  --bg: #1a0b0b; /* dark red-black */
  --bg-2: #2d0f0f; /* deeper red-black */
  --card: #250e0e; /* red card background */
  --text: #ffe6e6; /* pale red-white */
  --muted: #d1a8a8; /* muted red-gray */
  --brand: #dd0208; /* main red brand color */
  --accent: #ff3a3a; /* bright red accent */
  --ok: #31c48d; /* keeping green for success */
  --shadow: 0 10px 30px rgba(221, 2, 8, 0.15); /* red-tinted shadow */
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

/* Updated body background with red gradient theme */
body{
  margin:0;
  background:radial-gradient(1200px 600px at 10% 5%, #4a1420 0%, var(--bg) 35%, #0a0505 100%);
  color:var(--text);
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* Navbar - Updated with red theme */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(180deg, rgba(26,11,11,.85), rgba(26,11,11,.55));
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(221,2,8,.2)
}

.nav .wrap{max-width:1200px;margin:auto;display:flex;align-items:center;gap:24px;padding:14px 20px}
.brand{font-family:Poppins, Inter, sans-serif;font-weight:800;letter-spacing:.5px}
.brand .mark{color:var(--brand)}
.spacer{flex:1}
.nav a.link{padding:10px 14px;border-radius:12px;color:var(--muted)}
.nav a.link:hover{background:rgba(221,2,8,.15);color:var(--text)}

/* Updated CTA button with red gradient */
.cta{
  background:linear-gradient(135deg,var(--brand), #ff4444);
  color:#fff;
  padding:10px 16px;
  border-radius:14px;
  font-weight:700;
  box-shadow:var(--shadow)
}
.cta:hover{transform:translateY(-1px)}

/* Hero section */
.hero{max-width:1200px;margin:40px auto 0;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;padding:24px 20px}

/* Updated hero card with red-tinted glass effect */
.hero-card{
  background:linear-gradient(145deg, rgba(221,2,8,.08), rgba(221,2,8,.02));
  border:1px solid rgba(221,2,8,.15);
  border-radius:24px;
  padding:36px;
  box-shadow:var(--shadow)
}

.super{color:var(--muted);font-weight:600;letter-spacing:.18em;text-transform:uppercase;font-size:.8rem}
h1{font-family:Poppins, Inter, sans-serif;font-size:clamp(28px, 4vw, 56px);line-height:1.05;margin:10px 0 10px}
.tag{display:inline-flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px}

/* Updated chips with red theme */
.chip{
  background:rgba(221,2,8,.12);
  border:1px solid rgba(221,2,8,.25);
  padding:8px 12px;
  border-radius:999px;
  font-weight:600;
  color:#ffcfcf
}

.trust{display:flex;align-items:center;gap:12px;margin-top:8px;color:#c9ffd9}
.star{width:12px;height:12px;background:var(--ok);border-radius:50%}

.portrait {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(221,2,8,.15);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center left right;
  display: block;
}

/* Sections */
section{max-width:1200px;margin:80px auto;padding:0 20px}
.title{font-family:Poppins, Inter, sans-serif;font-weight:800;font-size:clamp(22px,3vw,36px);margin:0 0 18px}
.muted{color:var(--muted)}

/* Services */
.grid{display:grid;gap:16px}
.services{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}

/* Updated cards with red theme */
.card{
  background:var(--card);
  border:1px solid rgba(221,2,8,.15);
  border-radius:var(--radius);
  padding:18px 16px;
  box-shadow:var(--shadow)
}
.card h3{margin:0 0 6px;font-size:1.05rem}

/* Portfolio */
.portfolio{grid-template-columns:repeat(auto-fit,minmax(240px, 1fr)))}
.work{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(221,2,8,.15)
}
.work img {
  width: 100%;
  height: 100%;          /* bigger & consistent height */
  object-fit: cover;      /* avoids stretching */
  display: block;
}
.work .cap{
  position:absolute;
  inset:auto 0 0 0;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(26,11,11,.8));
  padding:16px;
  color:#fff
}

/* Contact */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.box{
  background:var(--card);
  border:1px solid rgba(221,2,8,.15);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow)
}

/* Updated form inputs with red theme */
input, textarea{
  width:100%;
  background:#1a0b0b;
  color:var(--text);
  border:1px solid rgba(221,2,8,.25);
  border-radius:12px;
  padding:12px 14px;
  margin:8px 0 14px
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(221,2,8,.2)
}

/* Updated primary button */
button.primary{
  background:linear-gradient(135deg,var(--accent),var(--brand));
  color:#fff;
  border:0;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800
}

/* Updated WhatsApp button to complement red theme */
.whatsapp{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:linear-gradient(135deg,#25d366,#8ef2b6);
  color:#062d18;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800
}

/* Footer */
footer{
  border-top:1px solid rgba(221,2,8,.1);
  padding:28px 20px;
  color:var(--muted);
  background:rgba(26,11,11,.4)
}

/* Services Animation - Enhanced for red theme */
.services .card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.services .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 38px rgba(221,2,8,0.25);
  border-color: var(--accent);
}

/* Portfolio Hover Effects */
.work img {
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
}
.work:hover img {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.05);
}
.work .cap {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateY(100%);
  opacity: 0;
}
.work:hover .cap {
  transform: translateY(0%);
  opacity: 1;
}

/* Responsive */
@media (max-width: 920px){
  .hero{grid-template-columns:1fr;}
  .contact-wrap{grid-template-columns:1fr}
}

/* Hide hamburger on desktop */
.hamburger {
  display: none;
  font-size: 26px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

/* Desktop: keep .menu visible */
.menu {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile styles */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-2);
  padding: 16px;
  border-radius: var(--radius);
  margin: 0 16px 12px;
  box-shadow: var(--shadow);
}

.mobile-menu.show {
  display: flex;
}

/* Style links in mobile menu */
.mobile-menu .link,
.mobile-menu .cta {
  padding: 8px 12px;
  text-decoration: none;
  border-radius: calc(var(--radius) / 2);
  transition: background-color 0.2s ease;
}

.mobile-menu .link:hover,
.mobile-menu .cta:hover {
  background: var(--bg-3, rgba(255,255,255,0.1));
}

/* On small screens */
@media (max-width: 820px) {
  .menu {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .mobile-menu.show {
    display: flex; /* Fixed: was 'display: align-items;' which is invalid */
    flex-direction: column;
  }
}
/* About nav */
.about-section {
  background: var(--bg-2);
  padding: 60px 20px;
}
.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-heading {
  font-size: 2.4rem;
  color: var(--brand);
  margin-bottom: 16px;
}
.about-text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 32px;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(221,2,8,0.25);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(221,2,8,0.3);
}
.card h3 {
  color: var(--accent);
  margin-bottom: 12px;
}
.card p {
  color: var(--muted);
}

/* Navigation video background styles */
.nav {
  position: relative;
  overflow: hidden;
}

.nav-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Optional: Add overlay for better text readability */
.nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay - adjust opacity as needed */
  z-index: -1;
}

/* Ensure nav content is above video */
.nav .wrap {
  position: relative;
  z-index: 1;
}

/* Enhance text visibility over video */
.nav .brand,
.nav .link,
.nav .cta,
.nav .hamburger {
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav .mark {
  color: var(--brand, #fff);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile menu positioning */
.mobile-menu {
  position: relative;
  z-index: 1001;
}
