/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/* ====== HEADER ====== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
}

.header .logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: #ff6b9f;
  text-decoration: none;
}

.header nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.header nav a:hover,
.header nav a.active {
  color: #ff6b9f;
}

.header .menu {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ====== HERO ====== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 2rem 4rem;
}

.hero-photo {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.hero-photo .photo-container img {
  width: 250px;
  border-radius: 50%;
  border: 4px solid #ff6b9f;
}

.decor {
  position: absolute;
  font-size: 2rem;
  color: #ff6b9f;
}

.decor-1 {
  top: -10px;
  left: -10px;
}

.decor-2 {
  bottom: -10px;
  right: -10px;
}

.photo-text {
  margin-top: 1rem;
  font-weight: 600;
  color: #555;
  text-align: center;
}

.hero-content {
  flex: 2;
  min-width: 300px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  color: #222;
}

.hero-content h1 span {
  color: #ff6b9f;
}

.hero-content h3 {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}

.description {
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.social a {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #ff6b9f;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social a:hover {
  opacity: 0.7;
}

/* ====== INFO CARD ====== */
.info-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  margin-bottom: 1rem;
  color: #ff6b9f;
}

.info {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.info span {
  font-size: 1.5rem;
  margin-right: 0.8rem;
  color: #ff6b9f;
}

/* ====== PROJETOS ====== */

.projects {
  padding: 4rem 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-number {
  font-size: 0.9rem;
  color: #999;
}

.projects h2 span {
  color: #ff6b9f;
}

.project-grid,
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ====== CARD ====== */

.project-card,
.design-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.project-card:hover,
.design-card:hover {
  transform: translateY(-5px);
}

/* ====== DUAS IMAGENS DO G5 ====== */

.project-images {
  display: flex;
  gap: 20px;
  width: 100%;
  padding: 20px;
}

.project-images .project-image {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
  background: #f5f5f5;
}

/* IMAGENS QUADRADAS E GRANDES */

.project-images .project-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* EFEITO AO PASSAR O MOUSE */

.project-images .project-image:hover img {
  transform: scale(1.05);
}

/* ====== DESIGN ====== */

.design-card img {
  width: 100%;
  display: block;
}

/* ====== CONTEÚDO DO CARD ====== */

.project-card .project-number,
.project-card h3,
.project-card p,
.project-card .tags,
.project-card .project-buttons {
  margin-left: 20px;
  margin-right: 20px;
}

.project-card .project-number {
  display: block;
  margin-top: 10px;
  color: #999;
  font-size: 0.85rem;
}

.project-card h3 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #222;
}

.project-card p {
  margin-bottom: 15px;
}

/* ====== TAGS ====== */

.tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.tags span {
  background: #ffe4ee;
  color: #ff6b9f;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ====== BOTÕES ====== */

.project-buttons {
  margin-bottom: 20px;
}

.project-buttons a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  background: #ff6b9f;
  color: #fff;
}

.project-buttons a.outline {
  background: none;
  border: 1px solid #ff6b9f;
  color: #ff6b9f;
}

.project-buttons a:hover {
  opacity: 0.8;
}

/* ====== DESIGN CARD ====== */

.design-card div {
  padding: 20px;
}

.design-card span {
  color: #999;
  font-size: 0.85rem;
}

.design-card h3 {
  margin: 5px 0 10px;
}

.design-card a {
  color: #ff6b9f;
  text-decoration: none;
}

/* ====== FOOTER ====== */

footer {
  background: #fff;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

.footer-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: #ff6b9f;
}

.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.2rem;
  color: #ff6b9f;
  text-decoration: none;
}

footer .top {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
  font-size: 1.5rem;
  color: #ff6b9f;
}

/* ====== RESPONSIVO ====== */

@media (max-width: 768px) {

  .header nav {
      display: none;
  }

  .header .menu {
      display: block;
  }

  .hero {
      flex-direction: column;
      text-align: center;
  }

  /* No celular ficam uma embaixo da outra */

  .project-images {
      flex-direction: column;
  }

  .project-images .project-image img {
      aspect-ratio: 1 / 1;
  }

  .section-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }
}
