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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0D0D0D;
  color: #f0f0f0;
  overflow-x: hidden;
}

.navbar {
  position: relative; 
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  /* margin-left: 25px; */
  align-items: center;
  padding: 0 50px;
  z-index: 100;
  gap: 160px;
  transform: translateX(23px);
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 120px;
  margin-top: 1.2rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #cfcfcf;
  font-size: 14px;
  transition: color 0.3s ease;
}

header,
.navbar,
.navbar *,
.navbar::before,
.navbar::after {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

.nav-links a:hover,
.nav-links a.active {
  color: #E2C48D;
}


.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E2C48D;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E2C48D;
  border-radius: 2px;
}

body.home .navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
  z-index: 10;
}

body:not(.home) .navbar {
  position: relative;
  background-color: #0D0D0D !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

body:not(.home) main,
body:not(.home) section:first-of-type {
  padding-top: 100px; 
}

.logo img {
  height: 120px; 
  margin-top: 1.5rem;
   transform: translateY(-5px); 
}

.gallery-detail-btn {
  display: inline-block;
  background-color: #2b2b2b;
  color: #E2C48D;
  padding: 10px 28px;
  border-radius: 6px;
  text-decoration: none;
  /* font-weight: 600; */
  letter-spacing: 0.3px;
  margin-top: 15px;
  transition: 0.3s ease;
}

.gallery-detail-btn:hover {
  background-color: #E2C48D;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.hero {
  position: relative;
  height: 100vh;
  background: url("../asset/background-homepage.webp") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #E2C48D;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content button {
  background-color: #E2C48D;
  color: #2b2b2b;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-content button:hover {
  background-color: #2b2b2b;
  color: #E2C48D;
}

/* SECTIONS BASE */
.collection-section{
  margin-top: -50px;
}

section {
  padding: 100px 100px;
}

h2 {
  font-family: 'Playfair Display', serif;
  color: #E2C48D;
  margin-bottom: 20px;
}

.section-divider {
  border: none;
  border-top: 3px solid #E2C48D;
  width: 95%;
  margin: 50px auto;
  opacity: 0.5;
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.collection-title {
  color: #E2C48D;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.view-all-link {
  color: #C8C8C8;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
}

.view-all-link:hover {
  color: #fff;
  text-decoration: underline;
}

.view-all-link-container {
  flex-shrink: 0;
}

.collection-grid {
  margin-top: 40px; 
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 25px;
  justify-items: center;
}

.line {
  width:75rem;
  border: none;
  border-top: 1px solid #E2C48D;
  margin: 20px 0;
}

.gallery-section {
    padding: 20px 80px 80px 80px;
    margin-top: -70px; 
}

.gallery-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #E2C48D; 
    margin-bottom: 40px;
    display: inline-block;
    padding-bottom: 5px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.5rem;
  row-gap: 3rem;
  justify-items: center;
  margin: 0 auto;
  max-width: 1200px;
}

.item-card {
    background-color: #1A1A1A;
    width: 21rem;
    height: 31rem;
    border-radius: 8px;
    padding: 0; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.item-card img {
    width: 100%;
    border-radius: 8px 8px 0 0; 
    height: 300px; 
    object-fit: cover;
    margin-bottom: 0; 
    display: block;
}

.card-info {
    padding: 15px 15px 10px 15px;
}

.item-card h4 {
    /* font-family: 'Playfair Display', serif; */
    font-size: 1em;
    color: #E2C48D;
    margin: 0 0 5px 0;
    text-align: left;
}

.item-card .origin-thumb {
    font-size: 0.85em;
    color: #C8C8C8;
    margin: 0; 
    text-align: left;
}

.detail-btn {
    display: block;
    width: 50%;
    padding: 10px 0;
    margin: 10px 15px 15px 15px; 
    width: auto; 
    background-color:#3A3A3A;
    color: #E2C48D;
    text-decoration: none;
    font-size: smaller;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.detail-btn:hover {
    background-color: #E2C48D;
    color: #3A3A3A;
}

/**/
/*ABOUT PAGE STYLES*/
/**/

.about-section {
    padding: 60px 100px; 
    max-width: 1200px; 
    margin: 0 auto; 
    margin-top: -75px;
    color: var(--color-text-primary, #E0E0E0);
}

.about-wrapper {
    display: flex; 
    gap: 80px; 
    align-items: flex-start; 
}

.about-left {
    flex: 2; 
}

.about-right {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px; 
}

.about-right img {
    max-width: 100%;
    height: auto;
    border-radius: 5px; 
}

.about-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #E2C48D;
    margin-top: 30px;
    margin-bottom: 10px;
}

.about-left p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-left ol {
    margin-left: 20px;
    padding-left: 0;
    font-size: 1em;
    line-height: 1.6;
}

.about-left ol li {
    margin-bottom: 10px;
}

.footer {
    background-color: var(--color-background-dark, #121212); 
    padding: 40px 100px 20px 100px;
    border-top: 1px solid #333;
}

.footer-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;
}

.footer-line {
    border: none;
    height: 1px;
    background-color: #333;
    margin: 20px 0;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8em;
    color: #666;
}

.gallery {
  padding: 80px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0F0F0F;
}

.gallery-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  flex-wrap: wrap;
}

.gallery-content img {
  width: 350px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(226, 196, 141, 0.1);
  transition: transform 0.3s ease;
}

.gallery-content img:hover {
  transform: scale(1.02);
}

.gallery-content .text {
  flex: 1;
  max-width: 600px;
}

.gallery-content .text h2 {
  font-family: 'Playfair Display', serif;
  color: #E2C48D;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.gallery-content .text p {
  color: #D4D4D4;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 25px;
}

.gallery-content .add-btn {
  background-color: #E2C48D;
  color: #0B0B0B;
  padding: 10px 22px;
  width: 10rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  /* transition: all 0.3s ease; */
}

.gallery-content .add-btn:hover {
  background-color: #c9a951;
  transform: translateY(-2px);
}

.about-sectionhome {
  padding: 100px 120px;
  background: transparent;
  margin-bottom: 4rem;
  position: relative;
}

.about-sectionhome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
}

.about-sectionhome::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
}

.about-containerhome {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  color: #d9d9d9;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.about-containerhome h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  font-weight: 700;
  color: #E2C48D;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.about-containerhome p {
  font-size: 1.05em;
  line-height: 1.9;
  color: #C8C8C8;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  opacity: 0.95;
}

.about-containerhome p strong {
  color: #E2C48D;
}

.footer {
  background-color: #0B0B0B;
  padding: 60px 100px 40px;
  color: #D9D9D9;
  border-top: 1px solid #2C2C2C;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-center h3,
.footer-right h3 {
  color: #E2C48D;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.footer-center ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li,
.footer-right ul li {
  margin-bottom: 8px;
  color: #B8B8B8;
  font-size: 0.95em;
}

.footer-center a {
  text-decoration: none;
  color: #CFCFCF;
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: #E2C48D;
}

.footer-line {
  border: none;
  border-top: 1px solid #2C2C2C;
  margin: 40px auto 20px;
  width: 90%;
  opacity: 0.5;
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: 0.85em;
}

.footer-left img,
.footer-logo {
  width: 220px;     
  height: auto;
  max-height: none;
  opacity: 1;    
  margin-top: -30px;  
}

.item-card {
  position: relative; 
  overflow: hidden;
}

.remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #B12325;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.remove-btn:hover {
  background: #3A3A3A;
  color: #B12325;
  transform: scale(1.1);
}


@media (max-width: 768px) {

  .navbar {
    height: auto;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 10px 15px; 
    gap: 8px;
    flex-wrap: nowrap; 
  }

  .nav-links {
    flex-direction: row; 
    flex-wrap: wrap;
    gap: 12px; 
    margin-top: 0;
    padding: 0;
    flex: 0 0 auto; 
    justify-content: center; 
  }
  
  .logo {
      order: 0; 
      flex: 0 0 auto;
  }
  .logo img {
    height: 70px; 
    margin-top: 0;
    transform: none;
  }
  
  .nav-links a {
    font-size: 14px; 
  }

  .nav-links a.active::after,
  .nav-links a:hover::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    bottom: -2px; 
  }
  
  .navbar > .nav-links:first-of-type {
      order: -1; 
      justify-content: flex-end; 
  }
  
  .navbar > .nav-links:last-of-type {
      order: 1; 
      justify-content: flex-start; 
  }

  section {
    padding: 60px 20px; 
  }
  
  .gallery-section {
    padding: 20px 20px 60px 20px;
    margin-top: -50px; 
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 30px; 
    margin-top: 20px;
  }
  
  .item-card {
      width: 100%; 
      max-width: 350px; 
      margin: 0 auto;
  }

  .about-section {
    padding: 40px 20px;
    margin-top: -50px;
  }
  
  .about-wrapper {
      flex-direction: column;
      gap: 30px;
  }

  .footer {
    padding: 30px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 25px;
    text-align: center; 
  }
  
  .footer-left, .footer-center, .footer-right {
      width: 100%;
      text-align: center;
  }

  .footer-logo {
      margin-top: 0;
      width: 180px;
      margin: 0 auto;
  }
  
  .footer-center h3,
  .footer-right h3 {
      margin-top: 15px; 
  }
  
  .footer-center ul,
  .footer-right ul {
      text-align: center;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .about-sectionhome {
      padding: 60px 20px;
  }
  
  .about-containerhome h2 {
      font-size: 1.8em;
  }
  
  .about-containerhome p {
      font-size: 1em;
  }
  
  .section-divider {
      width: 100%;
      margin: 30px auto;
  }
  
  .gallery-content {
      flex-direction: column;
      gap: 30px;
      align-items: center;
      text-align: center;
  }
  
  .gallery-content img {
      width: 100%; 
      max-width: 300px;
  }
  
  .gallery-content .text {
      max-width: 100%;
  }
  
  .gallery-content .add-btn {
      width: 100%;
      max-width: 200px;
      margin: 0 auto;
  }

  .line {
    display: none;
  }

  .collection-section{
    margin-top: -80px;
  }

  .gallery-section{
    margin-top: -100px;
  }

  .about-section{
    margin-top: -115px;
  }


  @media (max-width: 480px) {
      .navbar {
          /* flex-direction: column;  */
          padding: 8px 0;
          gap: 6px;
      }
      .logo img {
          height: 60px; 
      }
      .nav-links {
          width: 100%;
          justify-content: center; 
          gap: 12px;
          margin-top: 5px;
      }
      .nav-links:first-of-type {
        order: initial;
        margin-bottom: 5px; 
      }
      .nav-links:last-of-type {
        order: initial;
        margin-top: 5px; 
      }

      
  }
}