/*────────────────────────────────────────────────────────────────────────*/
/* RESET & BASE */
/*────────────────────────────────────────────────────────────────────────*/

    
:root{
    --accent-color:#9394c0;
    --accent-hover:#a9a8db;
    --slide-duration:8s;
    --transition-speed:0.5s;
    --text-primary:#1f2937;
    --text-secondary:#6b7280;
    --bg-white:#ffffff;
    --bg-overlay:rgba(0,0,0,.4);
    --progress-track:#e5e7eb;
    --shadow-color:rgba(0,0,0,.1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
    color:var(--text-primary);
    overflow-x:hidden;
}


/*────────────────────────────────────────────────────────────────────────*/
/* HEADER LAYOUT */
/*────────────────────────────────────────────────────────────────────────*/
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  --header-height: 132px; /* Adjust this value based on your actual header height */
}

/*────────────────────────────────────────────────────────────────────────*/
/* LOGO STYLING */
/*────────────────────────────────────────────────────────────────────────*/
.site-header__logo {
  /* center it horizontally */
  position: absolute;
  justify-content: center;
  /* fine-tune your vertical spacing */
  margin-top: 21px;
  z-index: 1000;
  left: 2%
}
.site-header__logo img {
  display: block;
  width: clamp(120px, 15vw, 200px); /* never smaller than 120px, never larger than 200px, otherwise 15% of viewport width */
  height: auto;                     /* preserve aspect ratio */
  object-fit: contain;
}

/*────────────────────────────────────────────────────────────────────────*/
/* FADE-RULE BETWEEN NAVS */
/*────────────────────────────────────────────────────────────────────────*/
.fade-rule {
  height: 1px;
  width: 100%;
  display: block;
  background:
    white
    no-repeat center center /
    100% 1px
    linear-gradient(
      to right,
      rgba(0,0,0,0)  50%,
      rgba(0,0,0,1) 100%
    );
  opacity: 0.3;
}

/*────────────────────────────────────────────────────────────────────────*/
/* DEMO CONTENT */
/*────────────────────────────────────────────────────────────────────────*/
.demo-content {
  margin-top: 70px;
  padding: 40px 20px;
  text-align: center;
  color: #000000;
}

/*────────────────────────────────────────────────────────────────────────*/
/* OVERLAY STYLES FOR BETTER TEXT READABILITY */
/*────────────────────────────────────────────────────────────────────────*/

/* Section introduction styling */
.section-intro {
    position: relative;
    width: 100%; 
    background: transparent; 
    border: none;
    overflow: hidden;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.85);
    z-index: 1;
}

.intro-text {
    position: relative;
    z-index: 2;
    color: white; 
    margin: 0; 
    text-align: center; 
    font-size: 24px; 
    font-family: 'Poppins', sans-serif; 
    padding: 15px 30px; 
    font-weight: 600;
}

/* Product section overlay styling */
.product-section {
    position: relative;
    overflow: hidden;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.product-section .product-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
}

.product-section .product-content h2 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.product-section .product-content p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

/* Mobile responsiveness for overlays */
@media (max-width: 768px) {
    .product-section .product-content {
        margin: 10px;
        padding: 20px;
    }
    
    .intro-text {
        font-size: 20px;
        padding: 12px 20px;
    }
}

/*────────────────────────────────────────────────────────────────────────*/
/* HERO SLIDER TEXT OVERLAY STYLES */
/*────────────────────────────────────────────────────────────────────────*/

/* Hero slider text content overlay */
.slide .text-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
}

.slide .text-content h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.slide .text-content p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-size: 16px;
}

/* Mobile responsiveness for hero slider */
@media (max-width: 768px) {
    .slide .text-content {
        margin: 10px;
        padding: 20px;
    }
    
    .slide .text-content h1 {
        font-size: 1.8rem;
    }
    
    .slide .text-content p {
        font-size: 14px;
    }
}