/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #215155;
  --background-color: #121212;
  --text-color: #ffffff;
  --hover-bg: rgba(255, 255, 255, 0.6);
  --nav-bg: hsla(0, 0%, 0%, 0.523);
  --transition-speed: 0.3s;
}

/* Page Transition Animation */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
}

.page-transition.active {
  opacity: 1;
  transform: translateY(0);
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--primary-color);
  clip-path: polygon(
    0% 100%,
    100% 100%,
    100% 40%,
    95% 50%,
    90% 40%,
    85% 50%,
    80% 40%,
    75% 50%,
    70% 40%,
    65% 50%,
    60% 40%,
    55% 50%,
    50% 40%,
    45% 50%,
    40% 40%,
    35% 50%,
    30% 40%,
    25% 50%,
    20% 40%,
    15% 50%,
    10% 40%,
    5% 50%,
    0% 40%
  );
  animation: waveAnimation 2s ease-in-out infinite;
}

@keyframes waveAnimation {
  0%, 100% {
    clip-path: polygon(
      0% 100%,
      100% 100%,
      100% 40%,
      95% 50%,
      90% 40%,
      85% 50%,
      80% 40%,
      75% 50%,
      70% 40%,
      65% 50%,
      60% 40%,
      55% 50%,
      50% 40%,
      45% 50%,
      40% 40%,
      35% 50%,
      30% 40%,
      25% 50%,
      20% 40%,
      15% 50%,
      10% 40%,
      5% 50%,
      0% 40%
    );
  }
  50% {
    clip-path: polygon(
      0% 100%,
      100% 100%,
      100% 50%,
      95% 40%,
      90% 50%,
      85% 40%,
      80% 50%,
      75% 40%,
      70% 50%,
      65% 40%,
      60% 50%,
      55% 40%,
      50% 50%,
      45% 40%,
      40% 50%,
      35% 40%,
      30% 50%,
      25% 40%,
      20% 50%,
      15% 40%,
      10% 50%,
      5% 40%,
      0% 50%
    );
  }
}

/* Base Styles */
body {
  font-family: 'Arial', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navbar Styles with Improved Hover Effects */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background-color: var(--nav-bg);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
}

.navbar:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.navbar .logo {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.navbar .logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--primary-color);
}

.navbar .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 25px;
  position: relative;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 0;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Navbar Logo Text */
.nav-logo-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  display: hidden
}

/* Hero Section Styles */
.hero {
  position: relative;
  width: 100%;
  height: 110vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

#video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(5px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, rgba(18, 18, 18, 1) 100%);
  z-index: 0;
}

.hero-content {
  transform: translateY(-10%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  height: 100%;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 10rem;
  font-family: "Bungee", serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.5rem;
  margin-top: 10rem;
  margin-bottom: 20px;
}

.logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  animation: pulse 3s infinite ease-in-out;
  
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-content .centered-logo {
  width: 400px;
  opacity: 0.7;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  transition: all var(--transition-speed) ease;
}

.hero-content .centered-logo:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 20px var(--primary-color));
}

.hero-content .dftitle {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 4rem;
  text-align: center;
  color: white;
  font-family: "Anton", sans-serif;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

/* Improved Button Styles */
.btn, .btnhome, .btnc {
  padding: 12px 25px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 30px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}

.btn::before, .btnhome::before, .btnc::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.btn:hover, .btnhome:hover, .btnc:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before, .btnhome:hover::before, .btnc:hover::before {
  left: 0;
}

.btnhome {
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  padding: 18px 40px;
  letter-spacing: 2px;
  border-width: 3px;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btnhome:hover {
  transform: translateX(-50%) translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-color);
  letter-spacing: 3px;
}

/* Inventory Section Styles */
.inventory {
  padding: 120px 10% 80px;
  text-align: center;
}

.inventory h2 {
  font-size: 3.5rem;
  font-family: "Anton", sans-serif;
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.inventory h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 25%;
}

/* Inventory Controls */
.inventory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: var(--background-color);
  margin-top: 60px;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-bar input {
  padding: 12px 25px;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  background: rgba(26, 26, 26, 0.7);
  color: white;
  width: 250px;
  transition: all var(--transition-speed) ease;
  font-size: 0.9rem;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--text-color);
  box-shadow: 0 0 15px rgba(33, 81, 85, 0.3);
  width: 280px;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.category-nav {
  display: flex;
  gap: 15px;
}

.category-nav button {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-nav button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: all var(--transition-speed) ease;
  z-index: -1;
  border-radius: 25px;
}

.category-nav button:hover::before {
  left: 0;
}

.category-nav button.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 0 15px rgba(33, 81, 85, 0.5);
}

.category-nav button:hover:not(.active) {
  color: white;
  transform: translateY(-3px);
}

.dropdown select {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid var(--primary-color);
  background-color: rgba(26, 26, 26, 0.7);
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
}

.dropdown select:focus {
  outline: none;
  border-color: var(--text-color);
  box-shadow: 0 0 15px rgba(33, 81, 85, 0.3);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.product-card {
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  background: rgba(26, 26, 26, 0.5);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 15px;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  transition: all var(--transition-speed) ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card h3 {
  margin-top: 15px;
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  padding: 0 15px;
}

.product-card p {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 5px;
  padding: 0 15px;
}

/* Modal Styles with Loading Animation */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: #1a1a1a;
  width: 80%;
  max-width: 1000px;
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  gap: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  animation: modalSlideIn 0.5s 0.3s ease forwards;
}

@keyframes modalSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
}

.modal-loading::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 10px;
  background: var(--primary-color);
  animation: modalLoading 1s ease-in-out infinite;
  border-radius: 10px;
}

@keyframes modalLoading {
  0% {
    transform: translateX(-25px);
  }
  50% {
    transform: translateX(25px);
  }
  100% {
    transform: translateX(-25px);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: all var(--transition-speed) ease;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Carousel Styles */
.carousel-container {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
  overflow: hidden;
  border-radius: 15px;
  height: 500px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
  opacity: 0.7;
}

.carousel-arrow:hover {
  background: var(--primary-color);
  opacity: 1;
  width: 55px;
  height: 55px;
}

.prev { left: 15px; }
.next { right: 15px; }

/* Product Details */
.product-details {
  flex: 0 0 300px;
  color: white;
}

.product-details h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: 'Anton', sans-serif;
  position: relative;
  display: inline-block;
}

.product-details h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.product-details p {
  margin: 20px 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

#modalProductPrice {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Size Buttons */
.size-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin: 25px 0;
}

.size-btn {
  padding: 8px 15px;
  background-color: transparent;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 25px;
  transition: all var(--transition-speed) ease;
  font-weight: bold;
}

.size-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.size-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Add to Cart Button */
.snipcart-add-item.btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.snipcart-add-item.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.snipcart-add-item.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.snipcart-add-item.btn:hover::before {
  left: 0;
}

/* Cart Widget */
.cart-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
}

.cart-widget:hover {
  transform: scale(1.05) translateY(-5px);
  background: #1a4043;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cart-count {
  background: white;
  color: var(--primary-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all var(--transition-speed) ease;
}

.cart-widget:hover .cart-count {
  transform: scale(1.1);
}

.cart-total {
  font-weight: bold;
  letter-spacing: 0.5px;
}

.cart-icon {
  color: white;
  stroke: white;
  width: 22px;
  height: 22px;
  transition: all var(--transition-speed) ease;
}

.cart-widget:hover .cart-icon {
  transform: scale(1.1);
}

/* Spinner Animation */
.spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden { display: none; }

/* Snipcart Overrides */
.snipcart-modal__container {
  top: 60px !important;
}

/* ======================================= */
/* NEW PARALLAX ABOUT PAGE STYLES */
/* ======================================= */

/* Parallax About Hero Section */
.about-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-top: 0;
  padding-top: 70px; /* Space for navbar */
}

.about-hero .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.7);
  transform: translateZ(0);
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  /* Removed:
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  */
  padding: 2rem;
  transform: translateY(0);
}

.about-hero h1 {
  font-size: 5rem;
  font-family: "Anton", sans-serif;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  opacity: 1;
}

/* About Content Section with Cards */
.about-content {
  padding: 6rem 10%;
  background: var(--background-color);
  position: relative;
  z-index: 1;
}

.about-card {
  display: flex;
  margin-bottom: 8rem;
  position: relative;
  background-color: rgba(33, 81, 85, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-left {
  flex-direction: row;
}

.card-right {
  flex-direction: row-reverse;
}

.card-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}

.card-image:hover img {
  transform: scale(1.05);
}

.card-text {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  background-color: rgba(18, 18, 18, 0.8);
}

.card-text h2 {
  font-size: 2.5rem;
  font-family: "Anton", sans-serif;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
}

.card-text h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.card-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
}

/* Parallax Quote Section */
.quote-section {
  position: relative;
  min-height: 70vh; /* Changed from height to min-height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Changed from hidden to visible */
  z-index: 1;
  padding: 4rem 1rem; /* Added padding to ensure content has room */
}

.quote-section .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Changed from 120% to 100% */
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(0.4) saturate(1.2);
  transform: translateZ(0);
}

.quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2.5rem 1.5rem; /* Reduced padding */
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  overflow: auto; /* Added overflow handling */
}

blockquote {
  margin: 0;
  padding: 0;
}

blockquote p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3;
  color: white;
  font-family: 'Kanit', sans-serif;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

blockquote cite {
  font-size: 1.2rem;
  font-style: normal;
  color: var(--primary-color);
  font-weight: 500;
  letter-spacing: 2px;
  display: inline-block;
}

/* Team Section with Styled Cards */
.team-section {
  padding: 6rem 10%;
  text-align: center;
  background: linear-gradient(to bottom, var(--background-color), var(--primary-color));
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3.5rem;
  font-family: "Anton", sans-serif;
  margin-bottom: 4rem;
  display: inline-block;
  position: relative;
  color: white;
  letter-spacing: 3px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background-color: white;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.team-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.team-member {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  padding-bottom: 1.5rem;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-member .profile-photo {
  width: 100%;
  height: 320px;
  margin: 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.team-member .profile-photo::before,
.team-member .profile-photo::after {
  display: none; /* Removing the existing effects */
}

.team-member .profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .profile-photo img {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  color: white;
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
}

.team-member p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1.5rem;
}

/* Animation classes */
.reveal-element {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Original About Section (keeping for compatibility) */
.about {
  display: none; /* Hide the original about section */
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-content .centered-logo {
    width: 500px;
  }
  
  .modal-content {
    width: 90%;
  }
  
  .about-hero h1 {
    font-size: 4rem;
  }
  
  .card-text {
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 10px 5%;
  }
  
  .inventory, .about-content, .team-section {
    padding: 100px 5% 60px;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .hero-content .centered-logo {
    width: 400px;
  }
  
  .modal-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .carousel-slide {
    height: 400px;
  }
  
  .product-details {
    flex: none;
  }
  
  .about-hero h1 {
    font-size: 3.5rem;
  }
  
  .about-card {
    flex-direction: column;
    margin-bottom: 5rem;
  }
  
  .card-image {
    min-height: 300px;
    position: relative;
  }
  
  .card-image img {
    position: relative;
  }
  
  blockquote p {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .inventory-controls {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .search-bar input {
    width: 100%;
    min-width: 250px;
  }
  
  .category-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .category-nav button {
    padding: 8px 15px;
    font-size: 0.8rem;
  }
  
  .hero-content .centered-logo {
    width: 300px;
  }
  
  .hero-content .dftitle {
    font-size: 2.5rem;
  }

  .nav-logo-text {
    display: none;
  }
  
  .about-hero h1 {
    font-size: 3rem;
  }
  
  .card-text h2 {
    font-size: 2rem;
  }
  
  .card-text p {
    font-size: 1.1rem;
  }
  
  .quote-section {
    height: 60vh;
  }
  
  blockquote p {
    font-size: 1.8rem;
  }
  
  .carousel-slide {
    height: 300px;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 10px;
  }
  
  .nav-links li {
    margin-left: 15px;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  
  .hero-content .centered-logo {
    width: 250px;
  }
  
  .btnhome {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .card-text {
    padding: 1.5rem;
  }
  
  .card-text h2 {
    font-size: 1.8rem;
  }
  
  .card-text p {
    font-size: 1rem;
  }
  
  .quote-section {
    height: 70vh;
  }
  
  .quote-content {
    padding: 2rem 1rem;
  }
  
  blockquote p {
    font-size: 1.5rem;
  }
  
  .modal-content {
    width: 95%;
    padding: 15px;
  }
  
  .carousel-slide {
    height: 250px;
  }
  
  .product-details h2 {
    font-size: 1.5rem;
  }
  
  .cart-widget {
    padding: 10px 20px;
    bottom: 20px;
    right: 20px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .quote-section {
    min-height: 60vh; /* Changed from height to min-height */
    padding: 3rem 1rem; /* Added padding */
  }
  
  blockquote p {
    font-size: 1.5rem; /* Reduced font size */
    line-height: 1.5; /* Improved line height for readability */
  }
}

@media (max-width: 576px) {
  .quote-section {
    min-height: 50vh; /* Reduced minimum height */
    padding: 2.5rem 0.75rem; /* Further adjusted padding */
  }
  
  .quote-content {
    padding: 1.5rem 1rem; /* Reduced padding even more */
  }
  
  blockquote p {
    font-size: 1.2rem; /* Further reduced font size for smallest screens */
    line-height: 1.6; /* Increased line height for better readability */
    margin-bottom: 1rem; /* Reduced bottom margin */
  }
  
  blockquote cite {
    font-size: 1rem; /* Adjusted citation font size */
  }
}