* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --card-bg-1: #151515;
  --card-bg-2: #0c0c0c;
  --border: #262626;
  --border-soft: #2d2d2d;
  --text: #ffffff;
  --muted: #d6d6d6;
  --muted-2: #bbbbbb;
  --pink: #ff4fa3;
  --pink-dark: #e63d91;
  --pink-soft: #ff9dcd;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

/* HEADER */
header {
  background: var(--bg-soft);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink);
}

.nav-links a {
  color: #fff;
  margin-left: 22px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--pink);
  color: white;
}

.btn-primary:hover {
  background: var(--pink-dark);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid var(--pink);
}

.btn-secondary:hover {
  background: rgba(255, 79, 163, 0.12);
}

/* GENERAL SECTIONS */
.section {
  padding: 75px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title h1,
.section-title h2 {
  color: var(--text);
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: #cfcfcf;
  max-width: 760px;
  margin: auto;
}

.center {
  text-align: center;
  margin-top: 30px;
}

.small-note {
  color: var(--muted-2);
  font-size: 0.95rem;
  margin-top: 10px;
}

.highlight {
  color: var(--pink-soft);
  font-weight: 700;
}

/* HERO */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(to bottom, #0d0d0d, #050505);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.05;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 26px;
  max-width: 620px;
}

.tag {
  display: inline-block;
  background: rgba(255, 79, 163, 0.12);
  color: var(--pink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-card h3 {
  color: var(--pink);
  margin-bottom: 16px;
}

.hero-card ul {
  padding-left: 20px;
}

.hero-card li {
  margin-bottom: 12px;
  color: #e5e5e5;
}

.hero-showcase {
  display: grid;
  gap: 16px;
}

.hero-showcase-main {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
}

.hero-showcase-main img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #0b0b0b;
  border-radius: 12px;
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-showcase-grid img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
}

/* SERVICE / GENERAL CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.card {
  padding: 28px;
  background: linear-gradient(145deg, var(--card-bg-1), var(--card-bg-2));
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 0 rgba(255, 255, 255, 0);
}

.card h3 {
  color: var(--pink);
  margin-bottom: 14px;
}

.card p {
  color: #ddd;
  line-height: 1.6;
}

.card::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--pink);
  transition: 0.4s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(255, 79, 163, 0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--pink);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.02),
    0 25px 50px rgba(255, 79, 163, 0.2);
}

.card:hover::before {
  width: 100%;
}

.card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--pink);
  margin-bottom: 18px;
  stroke-width: 2.5;
  display: block;
  transition: all 0.3s ease;
}

.card:hover .service-icon {
  transform: scale(1.2);
  transition: 0.3s;
}


/* CARD ENTRANCE ANIMATION */
.animate-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-card:nth-child(1) { animation-delay: 0.1s; }
.animate-card:nth-child(2) { animation-delay: 0.2s; }
.animate-card:nth-child(3) { animation-delay: 0.3s; }
.animate-card:nth-child(4) { animation-delay: 0.4s; }
.animate-card:nth-child(5) { animation-delay: 0.5s; }
.animate-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title h1 {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HOMEPAGE PREVIEW */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.preview-box {
  background: linear-gradient(135deg, #1a1a1a, #101010);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  text-align: center;
}

.preview-box img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #0b0b0b;
  border-radius: 12px;
}

.preview-box p {
  padding: 14px 8px 6px;
  color: #f0f0f0;
  font-weight: 600;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

.portfolio-item {
  background: linear-gradient(135deg, #1a1a1a, #101010);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
  text-align: center;
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #0b0b0b;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.portfolio-item img:hover {
  transform: scale(1.03);
}

.portfolio-item p {
  padding: 14px 8px 6px;
  color: #f0f0f0;
  font-weight: 600;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.about-card {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.about-card h3 {
  color: var(--pink);
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.about-card p,
.about-card li {
  color: #e0e0e0;
  font-size: 1.05rem;
}

.about-card ul {
  padding-left: 22px;
}

.about-card li {
  margin-bottom: 12px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: #111111;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.contact-card h3 {
  color: var(--pink);
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.contact-card p {
  color: #e0e0e0;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #303030;
  border-radius: 10px;
  font-size: 1rem;
  background: #0d0d0d;
  color: white;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

button {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* CTA */
.cta-box {
  background: #111;
  border: 1px solid #222;
  border-radius: 18px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-box h2 {
  color: var(--pink);
  margin-bottom: 10px;
}

.cta-box p {
  color: #ddd;
  max-width: 700px;
}

/* FOOTER */
footer {
  background: var(--bg-soft);
  border-top: 1px solid #222;
  text-align: center;
  padding: 25px 0;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    text-align: center;
  }

  .nav-links a {
    margin: 8px 10px;
    display: inline-block;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-showcase-main img {
    height: 300px;
  }

  .hero-showcase-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero-showcase-grid img {
    height: 110px;
  }
}
