/* FONTS ---------------------------------- */

@font-face {
  font-family: "BrownSugar";
  src: url("BrownSugar.ttf") format("truetype");
}

@font-face {
  font-family: "Satoshi";
  src: url("Satoshi-Variable.ttf") format("truetype");
}

/* GLOBAL ---------------------------------- */

body {
  margin: 0;
  padding: 0;
  font-family: "BrownSugar", serif;
  background-color: #f7f5ed;
}

/* NAVIGATION ---------------------------------- */

nav {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;

  /* START TRANSPARENT */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, padding 0.3s ease;
}

/* When scrolling → change to fully visible */
.nav-solid {
  background: rgba(255, 255, 255, 0.95);
}

.logo {
  text-align: center;
  font-size: 5rem;
}

/* Desktop nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-family: "Satoshi", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
}

/* MOBILE NAV ---------------------------------- */

@media (max-width: 900px) {
  nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 80px;
    padding: 0;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    font-size: 1.2rem;
    flex: 1;
    padding-left: 20px;
  }

  .menu-toggle {
    display: block;
    padding-right: 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    margin: 0;
    padding: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #e0dcd5;
  }

  .nav-links li a {
    font-size: 1rem;
  }
}

/* ROTATED HERO IMAGE ---------------------------------- */

.rotate-wrapper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.rotate-90 {
  width: 100vh;
  height: 100vw;
  object-fit: cover;
  transform: rotate(90deg) translateY(-100%);
  transform-origin: top left;
  display: block;
}

/* BUY NOW BUTTON ---------------------------------- */

.buy-now-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 40px;
  background: white;
  color: black;
  text-decoration: none;
  font-size: 1.4rem;
  font-family: "Satoshi";
  font-weight: 900;
  transition: 0.3s;
}

.buy-now-btn:hover {
    background: black;
  color: white;
}

/* TEXT SECTION ---------------------------------- */

.section-text {
  font-family: "Satoshi", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  padding: 6% 10%;
}

@media (max-width: 768px) {
  .section-text {
    font-size: 1.2rem;
    padding: 8% 5%;
  }
}

/* IMAGE GALLERY ---------------------------------- */

.image-gallery {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.image-gallery div {
  flex: 1;
}

.section-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive gallery stacking */
@media (max-width: 900px) {
  .image-gallery {
    flex-direction: column;
  }
}

/* FOOTER ---------------------------------- */

footer {
  font-family: "Satoshi", sans-serif;
  text-align: center;
  padding: 25px 0;
  font-size: 14px;
  color: #444;
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

/* ABOUT US SECTION ---------------------------------- */

.about-us {
  background-color: white;
  padding: 60px 20px;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
}

.about-title {
  font-family: "BrownSugar", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.about-intro {
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.about-card {
  padding: 30px;
  background-color: #f7f5ed;
  border: 1px solid #e0dcd5;
  text-align: center;
}

.about-card h3 {
  font-family: "BrownSugar", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.about-card p {
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.goals-list {
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  padding-left: 20px;
  text-align: left;
}

.goals-list li {
  margin-bottom: 12px;
}

.background-story {
  background-color: #f7f5ed;
  padding: 40px;
  border: 1px solid #e0dcd5;
}

.background-story h3 {
  font-family: "BrownSugar", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.background-story p {
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* Responsive About Us */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-title {
    font-size: 2.2rem;
  }

  .about-intro {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about-us {
    padding: 40px 15px;
  }

  .about-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .about-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .about-card, .background-story {
    padding: 20px;
  }
}

/* PROMOTIONS SECTION ---------------------------------- */

.promotions {
  background-color: white;
  padding: 60px 20px;
}

.promotions-container {
  max-width: 1000px;
  margin: 0 auto;
}

.promotions-title {
  font-family: "BrownSugar", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.promotions-intro {
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.promo-card {
  padding: 40px;
  background-color: #f7f5ed;
  border: 1px solid #e0dcd5;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.promo-card h3 {
  font-family: "BrownSugar", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.promo-highlight {
  font-family: "Satoshi", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.promo-card p {
  font-family: "Satoshi", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* PROMOTIONS IMAGE ---------------------------------- */

.promo-image-wrapper {
  width: 100%;
  height: 800px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.promo-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("promotion1.png");
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: 0;
}

.promo-image {
  width: 70%;
  max-width: 800px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .promo-image-wrapper {
    height: 400px;
    margin-top: 80px;
  }

  .promo-image {
    width: 85%;
  }
}

/* Responsive Promotions */
@media (max-width: 900px) {
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .promotions-title {
    font-size: 2.2rem;
  }

  .promotions-intro {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .promotions {
    padding: 40px 15px;
  }

  .promotions-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .promotions-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .promo-card {
    padding: 25px;
  }

  .promo-highlight {
    font-size: 1.1rem;
  }
}

/* CONTACT US SECTION ---------------------------------- */

.contact-us {
  background-color: white;
  padding: 60px 20px;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-title {
  font-family: "BrownSugar", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1a1a1a;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 20px;
}

.contact-intro {
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  text-align: center;
}

.contact-detail h3 {
  font-family: "BrownSugar", serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.contact-detail p {
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  color: #444;
  margin: 0;
}

.contact-detail a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: #d4af37;
}

.contact-map {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive Contact Us */
@media (max-width: 900px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .contact-intro {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-us {
    padding: 40px 15px;
  }

  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .contact-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .contact-detail h3 {
    font-size: 1.3rem;
  }

  .contact-detail p {
    font-size: 1rem;
  }

  .contact-map iframe {
    height: 350px !important;
  }
}

  /* PRODUCTS SECTION ---------------------------------- */

  .products {
    background-color: white;
    padding: 60px 20px;
  }

  .products-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .products-title {
    font-family: "BrownSugar", serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 30px;
    color: #1a1a1a;
  }

  .products-intro {
    font-family: "Satoshi", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .product-card {
    background-color: #f7f5ed;
    border: 1px solid #e0dcd5;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
  }

  .product-card h3 {
    font-family: "BrownSugar", serif;
    font-size: 1.4rem;
    margin: 15px 0;
    color: #1a1a1a;
  }

  .product-description {
    font-family: "Satoshi", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    min-height: 80px;
  }

  .product-price {
    font-family: "BrownSugar", serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 15px 0;
  }

  .add-to-cart {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 30px;
    font-family: "Satoshi", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }

  .add-to-cart:hover {
    background-color: #d4af37;
    color: black;
  }

  /* Responsive Products */
  @media (max-width: 1024px) {
    .products-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }

  @media (max-width: 768px) {
    .products {
      padding: 40px 15px;
    }

    .products-title {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .products-intro {
      font-size: 1rem;
      margin-bottom: 30px;
    }

    .products-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .product-image {
      height: 200px;
    }

    .product-card h3 {
      font-size: 1.2rem;
    }
  }


/* ...existing styles... */

/* PRODUCTS GRID */
.collection {
    margin: 60px 0;
    padding: 0 20px;
}

.collection h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    background-color: #f7f5ed;
    border: 1px solid #e0dcd5;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product h3 {
    font-size: 1.2rem;
    margin: 15px 0;
}

.product p {
    font-size: 0.95rem;
    color: #666;
    margin: 10px 0;
}

.product .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 15px 0;
}

.add-to-cart-btn {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.add-to-cart-btn:hover {
    background-color: #d4af37;
    color: black;
}

/* CART PAGE */
.cart-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.cart-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
}

.empty-cart a {
    color: #d4af37;
    text-decoration: none;
}

.cart-container {
  font-family: "Satoshi", sans-serif;
    background-color: white;
    padding: 30px;
    border: 1px solid #e0dcd5;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table thead {
    background-color: #f7f5ed;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0dcd5;
}

.cart-table th {
    font-weight: bold;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-remove {
  font-family: "Satoshi", sans-serif;
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-remove:hover {
    background-color: #c0392b;
}

.cart-summary {
    background-color: #f7f5ed;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 1.1rem;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.3rem;
    border-top: 2px solid #d4af37;
    padding-top: 10px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-continue,
.btn-checkout {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-continue {
    background-color: #f7f5ed;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #1a1a1a;
}

.btn-continue:hover {
    background-color: #1a1a1a;
    color: white;
}

.btn-checkout {
  font-family: "Satoshi", sans-serif;
    background-color: #1a1a1a;
    color: white;
}

.btn-checkout:hover {
    background-color: #d4af37;
    color: black;
}

/* MODAL */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.modal-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.1rem;
}

.loader {
    border: 4px solid #f7f5ed;
    border-top: 4px solid #d4af37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .btn-continue,
    .btn-checkout {
        width: 100%;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }
}