/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* Navbar */
header {
  background: #FFAA78;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 60px;
  border-bottom: 3px solid white;
}

.nav-logo img {
  height: 55px;
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu a {
  color: #fff;
  border: 2px solid white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 6px 15px;
}

.nav-menu a:hover {
  background-color: white;
  color: #e76f3c;
  opacity: 0.9;
}
.nav-menu a.active {
  background-color: white;
  color: #e76f3c;
}

/* Hero Section */
.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 80px 60px;
  background: #FFAA78;
  width: 100%;
  min-height: 100vh;
}

.text-box {
  flex: 1;
  max-width: 50%;
}

.text-box h1 {
  font-size: 2.8em;
  color: white;
  margin-bottom: 20px;
}

.text-box .highlight {
  color: #fff;
  background: #e76f3c;
  padding: 4px 10px;
  border-radius: 8px;
}

.text-box p {
  font-size: 1.2em;
  line-height: 1.7;
  color: white;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: white;
  color: #e76f3c;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #e76f3c;
  color: white;
}

/* Profile Image */
.image-box {
  flex: 1;
  text-align: center;
}

.image-box img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  border: 4px solid white;
}

/* Portfolio Section */
.portfolio {
  padding: 120px 60px 60px;
  background: #fff6f0;
  min-height: 100vh;
  text-align: center;
}

.section-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #e76f3c;
}

.section-subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #444;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.portfolio-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
}

.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.portfolio-card h3 {
  margin: 15px;
  font-size: 1.2em;
  color: #e76f3c;
}

.portfolio-card p {
  margin: 0 15px 20px;
  font-size: 0.95em;
  color: #555;
}


/* Footer */
footer {
  background: #e76f3c;
  text-align: center;
  padding: 15px;
  color: white;
  font-size: 0.9em;
}

/* Interesting */
.interesting {
  padding: 120px 60px 60px;
  background: #fff6f0;
  text-align: center;
}

/* Gallery */
.gallery {
  padding: 120px 60px 60px;
  background: #fdfdfd;
  text-align: center;
}

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

.gallery .grid img {
  width: 100%;
  border-radius: 12px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Contact */
.contact {
  padding: 120px 60px 60px;
  text-align: center;
  background: #fff6f0;
}

.contact-info {
  list-style: none;
  margin-top: 20px;
  font-size: 1.1em;
}

.contact-info li {
  margin: 10px 0;
}

.contact-info a {
  color: #e76f3c;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .section {
    flex-direction: column;
    text-align: center;
    padding: 120px 30px 50px;
  }

  .text-box, .image-box {
    max-width: 100%;
  }

  .nav-menu {
    gap: 15px;
  }
}