body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #111;
  line-height: 1.5;
}

/* ================= SMOOTH SCROLL ================= */
html {
  scroll-behavior: smooth;
}

/* ================= NAV ================= */
nav {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;

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

  padding: 20px 8%;
  border-bottom: 1px solid #eee;
}

/* LEFT SIDE */
.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* FIXED LOGO (CHROME SAFE) */
.nav-left a {
  display: flex;
  align-items: center;
}

/* ================= LOGO ================= */
.logo {
  height: 55px;
  width: auto;
  max-width: 160px;

  display: block;
  object-fit: contain;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons .icon {
  width: 38px;
  height: 38px;

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

  border-radius: 50%;
  border: 1px solid #ddd;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  background: white;
  color: #333;

  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;
}

.social-icons .icon span {
  position: relative;
  z-index: 2;
}

.social-icons .icon:hover {
  transform: translateY(-4px) rotate(6deg);
  border-color: transparent;
  color: white;
}

.social-icons .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: 1;
}

.social-icons .instagram::before {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #4f5bd5);
}

.social-icons .facebook::before {
  background: #1877f2;
}

.social-icons .linkedin::before {
  background: #0a66c2;
}

.social-icons .icon:hover::before {
  transform: scale(1);
}

/* NAV LINKS */
.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: orangered;
}

/* ================= HERO ================= */
.hero {
  background: black;
  color: white;
  padding: 90px 8%;
  text-align: center;
}

/* HERO LOGO */
.hero-logo {
  width: 320px;
  max-width: 90%;
  margin-bottom: 15px;
  opacity: 1;

  animation: logoIntro 1s ease-out;
}

.hero h1 {
  font-size: 52px;
  margin: 0;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;

  background: white;
  color: orangered;

  text-decoration: none;
  font-weight: 600;

  border: 2px solid white;
  border-radius: 6px;

  transition: all 0.2s ease;
}

.btn:hover {
  background: orangered;
  color: white;
  border-color: orangered;
  transform: translateY(-2px);
}

/* ================= SERVICES ================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 80px 8%;
  gap: 40px;
  text-align: center;
}

/* ================= PORTFOLIO ================= */
.portfolio {
  padding: 80px 8%;
}

.portfolio h2 {
  text-align: center;
}

.filter-buttons {
  text-align: center;
  margin: 20px 0 30px;
}

.filter-buttons button {
  margin: 5px;
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.filter-buttons button:hover {
  background: black;
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project:hover img {
  transform: scale(1.05);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.prev { left: 30px; }
.next { right: 30px; }

.nav:hover {
  color: orangered;
}

/* ================= CLIENTS ================= */
.clients {
  padding: 80px 8%;
  background: #f7f7f7;
  text-align: center;
}

/* ================= CTA ================= */
.cta {
  background: black;
  color: white;
  text-align: center;
  padding: 80px 8%;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* ================= ANIMATION ================= */
@keyframes logoIntro {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}