/* Basic reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* Root variables for easy theming */
:root {
    --bg: #171717;
    --fg: #0D0D0D;
    --muted: #6b7280;
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --card: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,.05);
}

.manrope-regular {
              font-family: "Manrope", sans-serif;
              font-optical-sizing: auto;
              font-weight: 400;
              font-style: normal;
          }

body {
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: white;
    background: var(--bg);
    line-height: 1.6;
}

/* Container helper */
.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: #0D0D0D;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
}
.top-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}
.top-nav a {
    text-decoration: none;
    color: white;
    font-size: 0.95rem;
}
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 58vh;
    display: grid;
    align-items: center;
    padding: 6rem 0;
    position: relative;

    background-image: url('images/meovang.png');
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); / adjust 0.2–0.6 as needed */
z-index: 0;
}

.hero > .container.hero-content {
    position: relative;
    z-index: 1;
}
.hero-content {
    text-align: left;
}
.hero h1 {
    font-size: 2.6rem;
    margin: 0 0 1rem;
}
.hero p {
    color: whitesmoke;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}
.cta-wrap { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    background: #ffffff;
    color: #000000;
}
.btn-secondary {
    background: #fff;
    color: var(--fg);
    border-color: #ddd;
}

.btn-with-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: white;
    color: #0b0b0b;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(255,255,255,0.03);
    transition: all 0.2s ease;
}

.arrow-icon {
    width: 11px;
    height: 12px;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.btn-with-arrow:hover .arrow-icon {
    transform: translateX(3px) translateY(-1px);
}

.section { padding: 64px 0; }

/* Projects header row: Browse models + View all */
.grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 1rem;
}
/* View all link styling (optional) */
.view-all {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

/* Thumbnails for projects (larger, rounded) */
.thumb {
    width: 100%;
    height: 150px;
    aspect-ratio: 5 / 1;
  border-radius: 12px;
  overflow: hidden;
}
.thumb-png {
  width: 100%;
  height: 100%;
  object-fit: cover;
    display: block;
}
/* Gradient thumbnails (customize as you like) */
.thumb-1 {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
}
.thumb-2 {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}
.thumb-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Keep project cards consistent with existing grid sizing /

  / you can keep using auto-fill behavior; this ensures 3-across on wide screens */
.grid.projects {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 1rem;
}
.card.project h3 {
    margin-top: 0.25rem;
}
.card.project p {
    color: var(--muted);
    margin: 0;
}

/* Contact form */
.contact-form {
    display: grid;
    gap: 0.75rem;
    max-width: 600px;
}
.contact-form label {
    display: grid;
}
.contact-form input,
.contact-form textarea {
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    font: inherit;
}
.contact-form textarea { resize: vertical; }

/* Footer */
.site-footer {
    margin-top: 6rem; /* increase this to taste, e.g. 8rem or 10rem */
    padding: 32px 0;
    border-top: 1px solid #1e1e1e;
    background: #1e1e1e;
}

/* Responsive behavior */
@media (max-width: 900px) {
    .hero { padding: 4rem 0; min-height: 60vh; }
    .hero h1 { font-size: 2rem; }
}
@media (max-width: 700px) {
    .top-nav { display: none; width: 100%; }
    .menu-toggle { display: inline-block; }
    .header-inner { padding: 0 0.5rem; }
    .top-nav.open { display: block; padding: 0.5rem 0; }
    .top-nav ul { flex-direction: column; gap: 0.5rem; }
}

/* Mobile: increase vertical padding for Projects section */

@media (max-width: 700px) {
    #projects.section {
        padding-top: 90px;
        padding-bottom: 90px;
    }
    #projects.section .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    #projects.section .grid {
        gap: 6rem; / a bit more breathing room between cards on mobile /
    }
    #projects.section .card {
        padding: 1.125rem; / bigger interior padding inside each card */
    }
}