/* Base reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

/* Layout helpers */

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.header-inner {
  display: flex;
  align-items: center; /* vertical alignment */
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.logo span {
  color: #2563eb;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: flex;
  align-items: center; /* vertical align text & photo */
  justify-content: space-between;
  gap: 3rem;
}

.hero-text {
  flex: 1.4;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #4b5563;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* hero photo using your existing image */

.hero-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.photo-frame {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 3 / 4; /* keeps a nice portrait ratio */
  border-radius: 24px;
  background-image: url("IMG_5020.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: #2563eb;
  color: #f9fafb;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.35);
}

.btn.ghost {
  background: transparent;
  border-color: #cbd5f5;
  color: #1f2937;
}

.btn.ghost:hover {
  background: #e5edff;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  margin: 0 0 2rem;
  color: #4b5563;
}

/* About */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.about-highlights {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.about-highlights h3 {
  margin-top: 0;
}

.about-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.about-highlights li {
  padding: 0.25rem 0;
  color: #4b5563;
}

/* Projects */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.8rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.project-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b7280;
}

.project-features {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.25rem 0 0.75rem;
  color: #4b5563;
}

.project-links {
  margin-top: auto;
}

/* Contact */

.contact-inner {
  max-width: 640px;
}

.contact-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-links a {
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.25rem 0;
  background: #f9fafb;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Responsive */

@media (max-width: 800px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: row;
  }

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 3rem;
  }
}
