* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #ffffff;
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #000;
}

.hero-background {
  position: absolute;
  top: 0;
  right: 100px;
  width: 100%;
  height: 100%;
  background-image: url('../../images/jugonz.jpeg');
  background-size: contain; 
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0;
  animation: slideBgIn 2s cubic-bezier(0.165, 0.84, 0.44, 1) 1s forwards;
}

@keyframes slideBgIn {
  from {
    opacity: 0;
    right: 100px;
  }
  to {
    opacity: 1;
    right: 0;
  }
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #000 0%, #000 40%, rgba(0,0,0,0) 90%);
  z-index: 2;
}

.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  flex: 1;
}

.logo-icon {
  height: auto;
  /* Convert black/white to red (#E50914) */
  filter: invert(14%) sepia(97%) saturate(5833%) hue-rotate(349deg) brightness(98%) contrast(98%);
}

.desktop-logo {
  display: block;
  width: 200px;
}

.mobile-logo {
  display: none;
  width: 48px;
}

.nav-links {
  display: flex;
  gap: 40px;
  flex: 2;
  justify-content: flex-start;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
  opacity: 1;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E50914; /* Red accent matching the layout */
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
  font-size: 14px;
  opacity: 0.9;
}

.search-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.carousel-indicators {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 11px;
  opacity: 0.4;
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-indicators span {
  display: inline-block;
  transform: rotate(-90deg);
  letter-spacing: 2px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.carousel-indicators span:hover {
  opacity: 0.8;
}

.carousel-indicators span.active {
  color: #fff;
  opacity: 1;
  font-weight: 700;
}

.main-info {
  margin-left: 0;
  max-width: 650px;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-number {
  color: #E50914;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.title {
  font-size: 85px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.metadata {
  margin-bottom: 50px;
  font-size: 14px;
}

.rating {
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.genre {
  opacity: 0.6;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.duration {
  opacity: 0.6;
  letter-spacing: 0.5px;
}

.cta-button {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.plus-icon {
  background: white;
  color: #000;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  transition: background 0.3s;
}

.cta-button:hover .plus-icon {
  background: #E50914;
  color: white;
}

.right-info {
  position: absolute;
  right: 0;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-end;
}

.tap-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.tap-hint:hover {
  opacity: 1;
}

.hint-circle {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hint-circle::after {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.recent-project {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: right;
}

.project-hint {
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.project-thumbnail {
  width: 180px;
  height: 100px;
  background: #111;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.project-thumbnail::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #222, #111);
  opacity: 0.5;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 4px;
  background: #E50914;
}

/* User Required CSS for Danger Shake */
.shake { animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(1px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-2px, 0, 0); }
    40%, 60% { transform: translate3d(2px, 0, 0); }
}
.is-invalid-danger {
    background-color: #ef4444 !important;
    color: white !important;
    border-color: #ef4444 !important;
}
.is-invalid-danger::placeholder { color: rgba(255, 255, 255, 0.9) !important; }

/* Modal specific styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #0a0a0a;
  padding: 50px;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.05);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.close-modal:hover {
  opacity: 1;
}

.modal-content h2 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.modal-content p {
  opacity: 0.6;
  font-size: 14px;
  margin-bottom: 35px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 16px;
  background: #111;
  border: 1px solid #222;
  color: white;
  font-family: inherit;
  font-size: 14px;
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #E50914;
  background: #151515;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background: #E50914;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: 10px;
}

.submit-button:hover {
  background: #f70a16;
}
.submit-button:active {
  transform: scale(0.98);
}

/* Responsividade básica para testar */
@media screen and (max-width: 1024px) {
  .hero-background { top: -80px; }
  .title { font-size: 60px; }
  .right-info { display: none; }
}

@media screen and (max-width: 768px) {
  .hero-background { top: -180px; }
  .navbar { padding: 30px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 40px; }
  .carousel-indicators { display: none; }
  .main-info { margin-left: 0; }
  .title { font-size: 50px; }
  
  .desktop-logo { display: none; }
  .mobile-logo { display: block; }
}
/* Estilos para o Grid de Projetos e Editorias */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 80px 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
    position: relative;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .card-thumb img {
    transform: scale(1.08);
}

.card-info {
    padding: 25px;
}

.card-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.card-info p {
    font-size: 14px;
    opacity: 0.5;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-link {
    font-size: 13px;
    font-weight: 700;
    color: #E50914;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}
