/* Base */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  color: #111;
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin: 0.5em 0;
}

h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 10%;
  background: #fff;
}

.hero-left .tag {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #888;
}

.hero-left h1 {
  font-size: 4rem;
  margin: 0.2em 0;
}

.hero-right img {
  width: 100%;
  max-width: 70vh;
  border-radius: 8px;
}

.subtitle {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  border: 1px solid #000;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn:hover {
  background: #000;
  color: #fff;
}

/* Bio */
.bio {
  display: flex;
  padding: 5rem 8%;
  gap: 3rem;
}

.bio-left img {
  width: 100%;
  max-width: 100vh;
  border-radius: 8px;
}
.bio-right {
  margin-top: 3rem;
}
.bio-left h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bio-right h3 {
  font-size: 2rem;
  margin: 1rem 0;
}

/* Background + Expertise */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 8%;
  padding-bottom: 1rem;
}

.two-col h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.two-col img {
  width: 100%;
  max-width: 100vh;
  border-radius: 8px;
}

/* Work */
.work {
  padding: 4rem 8%;
}

.work h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}


.work-block img {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}
.work-block-img {
  display: grid;
  grid-template-columns: 2fr 2fr;
  justify-content: space-between;
  gap: 3rem;
  padding: 1rem; 
  margin-bottom: 1rem;
}
.work-block-img h3 {
  font-size: 3rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.work-block-img p {
  font-size: 1.2rem;
  align-self: center;
}
.work-block2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 3rem;
  padding: 1rem; 
  margin-top: 2rem;
  margin-bottom: 2rem;
}


.work-block-img2 h3 {
  font-size: 3rem;
  margin-top: 6rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.work-block-img2 p {
  font-size: 1.2rem;
  align-self: center;
}
.work-block-web img {
  width: 100%;
  max-width: 100vh;
  border-radius: 8px;
  margin-top: 1rem;
}

.work-block3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  gap: 5rem;
  padding: 1rem; 
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.work-block-logo img {
  width: 100%;
  max-width: 70vh;
  border-radius: 8px;
  margin-top: 6rem;
}

/* Statement */
.statement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 8%;
  background: #f9f9f9;
  gap: 3rem;
}

.statement p {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-top: 6rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.statement img {
  flex: 1;
  width: 100%;
  max-width: 70vh;
  border-radius: 8px;
}

/* Contact */
.contact {
  padding: 5rem 8%;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-grid img {
  width: 100%;
  max-width: 70vh;
  border-radius: 8px;
}

/* Fade-in animation */
/* Hidden before scrolling */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Visible when in viewport */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 900px) {
  .hero, .bio, .two-col, .statement, .contact-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-left, .bio-right, .statement p {
    max-width: 100%;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
  }

  .hero-left h1 {
    font-size: 2.8rem;
  }

  .hero-right img {
    max-width: 50vh;
    margin-top: 1.5rem;
  }

  .bio {
    flex-direction: column;
    padding: 3rem 5%;
    text-align: center;
  }

  .bio-right {
    margin-top: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr; /* stack all */
    text-align: center;
    padding: 2rem 5%;
  }

  .work-block-img,
  .work-block2,
  .work-block3 {
    grid-template-columns: 1fr; /* stack content */
    text-align: center;
  }

  .statement {
    flex-direction: column;
    padding: 3rem 5%;
    text-align: center;
  }

  .statement img {
    margin-top: 1.5rem;
  }

  .contact-grid {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile (max-width: 468px) */
@media (max-width: 468px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

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

  .hero-right img,
  .bio-left img,
  .two-col img,
  .work-block img,
  .work-block-web img,
  .work-block-logo img,
  .statement img,
  .contact-grid img {
    max-width: 90%; /* fit small screens */
  }

  .work {
    padding: 2rem 5%;
  }

  .contact {
    padding: 2rem 5%;
  }
}
