/* reset simples */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #000;
  color: #eee;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
}

/* container */
.wrap, .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== HEADER ===== */
.site-header {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 16px;
}

.logo img {
  height: 48px;
  display: block;
}

/* ===== MENU ===== */
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.04);
  color: #ffb86b;
}

/* ===== Botão Sanduíche ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 70px;
    right: 16px;
    width: 200px;
    padding: 15px;
    border: 1px solid #333;
  }

  .main-nav.active ul {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===== HERO (sem fundo de imagem) ===== */
.hero {
  height: 80vh;
  background: #000; /* só preto */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

/* Cards do portfólio */
.card {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.card .thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg,#0f0f0f,#050505);
}

.card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.card p {
  font-size: 14px;
  color: #bfbfbf;
}

/* Empty */
.empty {
  color: #aaa;
  text-align: center;
  padding: 20px;
}

/* ===== Lightbox ===== */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* ===== SOBRE ===== */
.about-section {
  min-height: 80vh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-section p {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}

/* ===== CONTACT ===== */
.contact-section {
  min-height: 70vh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 80px 20px;
}

.contact-section h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-section p {
  color: #ccc;
  max-width: 700px;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* mensagens */
.message {
  max-width: 600px;
  width: 100%;
  margin: 12px auto;
  padding: 12px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-left: 4px solid #f39c12;
}
.message.success { border-left-color: #4caf50; }
.message.error { border-left-color: #e53935; }

/* formulário */
.form-contact {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.form-contact input,
.form-contact textarea {
  background: #111;
  border: 1px solid #222;
  color: #eee;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.form-contact input::placeholder,
.form-contact textarea::placeholder {
  color: #777;
}

.form-contact button {
  background: #f39c12;
  color: #000;
  font-weight: 700;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}

.form-contact button:hover {
  background: #ffb84d;
}

/* responsividade */
@media (max-width: 480px) {
  .contact-section { padding: 50px 16px; }
  .contact-section h1 { font-size: 1.6rem; }
  .form-contact { gap: 12px; }
}

