*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}


/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: white;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header {
  min-height: 100vh;
  background-image: url("../images/iron-man-1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.header-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: white;
}

.header-top h1 {
  font-size: 2rem;
}

.header-botttom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-text {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.header-detail {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.service-list {
  list-style: none;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.service-list li {
  margin-bottom: 0.8rem;
}

/* ========================= */
/* PORTFOLIO SECTION */
/* ========================= */

.portfolio-section {
  padding: 4rem 1.5rem;
  background-color: #f5f5f5;
}

.portfolio-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.project-content p {
  font-size: 0.95rem;
  color: #555;
}

.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.project-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: white;
}

/* ========================= */
/* RESPONSIVE BREAKPOINTS */
/* ========================= */

/* Tablet */
@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-text {
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .header-wrapper {
    padding: 1.5rem;
  }

  .header-text {
    font-size: 2rem;
  }

  .service-list {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 200px;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}


/* ========================= */
/* CONTACT SECTION */
/* ========================= */

.contact-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: white;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

/* Glass Form Card */

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px #4f9cff;
}

/* Button */

.btn-primary {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background: #4f9cff;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(79, 156, 255, 0.4);
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  background: #0d0d0d;
  color: #ccc;
  padding-top: 5rem;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.footer h3 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 1rem;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: white;
}

.footer p {
  line-height: 1.6;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.7rem;
}

.footer ul li a {
  text-decoration: none;
  color: #aaa;
  transition: 0.3s ease;
}

.footer ul li a:hover {
  color: #4f9cff;
  padding-left: 5px;
}

/* Bottom Bar */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #777;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}