@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Space+Grotesk:wght@400;500;700&display=swap');
:root{
    --card-width: 300px;
    --gap: 30px;
    --laranja-primario: #D88345;
    --bg-color: rgba(253, 253, 253, 1);
  }
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: rgba(253, 253, 253, 1);
    font-family: 'Montserrat';
}
header {
    align-items: center;
    background-color:#D88345;
}
.logo-header{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    margin-left: 60%;
}
.logo-header img{
    height: 25px;
    width: 100%;
}
.nav-bar {
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
}
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-left: 3%;
}
.nav-list ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
}
.nav-item {
    margin: 0 20px;
}
.nav-link {
    color: #fdfdfd;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
}
.dropbtn {
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    background-color:#1e6d9b;
    border-radius: 5px;
    color: #FDFDFD;
}
.dropdown {
    position: relative;
    display: inline-block;
    border-radius: 5px;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FDFDFD;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    color: #09142D;
    border-radius: 5px;
}
.dropdown-content a {
    color: #09142D;
    font-weight: 500;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.show {
    display: block;
}
.mobile-menu-icon {
    display: none;
}
.mobile-menu {
    display: none;
}
#home{
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}
.title-home{
    display: flex;
    max-width: auto;
    max-height: auto;
    margin-top: 3%;
    margin-bottom: 5%;
    margin-left: 5%;
}
.title-home h1{
    color: #00033D;
    font-family: "Space Grotesk";
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.featured-section {
    width:100%;
    max-width:1280px;
    margin:0 auto;
  }

  .featured-header {
    display:flex; 
    justify-content:space-between; 
    align-items:center; 
    margin-bottom:18px; 
}
  .featured-header h2 { 
    color: #00033D;
    font-size:1.4rem; 
    margin:0; 
}

  .nav-buttons { 
    display:flex; 
    gap:12px; 
}
  .nav-buttons button{
    width:52px; 
    height:52px; 
    border:0; 
    background:#fff; 
    border-radius:8px; 
    cursor:pointer;
    display:flex; 
    align-items:center; 
    justify-content:center; 
    font-size:22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: all .18s ease;
  }
  .nav-buttons button:hover{ 
    transform:scale(1.07); 
    box-shadow: 0 10px 24px rgba(0,0,0,0.22); 
}
  .nav-buttons button[disabled]{ 
    opacity:.45; 
    cursor:not-allowed; 
    transform:none; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.06); 
}

  .carousel-wrapper { 
    overflow:hidden; 
    position:relative; 
    width:100%; 
    background-color: rgba(253, 253, 253, 1);
}
  .carousel-track {
    display:flex;
    gap: var(--gap);
    transition: transform .35s ease;
    will-change: transform;
    padding-bottom:10px;
    background-color: rgba(253, 253, 253, 1);
  }

  .card {
    width: var(--card-width);
    background:#000; 
    color:#fff; 
    border-radius:10px; 
    overflow:hidden; 
    flex-shrink:0;
    display:flex; 
    flex-direction:column;
  }
  .card img{ 
    width:100%; 
    height:220px; 
    object-fit:cover; 
    display:block; 
}
  .card-content{ 
    padding:14px; 
}
  .card-title{ 
    font-size:18px; 
    font-weight:600;
     margin-bottom:10px; 
    }
  .author-row{ 
    display:flex; 
    align-items:center; 
    gap:8px;
    margin-bottom:8px;
     }
  .author-icon{
    width:28px;
    height:28px; 
    background:#ddd; 
    border-radius:50%; 
}
  .sold-info{ 
    font-size:13px; 
    opacity:.75; 
    margin-bottom:12px; 
}
  .price-tag{ 
    background:#009f78; 
    color: var(--bg-color); 
    padding:12px 14px; 
    font-weight:700; 
    font-size:16px; 
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

  /* Mobile behaviour: scroll horizontal with snap; hide buttons */
  @media (max-width: 600px){
    header{
      padding: 10px;
      display: flex;
      align-items: center;
      margin: 0 auto;
      justify-content: center;
    }
    .nav-bar{
      display: flex;
      width: 100%;
    }
    .nav-list{
      display: flex;
    }
    .nav-list ul{
      width: 100%;
    }
    .logo-header{
      display: none;
    }
    .title-home h1{
      font-size: 1.5rem;
    }
    .featured-section{
      padding: 10px 10px;
    }
    .featured-header h2{
      font-size: 1rem;
    }
    .nav-buttons{
      display: none;
    }
    .card{
      width: 250px;
      height: auto;
    }
    .card-title{
      font-size: 1rem;
    }
    .sold-info{
      font-size: 0.6rem;
    }
    .price-tag{
      font-size: 0.8rem;
      padding: 8px 10px;
    }
  }