/* =========================
   TYPOGRAPHY & BASE
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Inter:wght@300;400;500&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #F6F2EC;
  color: #1B1B1B;
  margin: 0;
  line-height: 1.6;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #F0E6D2;
}

.logo {
  text-decoration: none;
  font-weight: 600;
  color: #1B1B1B;
}

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

.nav-links a {
  text-decoration: none;
  color: #1B1B1B;
  font-weight: 600;
}

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  margin: 4px 0;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #F0E6D2;
    flex-direction: column;
    display: none;
    padding: 1rem 0;
  }

  #menu-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }
}

/* =========================
   SECTIONS
========================= */
section:not(.hero) {
  padding: 60px 20px;
}

/* =========================
   PROJECT BUTTONS
========================= */
.work-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.work-item {
  text-decoration: none;
  padding: 1rem 2rem;
  border: 2px solid #000;
  border-radius: 8px;
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.work-item:hover {
  background-color: #000;
  color: #fff;
}

/* =========================
   PROJECTS PAGE
========================= */
.projects-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.project {
  margin: 2rem auto;
  max-width: 400px;
}

.project img {
  display: block;
  margin: 0 auto 1rem;
  max-width: 100%;
  border-radius: 8px;
}

/* =========================
   ACCORDION
========================= */
.accordion details {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}

.accordion summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 0;
}

/* =========================
   ABOUT PAGE
========================= */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.about-video {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  border-radius: 12px;
}

/* =========================
   SKILLS
========================= */
.skills-container {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.skills-container ul {
  list-style: none;
  padding: 0;
}

.skills-container li {
  margin: 0.5rem 0;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: #F0E6D2;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}
/* HOME PAGE LAYOUT */
.hero {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}
.featured-image {
  max-width: 500px;
  margin: 0 auto;
}

.featured-image img {
  width: 100%;
  border-radius: 8px;
}
.skills {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.featured {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
/* =========================
   POLISH & IMPROVEMENTS
========================= */

/* Typography hierarchy */
h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

/* Better text width for readability */
p {
  max-width: 650px;
  margin: 0 auto 1rem;
}

/* Image hover interaction */
.project img,
.featured-image img {
  transition: transform 0.3s ease;
}

.project img:hover,
.featured-image img:hover {
  transform: scale(1.03);
}

/* Accessible focus styles */
a:focus-visible {
  outline: 2px solid #D8A48F;
  outline-offset: 4px;
}
