
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}
body {
  font-family: 'Manrope', sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= NAVBAR ================= */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: white;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: 800;
  font-size: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  background: #f5f5f5;
  margin-top: 80px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  max-width: 700px;
}

.hero-content p {
  margin: 20px 0;
  font-size: 1.2rem;
  max-width: 600px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: #111;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #444;
}

/* ================= WORK ================= */

.work-section {
  padding: 120px 0;
}

.work-section h2 {
  font-size: 2rem;
  margin-bottom: 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  background: #ddd;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.portfolio-item:hover {
  transform: scale(1.03);
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
}

/* ================= ABOUT ================= */

.about-section {
  padding: 120px 0;
  background: #fafafa;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.about-content p {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* ================= CONTACT ================= */

.contact-section {
  padding: 120px 0;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.contact-form button {
  padding: 14px;
  border: none;
  background: #111;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #444;
}

.social-icons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.social-icons a {
  color: #111;
  font-size: 20px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  opacity: 0.6;
}

/* ================= FOOTER ================= */

.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 0 5%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* ================= MOBILE NAV ================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #111;
  transition: 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
    transform: translateY(-200%);
    transition: 0.4s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}