/* Paste this over your current style.css (or apply the highlighted changes).
   Requires Google Fonts in index.html:
   Anton, Poppins, Playfair Display
*/

:root{
  --pink: #e56aa6;
  --text: #111;
  --muted: #6b6b6b;
  --max: 1000px;
  --shadow: 0 14px 30px rgba(0,0,0,.12);

  /* so anchors don’t hide under the sticky header */
  scroll-padding-top: 86px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fff;
}

/* Headline system */
h2, h3,
.section-title,
.about-text h2{
  font-family: 'Playfair Display', serif;
}

/* HERO name only in Anton */
.hero-name{
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400; /* Anton has one style */
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.95;
}

/* HERO subline */
.hero-sub{
  margin: 10px 0 0;
  color: var(--pink);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-family: 'Playfair Display', serif;
}

/* HEADER */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.ig-link{
  justify-self: start;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.header-spacer{ justify-self: end; }

.nav{
  justify-self: center;
  display: flex;
  gap: 44px;
}

.nav-link{
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: lowercase;
  padding: 6px 2px;
  font-weight: 500;
}

.nav-link.active{
  color: var(--pink);
}

/* HERO */
.hero{
  padding: 40px 0 20px;
}

.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
}

.hero-type{
  position: absolute;
  top: 65px;
  left: 18px;
  right: 18px;
  text-align: center;
  pointer-events: none;
}

.hero-photo{
  height: 320px;
  width: auto;
  object-fit: cover;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.18));
}

.hero-logo{
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* SECTIONS */
.section{
  padding: 70px 18px;
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 820px){
  .hero-inner{ height: 380px; }
  .hero-photo{ height: 280px; }
}

/* ABOUT */
.about-grid{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
}

.polaroid{
  background: #fff;
  padding: 14px 14px 18px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: var(--shadow);
}

.polaroid img{
  display: block;
  width: 100%;
  height: auto;
}

.polaroid-caption{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.about-text p{
  margin: 0;
  color: #2c2c2c;
  line-height: 1.7;
}

/* PROJECTS */
.section-title{
  margin: 0 0 18px;
}

.projects-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px 64px;
}

.project-card{
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-image{
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.project-image img{
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

.project-line{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--pink);
  transition: height .35s ease;
}

.project-small{
  margin: 10px 0 6px;
  font-size: 11px;
  letter-spacing: .10em;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 500;
}

.project-title{
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* Hover */
.project-card:hover .project-image img{
  transform: scale(1.05);
}
.project-card:hover .project-line{
  height: 6px;
}

/* FOOTER / CONTACT */
.footer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 18px 70px;
}

.footer-topline{
  height: 1px;
  background: rgba(0,0,0,.18);
  margin-bottom: 26px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.footer-name{
  margin: 0 0 6px;
  font-weight: 600;
}

.footer-role{
  margin: 0;
  color: var(--muted);
}

.footer-right{
  text-align: right;
  display: grid;
  gap: 10px;
}

.footer-mail, .footer-ig{
  color: var(--text);
  text-decoration: none;
}
.footer-mail:hover, .footer-ig:hover{
  color: var(--pink);
}

/* Responsive */
@media (max-width: 820px){
  .about-grid{ grid-template-columns: 1fr; }
  .projects-grid{ grid-template-columns: 1fr; }
  .project-image img{ height: 320px; }
}
