/* code here */
/* ================================
   ROOT VARIABLES
================================== */
:root {
  --color-bg: #000;
  --color-text: #f2f2f2;
  --color-secondary: #717680;
  --color-highlight: #ffb100;
  --color-accent: #421acb;
  --color-accent-hover: #5b35d6;
  --color-light-bg: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(255, 255, 255, 0.2);
  --color-border-dark: rgba(113, 118, 128, 0.3);
  --color-card-bg: rgba(113, 118, 128, 0.1);
  --color-card-bg-hover: rgba(113, 118, 128, 0.25);
  --color-text-muted: #a0a0a0;
  --color-blur-bg: rgba(0, 0, 0, 0.6);
  --color-overlay: rgba(0, 0, 0, 0.96);
  --color-gradient-start: #000000;
  --color-gradient-mid: #150b2f;
  --color-gradient-end: #0b0420;
}

/* ================================
   RESET & DASAR
================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

section {
  padding: 3rem 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

section p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ================================
   HEADER
================================== */
header {
  background: var(--color-blur-bg);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.3s ease;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-highlight);
}

.contact-btn {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  width: 300px;
}

.contact-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* ================================
   MENU MOBILE
================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  margin: 4px 0;
  border-radius: 2px;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  flex-direction: column;
  align-items: flex-start;
  padding: 4rem 2rem;
  z-index: 1050;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-overlay.show {
  display: flex;
}

.menu-overlay a {
  font-size: 1.2rem;
  margin: 1rem 0;
  width: 100%;
}

.menu-overlay .contact-btn {
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
}

/* ================================
   HERO SECTION
================================== */
main.hero {
  background: linear-gradient(
    to bottom,
    var(--color-gradient-start) 0%,
    var(--color-gradient-mid) 50%,
    var(--color-gradient-end) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 6rem 2rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-left h1 span {
  color: var(--color-highlight);
}

.hero-left p {
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-right img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  object-fit: cover;
  align-self: flex-end;
  animation: fadeIn 1.2s ease forwards;
}

/* ================================
   WHAT WE DO SECTION
================================== */
#what-we-do {
  padding: 100px 0;
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col {
  padding: 15px;
  flex: 1 0 0%;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 767px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

#what-we-do .section-title {
  text-align: center;
  margin-bottom: 60px;
}

#what-we-do h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
}

#what-we-do p.subtitle {
  color: #aaa;
  font-size: 1rem;
  margin-top: 10px;
}

span {
  color: var(--color-text);
  font-weight: bold;
}

.service-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border-dark);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  background-color: var(--color-card-bg-hover);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ================================
   OUR WORK SECTION
================================== */
.our-work {
  background: var(--color-bg);
  padding: 100px 0;
  text-align: center;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0rem auto;
  padding: 0 1rem;
}

.work-item {
  background: var(--color-light-bg);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--color-border-light);
}

.work-item h3 {
  margin: 1rem 0;
  font-weight: 600;
  color: var(--color-text);
}

.work-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* ================================
   MEET THE TEAM SECTION
================================== */
.team-section {
  background: var(--color-bg);
  padding: 100px 0;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 177, 0, 0.4);
}

.team-member h3 {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.team-member p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ================================
   CONTACT & FOOTER
================================== */
.contact-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-section form label {
  align-self: flex-start;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 0.5rem;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  background: var(--color-light-bg);
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border: 1px solid var(--color-highlight);
  background: rgba(255, 255, 255, 0.08);
}

.contact-section textarea {
  resize: none;
  height: 120px;
}

.contact-section button {
  background: var(--color-accent);
  color: var(--color-text);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-section button:hover {
  background: var(--color-accent-hover);
}

footer {
  text-align: center;
  padding: 1rem;
  color: var(--color-secondary);
  font-size: 0.9rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-dark);
}


/* ================================
   RESPONSIVE
================================== */
@media (max-width: 992px) {
  nav,
  header > .contact-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left p {
    margin: 0 auto 2rem;
  }

  .hero-right img {
    margin: 0 auto;
  }
}
