/* ===== Variables ===== */
:root {
  --primary-color: #6c63ff;
  --bg-light: #f9f9ff;
  --text-color: #333;
  --font-main: "Poppins", sans-serif;
}

/* ===== Global Styles ===== */
body {
  font-family: var(--font-main);
  margin: 0;
  color: var(--text-color);
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navbar (same style on all pages) ===== */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #6c63ff;
}

/* ===== Hero ===== */
.hero {
  background-color: var(--bg-light);
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #5848e3;
}

/* ===== Projects ===== */
.projects {
  padding: 4rem 0;
}

.section-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
}

.project {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.project.reverse {
  flex-direction: row-reverse;
}

.project img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-text {
  flex: 1;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* ===== Work Inquiry Section ===== */
.work-inquiry {
  text-align: center;
  padding: 4rem 1rem 3rem;
}

.inquiry-box {
  background: #f7f5ff;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.inquiry-text h2 {
  font-size: 2rem;
  margin: 0;
}

.inquiry-text p {
  color: #666;
  font-weight: 500;
}

.email-link {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 600;
  color: black;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

/* ===== Social Icons ===== */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Correct icon size — CLEAN + FINAL */
.footer-socials img.social-icon {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  padding: 5px;
  background: white;
  border: 1px solid #dedede;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-socials img.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
.footer-note {
  color: #444;
  font-size: 0.95rem;
}

.footer-note a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .inquiry-box {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .project {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
