/* ── VARIABLES & RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --wine: #7B1F2E;
    --wine-dark: #5C1522;
    --sand: #F5ECD7;
    --sand-dark: #EAD9BA;
    --tan: #C4A882;
    --black: #1A1A1A;
    --gray: #555555;
    --white: #FFFFFF;
  
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s ease;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.7;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ── NAV ── */
  .nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--sand-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 6%;
    z-index: 100;
  }
  
  .nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wine);
    letter-spacing: -0.5px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 0.95rem;
    color: var(--gray);
    transition: var(--transition);
  }
  
  .nav-links a:hover {
    color: var(--wine);
  }
  
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--wine);
  }
  
  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background-color: var(--sand);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6%;
    padding-top: 80px;
  }
  
  .hero-greeting {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
  }
  
  .hero-name {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 0.5rem;
  }
  
  .accent {
    color: var(--wine);
  }
  
  .hero-title {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--wine);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
  }
  
  .hero-sub {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  /* ── BUTTONS ── */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .btn-primary {
    background: var(--wine);
    color: var(--sand);
  }
  
  .btn-primary:hover {
    background: var(--wine-dark);
  }
  
  .btn-outline {
    border: 2px solid var(--wine);
    color: var(--wine);
  }
  
  .btn-outline:hover {
    background: var(--wine);
    color: var(--sand);
  }
  
  /* ── SECTIONS ── */
  .section {
    padding: 6rem 6%;
  }
  
  .section-alt {
    background-color: var(--sand);
  }
  
  .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--wine);
    border-radius: 2px;
  }
  
  /* ── PROJECTS ── */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .project-card {
    border: 1px solid var(--sand-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
  }
  
  .project-card:hover {
    transform: translateY(-4px);
    border-color: var(--tan);
  }
  
  .placeholder-img {
    width: 100%;
    height: 200px;
    background: var(--sand-dark);
  }
  
  .project-info {
    padding: 1.25rem;
  }
  
  .project-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .project-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
  }
  
  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .tag {
    background: var(--sand);
    color: var(--wine);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid var(--sand-dark);
  }
  
  .project-links {
    display: flex;
    gap: 1rem;
  }
  
  .project-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wine);
    border-bottom: 1px solid var(--wine);
    transition: var(--transition);
  }
  
  .project-links a:hover {
    color: var(--wine-dark);
  }
  
  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  
  .about-text p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1rem;
  }
  
  .skills h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
  }
  
  .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* ── CONTACT ── */
  #contact {
    text-align: center;
  }
  
  .contact-sub {
    color: var(--gray);
    max-width: 420px;
    margin: 0 auto 2rem;
  }
  
  .socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .socials a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    border-bottom: 1px solid var(--tan);
    transition: var(--transition);
  }
  
  .socials a:hover {
    color: var(--wine);
    border-color: var(--wine);
  }
  
  /* ── FOOTER ── */
  .footer {
    text-align: center;
    padding: 2rem;
    background: var(--black);
    color: var(--tan);
    font-size: 0.85rem;
  }
  
  /* ── MOBILE ── */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: var(--white);
      padding: 1rem 6%;
      border-bottom: 1px solid var(--sand-dark);
      gap: 1rem;
    }
  
    .nav-links.open {
      display: flex;
    }
  
    .nav-toggle {
      display: block;
    }
  
    .about-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
/* ── HERO LAYOUT WITH ILLUSTRATION ── */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .hero-content {
    flex: 1;
    max-width: 520px;
  }
  
  .hero-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 480px;
  }
  
  .hero-illustration img {
    width: 100%;
    max-width: 460px;
  }
  
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-content {
      max-width: 100%;
    }
  
    .hero-cta {
      justify-content: center;
    }
  
    .hero-illustration {
      max-width: 320px;
      width: 100%;
    }
  }
/* ── ABOUT PHOTO ── */
.about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-photo-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  
  .photo-frame {
    position: relative;
    width: 300px;
    height: 370px;
  }
  
  .photo-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--wine);
    border-radius: 4px;
    z-index: 0;
  }
  
  .photo-frame::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60px;
    height: 60px;
    background: var(--tan);
    border-radius: 4px;
    z-index: 0;
  }
  
  .photo-frame img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    z-index: 1;
    display: block;
  }
  
  .about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  @media (max-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr;
    }
  
    .photo-frame {
      width: 260px;
      height: 320px;
    }
  }
/* ── PROJECT IMAGE ── */
.project-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }
  
  .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.4s ease;
  }
  
  .project-card:hover .project-img img {
    transform: scale(1.04);
  }
  
  .soon-img {
    background: var(--sand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .soon-img span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tan);
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  
  .project-soon {
    opacity: 0.6;
  }
/* ── NAV TRANSITION ── */
.nav {
    transition: transform 0.3s ease;
  }
  
  .nav-links a.active {
    color: var(--wine);
    font-weight: 700;
  }
  
  /* ── FADE IN ANIMATIONS ── */
  .section,
  .project-card,
  .about-grid {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .section.visible,
  .project-card.visible,
  .about-grid.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .project-card:nth-child(2) { transition-delay: 0.1s; }
  .project-card:nth-child(3) { transition-delay: 0.2s; }
/* ── CONTACT EMAIL TEXT ── */
.contact-email {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-email span {
  color: var(--wine);
  font-weight: 600;
  border-bottom: 1px solid var(--tan);
}
/* ── CV BUTTON ── */
.btn-cv {
  border: 2px solid var(--tan);
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-cv::before {
  content: '↓';
  font-size: 1rem;
  color: var(--wine);
}

.btn-cv:hover {
  border-color: var(--wine);
  color: var(--wine);
}
/* ── CREATIVE / FLYERS ── */
.creative-sub {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.flyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
}

.flyer-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  max-height: 480px;
}

.flyer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.flyer-card:hover img {
  transform: scale(1.05);
}

.flyer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(123, 31, 46, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flyer-card:hover .flyer-overlay {
  opacity: 1;
}

.flyer-overlay span {
  color: var(--sand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.creative-more {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--tan);
  font-style: italic;
  text-align: center;
}