/* ------------------------------------------------------------
   Global Styles
------------------------------------------------------------ */

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}


/* ------------------------------------------------------------
   Header / Navigation
------------------------------------------------------------ */

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: #000;
}


/* ------------------------------------------------------------
   Layout
------------------------------------------------------------ */

main {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px 80px;
}

section {
  margin-bottom: 70px;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.25rem;
}

.section-text {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.section-text ul {
  margin: 10px 0 20px 20px;
}

.section-text li {
  margin-bottom: 6px;
}


/* ------------------------------------------------------------
   Gallery (Images and Project Cards)
------------------------------------------------------------ */

.gallery {
  display: grid;
  gap: 26px;
  margin-top: 20px;
}

/* Responsive grid for project cards */
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Simple image gallery style */
.gallery img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}


/* ------------------------------------------------------------
   Project Card
------------------------------------------------------------ */

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.card img {
  border-radius: 10px;
}

.card h3 {
  margin: 0;
  font-size: 1.22rem;
  color: #111;
}

.card p {
  margin: 0;
  flex-grow: 1;
  color: #444;
  font-size: 0.97rem;
}

.card .button {
  align-self: flex-start;
  padding: 8px 16px;
  background: #222;
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.card .button:hover {
  background: #000;
}


/* ------------------------------------------------------------
   Links and Buttons
------------------------------------------------------------ */

a {
  color: #0070f3;
}

a:hover {
  color: #0054b8;
}

button,
.button {
  cursor: pointer;
  border: none;
}


/* ------------------------------------------------------------
   Footer (optional if you add one later)
------------------------------------------------------------ */

footer {
  background: #fafafa;
  padding: 30px;
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

footer p {
  color: #777;
  font-size: 0.9rem;
}