/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo {
  font-size: 1.5rem;
  color: white;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.1);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f6f2f2;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


.section-title {
  text-align: center;
  font-size: 2rem;
  color: #009379;
  margin-bottom: 2rem;
}

/* Header */
.site-header {
  background-color: #f3afa8;
  padding: 1rem 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  color: white;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  color: black;
}
#hero-title, #hero-description {
  transition: all 0.3s ease;
}


/* Hero Section */
.hero {
  padding: 4rem 0;
  background: rgba(217,217,217,0.3);
}
.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.hero-text {
  flex: 1;
  min-width: 280px;
}
.hero-text h2 {
  font-size: 2.5rem;
  color: #009379;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
}
.primary {
  background-color: #009379;
  color: white;
  border: none;
}
.secondary {
  background-color: transparent;
  border: 2px solid #f7d684;
  color: #009379;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

/* Skills */
.skills {
  padding: 3rem 0;
  background: white;
}
.skills-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.skill-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #ef6c57;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Projects */
.projects {
  padding: 4rem 0;
  background: #f5f2f2;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease;
}
.project-card:hover {
  background-color: #f0f0f0;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-card a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1rem;
}
.project-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.project-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  color: #009379;
}
.project-card p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

/* Contact */
.contact {
  padding: 4rem 0;
  background: white;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form label {
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  resize: vertical;
}
.contact-form button {
  align-self: flex-start;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background-color: #f3afa8;
  text-align: center;
  color: white;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: white;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    flex-direction: column;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
