@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Radley:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body styles */
body {
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: #f0f5f7;
}

/* Header Styles */
header {
  width: 100%;
  height: 9.3vh;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 5px 25px rgb(0 0 0 / 20%);
  padding: 0 100px;
  transition: 0.6s;
}

header .logo {
  font-size: 1.8em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  width: 120px;
  height: auto;
  display: block;
}

header .navigation {
  position: relative;
  line-height: 75px;
  transition: 0.6s;
  transition-property: line-height;
  margin-left: auto; /* Added for right alignment */
}

header.sticky .navigation {
  line-height: 60px;
}

header .navigation .menu {
  position: relative;
  display: flex;
  justify-content: flex-end; /* Changed from 'center' to 'flex-end' */
  list-style: none;
  user-select: none;
}

header .menu-item {
  margin-left: 0; /* Added to remove default margins */
}

.menu-item a {
  color: #264d53;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  text-decoration: none;
  margin: 20px;
  padding: 25px 0;
  font-weight: 600;
}

.menu-item a:hover {
  color:#2f9f99;
  transition: 0.2s;
}

/* Main content section */
.section-three {
  min-height: 100vh;
  padding: 120px 50px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.perfil-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}

.texto-pixar {
  flex: 1;
}

.texto-pixar h2 {
  color: #1c7080;
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 15px;
}

.texto-pixar h3 {
  color: #2f9f99;
  font-family: 'Outfit', sans-serif;
  font-size: 25px;
  font-weight: 900;
  margin-bottom: 20px;
}

.texto-pixar p {
  color: #000000;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
}

/* Right column with carousel and dropdown */
.right-column {
  flex: 0 0 500px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Carousel styles */
.carrossel {
  position: relative;
  width: 500px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  display: flex;
  width: 1500px;
  transition: transform 0.6s ease;
}

.slide {
  width: 500px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide radio inputs */
input[type="radio"] {
  display: none;
}

/* Slide positioning */
#slide_marcia_1:checked ~ .slides {
  transform: translateX(0);
}

#slide_marcia_2:checked ~ .slides {
  transform: translateX(-500px);
}

#slide_marcia_3:checked ~ .slides {
  transform: translateX(-1000px);
}

#slide_marcio_1:checked ~ .slides {
  transform: translateX(0);
}

#slide_marcio_2:checked ~ .slides {
  transform: translateX(-500px);
}

#slide_marcio_3:checked ~ .slides {
  transform: translateX(-1000px);
}

/* Carousel navigation arrows */
.setas label {
  position: absolute;
  top: 50%;
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 10px;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transform: translateY(-50%);
  border-radius: 50%;
}

.prev, .prev2, .prev3 {
  left: 10px;
}

.next, .next2, .next3 {
  right: 10px;
}

/* Arrow visibility logic */
#slide_marcia_1:checked ~ .setas .next { display: block; }
#slide_marcia_1:checked ~ .setas .prev { display: none; }

#slide_marcia_2:checked ~ .setas .next2 {display: none;}
#slide_marcia_2:checked ~ .setas .prev2 { display: block; }

/* Arrow visibility logic */
#slide_marcio_1:checked ~ .setas .next { display: block; }
#slide_marcio_1:checked ~ .setas .prev { display: none; }

#slide_marcio_2:checked ~ .setas .next2 {display: none;}
#slide_marcio_2:ch2ecked ~ .setas .prev2 { display: block; }

/* Dropdown container */
.dropdown-container {
  width: 100%;
}

/* Details section styles */
.details {
  margin: 0;
}

details {
  font-size: 18px;
  width: 100%;
}

details summary {
  background-color: #2f9f99;
  padding: 10px 15px;
  border-bottom: 2px solid rgb(107, 107, 107);
  cursor: pointer;
  outline: none;
  width: 100%;
}

details p {
  background-color: #264d53;
  padding: 15px;
  margin-top: 5px;
  text-align: justify;
}

/* Separator line */
.separador {
  width: 85%;
  height: 0.8px;
  background-color: rgb(167, 167, 167);
  margin: 30px auto;
}

/* Footer Styles */
.rodape {
  background-color: #dee4e4;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.rodape h1 {
  font-size: 15px;
  color: #264d53;
  font-weight: 100;
  margin: 0;
}

.rodape a i {
  font-size: 1.7rem;
  color:#264d53;
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 1060px) {
  header {
    padding: 15px 20px;
  }
  
  .perfil-container {
    flex-direction: column;
    padding: 0 20px;
  }
  
  .right-column {
    width: 100%;
    flex: 1 1 auto;
    margin-top: 30px;
  }
  
  .carrossel {
    width: 100%;
    height: auto;
  }
  
  .navigation .menu {
    position: fixed;
    display: block;
    background: rgba(22, 22, 22, 0.9);
    width: 100%;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 90px 50px;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.5s;
  }

  .navigation .menu.active {
    right: 0;
    visibility: visible;
  }

  .menu-item {
    margin: 20px 0;
  }

  .menu-item a {
    color: white;
    font-size: 20px;
  }
  
  .menu-btn, .close-btn {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .section-three {
    padding: 100px 20px 50px;
  }
  
  .texto-pixar h2 {
    font-size: 1.8em;
  }
  
  .texto-pixar h3 {
    font-size: 1.3em;
  }
  
  details {
    font-size: 16px;
  }
}