/* === Lucio Fernandes — Minimal === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 1.2rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* === HERO TITLE === */
.hero-title {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  text-align: center;
  pointer-events: none;
}

.hero-title h1 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.4);
  letter-spacing: 6px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-title h1 span {
  color: #d4a04c;
}

.hero-subtitle {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 4px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
  text-transform: uppercase;
}

/* === CAROUSEL === */
.carousel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === CAROUSEL BUTTONS === */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 80px;
  cursor: pointer;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* === CAROUSEL DOTS === */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #fff;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* === EMAIL BADGE === */
.email-badge {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.email-badge a {
  text-decoration: none;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.3s, border-color 0.3s;
}

.email-badge a:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.3);
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 1.5rem;
}

.cookie-content p {
  color: #aaa;
  font-size: 0.8rem;
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.cookie-btn {
  padding: 0.5rem 1.5rem;
  background: #d4a04c;
  color: #111;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: #e0b45e;
}

/* === SUB PAGES (SIMPLE CONTENT WINDOWS) === */
html:has(body.page-body) {
  overflow-y: auto;
  height: auto;
}

.page-body {
  overflow-y: auto;
  overflow-x: hidden;
  height: auto;
  min-height: 100vh;
  background: #111;
}

.page-body .navbar {
  position: sticky;
  background: rgba(0,0,0,0.9);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: #ddd;
  line-height: 1.7;
}

.page-content h1 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 2px;
}

.page-content h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.3rem;
  color: #ccc;
  margin: 2rem 0 0.8rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.3rem;
}

/* Portfolio cards */
.portfolio-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.portfolio-wrapper h1 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 2.2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
}
.portfolio-category {
  margin-bottom: 3rem;
}
.portfolio-category h2 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.6rem;
  color: #d4a04c;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.4rem;
  letter-spacing: 1px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.portfolio-card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
  transition: transform 0.3s, border-color 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #d4a04c;
}
.portfolio-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #141414;
  text-align: center;
  line-height: 200px;
  color: #444;
  font-size: 3rem;
}
.portfolio-card-body {
  padding: 1rem;
}
.portfolio-card-body h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.portfolio-card-body p {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.portfolio-footer {
  text-align: center;
  color: #555;
  font-size: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}

/* About */
.about-text p {
  margin-bottom: 1rem;
  color: #bbb;
}

/* Contact form */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem;
  background: #222;
  border: 1px solid #333;
  border-radius: 4px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #555;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

/* Map */
#map {
  width: 100%;
  height: 400px;
  border-radius: 4px;
  margin: 1rem 0;
}

.map-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.map-btn {
  padding: 0.5rem 1rem;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s;
}

.map-btn:hover {
  background: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }

  .hero-title h1 {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .carousel-btn {
    width: 40px;
    height: 60px;
    font-size: 1.5rem;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .email-badge {
    bottom: 20px;
    right: 15px;
  }

  .email-badge a {
    font-size: 0.7rem;
    padding: 0.5rem 0.9rem;
  }

  .cookie-banner {
    padding: 0.8rem 1rem;
  }

  .cookie-content p {
    font-size: 0.7rem;
  }

  .cookie-btn {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}