:root {
    --card-bg:  rgba(62, 34, 19, 0.573);
    --shadow: 0 6px 20px rgba(62, 34, 19, 0.573);
}

/* base */
* {
    box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #F5DEB3;
}   

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

img {
    width: 100%;
    display: block;
}

.logo-container {
  width: 150px;
  height: 150px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  margin-left: 1.5rem;
  object-fit: contain;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.logo-container img { animation-delay: 0.2s; }
ul li:nth-child(1) { animation-delay: 0.4s; }
ul li:nth-child(2) { animation-delay: 0.6s; }

ul li:nth-child(1) {
    animation-delay: 0.4s;
}

ul li:nth-child(2) {
    animation-delay: 0.6s;
}

/* Dropdown Menu Styling */
nav ul {
    display: flex;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    gap: 12px;
}

nav ul > li {
    list-style: none;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #4d3d2c;
    border-radius: 20px;
    position: relative;
}

nav ul > li > a,
.dropbtn {
    color: #d3bba3;
    text-decoration: none;
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.dropdown {
    padding: 0;
}

.dropdown .dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 3rem;
    width: 100%;
}

.dropdown .dropbtn::after {
    content: "▾";
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    background: #675442;
    border-radius: 16px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(54, 36, 14, 0.482);
    z-index: 5;
    list-style: none;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    opacity: 1;
    transform: none;
    animation: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    color: #d3bba3;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: rgba(70, 56, 41, 0.322);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: flex;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}

.group_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.group_photo img {
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.group_info {
    background: #462f15a4;
    border-radius: 16px;
    padding: 24px;
    text-shadow:  0.5px 0.5px 0.5px rgba(0, 0, 0, 0.5);
    
}

.group_info h1 {
    margin-top: 0;
    text-align: center;
    color: #312313de;   
    font-size: 3.5rem;
    margin-top: 2rem;
}

.group_info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
}

.group_info li {
    text-align: center;
    margin: 6px 0;
    color: #312313de;   
}

.albums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    color: #312313de;
}

.album {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.album img {
    height: 260px;
    object-fit: cover;
}

.photo-slider {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-bottom: 2px solid rgba(49, 35, 19, 0.35);
  background: linear-gradient(140deg, #5b4128, #7a5a39);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.slider-image.is-active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 222, 179, 0.7);
  border-radius: 999px;
  background: rgba(49, 35, 19, 0.78);
  color: #f5deb3;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  background: rgba(103, 84, 66, 0.96);
  transform: translateY(-50%) scale(1.04);
}

.slider-btn:focus-visible {
  outline: 2px solid #f5deb3;
  outline-offset: 2px;
}

.slider-btn-prev {
  left: 12px;
}

.slider-btn-next {
  right: 12px;
}

.album h2 {
    margin: 0;
    padding: 20px;
    text-align: center;
}

footer {
  background-color: #312313de;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
  list-style: none;
}

.footer-every {
  display: flex;
  gap: 50%;
  justify-content: center;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.footer-team {
  display: flex;
  gap: 3rem;
}

.footer-collab {
  display: flex;
  gap: 20%;
}

.footer-swed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 43%;
}

.footer-ned {
  display: flex;
  align-items: center;
  min-width: 100% ;
}

.footer-dif {
  display: flex;
  align-items: center;
}

.footer-cop {
  text-align: center;
  margin-top: auto;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(203, 194, 176, 0.95);
  width: 100%;
}

.footer-cop_text {
  color: #f5deb3f2;
  font-size: 0.9rem;
}

.footer-names {
  color: #f5deb3f2;
  margin: 0.5rem 0;
}

.footer-title {
  color: #f5deb3f2;
  margin-bottom: 1rem;
}

.footer-land {
  color: #f5deb3f2;
  margin: 0.3rem 0;
}

.footer-di_text {
  color: #f5deb3f2;
}

.footer-website ul,
.footer-media ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer_copy {
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
    color: rgba(203, 194, 176, 0.95);
    border-top: 1px solid rgba(203, 194, 176, 0.95);

}

@media (max-width: 768px) {

    .group_section,
    .albums,
    .footer_inner {
        grid-template-columns: 1fr;
    }

    .group_photo img,
    .album img,
    .photo-slider {
        height: 220px;
    }

    .slider-btn {
      width: 38px;
      height: 38px;
      font-size: 1.2rem;
    }

    .footer_collab {
        align-items: center;
        text-align: center;
    }
}