:root {
  --bg: #fff;
  --fg: #E88C00;
  --accent: #5a3ef0;
  --dark: #0a0a0a;
  --panel: #f4f4f4;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: #111;
  line-height: 1.6;
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--dark);
  z-index: 2000;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
}

.logo-img {
  height: 36px;
}

/* NAV TOGGLE BUTTON */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3000;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-list a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 200px;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #fff;
}

/* MOBILE NAV */
@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(12, 12, 12, 0.96);
    backdrop-filter: blur(6px);
    flex-direction: column;
    padding: 20px 0;
    gap: 18px;
    overflow-y: auto;
    transition: left var(--transition);
  }

  .nav-list.active {
    left: 0;
  }

  .dropdown-menu {
    position: static;
    background: none;
    display: none;
    padding-left: 20px;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }
}

/* HERO */
.hero-section-graphics {
  padding-top: var(--nav-height);
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url("/images/hero-graphics.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 900;
}

.hero-lead {
  margin: 16px auto 28px;
  max-width: 600px;
  color: #eee;
}

.cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.cta:hover {
  background: #4c2ce7;
}

/* PROJECTS */
.projects-container {
  padding: 80px 0;
}

.projects-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

.graphics-category {
  margin-bottom: 60px;
}

.graphics-category h3 {
  font-size: 22px;
  margin-bottom: 18px;
  text-align: center;
}

.graphics-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.graphics-gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.graphics-gallery img:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

/* CTA SECTION */
.cta-section {
  background: var(--panel);
  padding: 70px 20px;
  text-align: center;
}

/* FOOTER */
.site-footer {
  background: var(--fg);
  color: #fff;
  padding: 50px 20px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 3000;
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 4000;
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

#lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
}
