/* ========================================
1. VARIABLE & ROOT (THEME)
========================================
*/
:root {
  --primary: #00f2fe;
  --secondary: #4facfe;
  --bg-dark: #080c14;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-main: #ffffff;
  --text-dim: #a0aec0;
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 800;
}

/* ========================================
2. NAVIGATION (STICKY & MOBILE)
========================================
*/
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 10000;
  display: flex;
  align-items: center;
  transition: 0.4s ease;
}

nav.sticky {
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(15px);
  height: 70px;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
}
.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 0.9rem;
}

.nav-links li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10001;
  color: white;
}

/* ========================================
3. HERO SECTION
========================================
*/
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(
    circle at top right,
    rgba(0, 242, 254, 0.1),
    transparent
  );
}

.big-logo {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin: 0 auto 20px;
  box-shadow: 0 15px 45px rgba(0, 242, 254, 0.3);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ========================================
4. VISI MISI (MODERN STYLE)
========================================
*/
.about-header {
  text-align: center;
  margin-bottom: 50px;
}
.sub-title {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.grid-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.about-card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  padding: 60px 40px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: 0.5s ease;
}

.about-card:hover {
  border-color: var(--primary);
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.05);
}

.card-number {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0, 242, 254, 0.05);
  z-index: 0;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
}
.about-card .icon-box {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #fff;
}
.about-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
5. PORTFOLIO GALLERY (4 COLUMNS)
========================================
*/
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.portfolio-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: 0.4s;
}

.portfolio-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.portfolio-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.1);
}

.portfolio-info {
  padding: 20px;
}
.portfolio-info .category {
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.portfolio-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.portfolio-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========================================
6. CONTACT & MAPS
========================================
*/
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

input,
textarea {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: white;
  outline: none;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 350px;
  filter: grayscale(1) invert(0.9) opacity(0.8);
  transition: 0.5s;
}
.contact-map:hover {
  filter: grayscale(0) invert(0) opacity(1);
}

/* ========================================
7. FOOTER & BUTTONS
========================================
*/
footer {
  background: #05080c;
  padding: 70px 0 30px;
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #080c14;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

/* ========================================
8. RESPONSIVE
========================================
*/
@media (max-width: 1200px) {
  .portfolio-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .grid-about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    width: 80%;
    height: 100vh;
    background: #0b111a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    z-index: 10000;
  }
  .nav-links.active {
    right: 0;
  }
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
  .input-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
9. ANIMATIONS
========================================
*/
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: 1s ease-out;
}
.reveal {
  transform: translateY(30px);
}
.reveal-left {
  transform: translateX(-30px);
}
.reveal-right {
  transform: translateX(30px);
}
.active {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
