/* ===================================
   HYPERSTONE Website - Custom Styles
   =================================== */

/* ===================================
   Google Fonts - Gmarket Sans
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Gmarket+Sans:wght@300;500;700&display=swap');

/* ===================================
   CSS Custom Properties (Brand Colors)
   =================================== */
:root {
  --color-primary: #0082FB;
  --color-secondary: #0064E0;
  --color-light: #F1F5F8;
  --color-dark: #1C2B33;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  /* Enhanced Color Palette for Better Harmony */
  --color-blue-50: #E6F4FF;
  --color-blue-100: #BAE0FF;
  --color-blue-200: #91CAFF;
  --color-blue-300: #69B1FF;
  --color-blue-400: #4096FF;
  --color-blue-500: #0082FB;
  --color-blue-600: #0064E0;
  --color-blue-700: #0050B8;
  --color-blue-800: #003D8F;
  --color-blue-900: #002C66;
  
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F1F5F8;
  --color-gray-200: #E5E9ED;
  --color-gray-300: #D1D8DD;
  --color-gray-400: #9CA8B3;
  --color-gray-500: #6B7885;
  --color-gray-600: #4A5661;
  --color-gray-700: #2E3A44;
  --color-gray-800: #1C2B33;
  --color-gray-900: #0F1A20;
  
  /* Responsive Breakpoints */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
}

/* ===================================
   Brand Text Styling
   =================================== */
.brand-text {
  font-family: 'Audiowide', cursive;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* ===================================
   Animation Keyframes
   =================================== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-delay-1 {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.animate-fade-in-delay-2 {
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

/* Bounce Animation for Scroll Indicator */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Hero Section Specific Styles */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0082FB 0%, #0064E0 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 130, 251, 0.1) 0%, rgba(0, 100, 224, 0.1) 100%);
  pointer-events: none;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: opacity 1.5s ease-out;
}

.hero-video.fade-out {
  opacity: 0;
}

/* Hero Text - Hidden initially, fade in after video */
.hero-text-hidden {
  opacity: 0;
  transition: opacity 1.5s ease-in;
}

.hero-text-visible {
  opacity: 1;
}

/* ===================================
   Navigation Bar Styles
   =================================== */

/* Sticky Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Navigation Link Styles */
.nav-link {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  color: var(--color-dark);
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary) !important;
}

/* Mobile Navigation */
#mobile-menu {
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

#mobile-menu.show {
  opacity: 1;
}

.mobile-nav-link {
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  display: block;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: 0.375rem;
}

.mobile-nav-link:hover {
  background-color: var(--color-light);
  color: var(--color-primary) !important;
}

.mobile-nav-link.active {
  background-color: rgba(0, 130, 251, 0.1);
  color: var(--color-primary) !important;
  font-weight: 600;
}

/* Language Toggle Button */
#lang-toggle {
  transition: all 0.3s ease;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

#lang-toggle:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ===================================
   Hero Section Styles
   =================================== */

/* Scroll Indicator Styles */
.scroll-indicator {
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.scroll-indicator:hover {
  opacity: 1 !important;
}

/* ===================================
   Responsive Design Breakpoints
   =================================== */

/* Mobile Devices (< 768px) */
@media (max-width: 767px) {
  /* Enhanced scroll snap on mobile for better section focus */
  body {
    scroll-snap-type: y mandatory;
  }
  
  section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
  }
  
  /* Adjust sections that don't need full height on mobile */
  #products,
  #contact {
    min-height: auto;
    scroll-snap-align: start;
  }
  
  /* Typography - Adjust hero section text sizes */
  .brand-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }
  
  .subtitle {
    font-size: 1.25rem !important;
    line-height: 1.4;
  }
  
  .description {
    font-size: 1rem !important;
    line-height: 1.6;
  }
  
  .section-title {
    font-size: 2rem !important;
  }
  
  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none !important;
  }
  
  /* Fix video to fit entire screen on mobile */
  .hero-video {
    object-fit: contain;
    width: 100%;
    height: 100%;
    min-width: auto;
    min-height: auto;
  }
  
  /* Mobile Navigation - Vertical stacking */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
  
  #mobile-menu.show {
    max-height: 500px;
  }
  
  .mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: left;
  }
  
  /* Touch-friendly button sizes (minimum 44x44px) */
  button,
  .btn-primary,
  .btn-secondary,
  a.btn-primary,
  a.btn-secondary {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  #mobile-menu-button {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
  }
  
  #lang-toggle {
    min-height: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Navigation links touch-friendly */
  .nav-link,
  .mobile-nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
  }
  
  /* Product cards - Single column on mobile */
  #products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  /* Adjust padding for mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  /* Single column grids on mobile */
  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  /* Hero section adjustments */
  .hero-section,
  #home.hero-section {
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 2rem;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
  }
  
  /* Hero section text color on mobile */
  #home h1,
  #home .brand-title,
  #home .subtitle,
  #home .description,
  #home p {
    color: #0082FB !important;
  }
  
  /* About section cards */
  .vision-mission-grid,
  .core-values-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Contact section cards */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Footer adjustments */
  footer .grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  
  footer .md\:text-right {
    text-align: center !important;
  }
  
  /* Increase touch target sizes for icons */
  svg {
    min-width: 24px;
    min-height: 24px;
  }
  
  /* Product card adjustments */
  .product-card {
    width: 100%;
  }
  
  .product-card img {
    width: 100%;
    height: auto;
  }
  
  /* Ensure text is readable on mobile */
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Adjust spacing for mobile */
  .mb-16 {
    margin-bottom: 2rem !important;
  }
  
  .mb-12 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-8 {
    margin-bottom: 1rem !important;
  }
  
  /* Navbar adjustments for mobile */
  #navbar .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .brand-name a {
    font-size: 1.5rem !important;
  }
}

/* Tablet Devices (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Typography */
  .brand-title {
    font-size: 3.5rem !important;
  }
  
  .subtitle {
    font-size: 1.75rem !important;
  }
  
  .section-title {
    font-size: 2.5rem !important;
  }
  
  /* Two-column grids on tablet */
  #products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Touch-friendly button sizes on tablet */
  button,
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Adjust spacing for tablet */
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Desktop Devices (>= 1024px) */
@media (min-width: 1024px) {
  /* Typography */
  .brand-title {
    font-size: 4.5rem;
  }
  
  .subtitle {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  /* Multi-column grids on desktop */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .core-values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Hover effects only on desktop */
  .product-card:hover {
    transform: translateY(-8px);
  }
}

/* ===================================
   Base Styles
   =================================== */

/* Smooth Scrolling with Snap Points */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem; /* Account for fixed navbar */
}

/* Section Scroll Snap for Better Focus */
body {
  scroll-snap-type: y proximity;
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

/* Body Styles */
body {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-dark);
  line-height: 1.6;
  scroll-snap-type: y proximity;
}

/* Enhanced Section Spacing for Better Focus */
section {
  min-height: 100vh;
  padding-top: 5rem;
  padding-bottom: 5rem;
  scroll-snap-align: start;
  position: relative;
}

/* Adjust specific sections that don't need full height */
#products {
  min-height: auto;
}

#contact {
  min-height: auto;
}

/* ===================================
   Product Card Specific Styles
   =================================== */

/* Product card description - Apply Gmarket Sans for Korean text */
.product-card .product-description {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Product card name - Apply Gmarket Sans, but keep Audiowide for DULITE text only */
.product-card .product-name {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Apply Audiowide font only to brand-text class (DULITE) */
.brand-text,
.product-card .brand-text {
  font-family: 'Audiowide', cursive !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Product card button - Apply Gmarket Sans for Korean text */
.product-card .btn-learn-more {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* ===================================
   Product Detail Page Specific Styles
   =================================== */

/* Product detail name - Apply Gmarket Sans, but keep Audiowide for DULITE text only */
#product-name {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Apply Audiowide font only to elements with brand-text class inside product detail */
#product-name .brand-text {
  font-family: 'Audiowide', cursive !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Product detail description - Apply Gmarket Sans for Korean text */
#product-description {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Product detail features list - Apply Gmarket Sans for Korean text */
#features-list li span {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Product detail specifications table - Apply Gmarket Sans for Korean text */
#specifications-table td {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Product detail applications list - Apply Gmarket Sans for Korean text */
#applications-list li span {
  font-family: 'Gmarket Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* General Transitions - Apply smooth transitions to all elements */
* {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, transform, box-shadow;
  transition-timing-function: ease;
  transition-duration: 0.3s;
}

/* Prevent transitions on page load */
.preload * {
  transition: none !important;
}

/* ===================================
   Utility Classes
   =================================== */

/* Background Colors */
.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-light {
  background-color: var(--color-light);
}

.bg-dark {
  background-color: var(--color-dark);
}

/* Text Colors */
.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-dark {
  color: var(--color-dark);
}

.text-white {
  color: var(--color-white);
}

/* Button Styles */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  border: 2px solid var(--color-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Scroll Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Product Card Fade-in Animation */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.product-card.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Hover Effects for Interactive Elements
   =================================== */

/* Product Card Hover Effects */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease-out;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 130, 251, 0.2);
}

.product-card img {
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

/* Button Hover Effects */
button,
.btn-primary,
.btn-secondary,
a.btn-primary,
a.btn-secondary {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

button:hover,
.btn-primary:hover,
a.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 130, 251, 0.4);
  background-color: var(--color-secondary);
}

.btn-secondary:hover,
a.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 130, 251, 0.3);
}

button:active,
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 130, 251, 0.2);
}

/* Navigation Link Hover Effects */
.nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Link Hover Effects */
a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--color-primary);
  opacity: 0.9;
}

/* Card Hover Effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

/* Icon Hover Effects */
.icon,
svg {
  transition: transform 0.3s ease, color 0.3s ease, fill 0.3s ease;
}

.icon:hover,
svg:hover {
  transform: scale(1.15);
  color: var(--color-primary);
}

/* Contact Card Hover Effects */
.contact-card {
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 130, 251, 0.2);
}

/* Input and Form Element Hover Effects */
input,
textarea,
select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--color-primary);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 130, 251, 0.1);
  outline: none;
}

/* Image Hover Effects */
img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Thumbnail Hover Effects */
.thumbnail {
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  opacity: 0.7;
}

.thumbnail:hover {
  transform: scale(1.05);
  opacity: 1;
  border-color: var(--color-primary);
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
}

/* Back Button Hover Effects */
#back-button,
.back-button {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#back-button:hover,
.back-button:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  transform: translateX(-5px);
}

/* Statistics Counter Hover Effects */
.stat-card,
.stats-grid > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover,
.stats-grid > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 130, 251, 0.15);
}

/* Core Values Card Hover Effects */
.core-values-grid > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.core-values-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 130, 251, 0.15);
  background-color: rgba(0, 130, 251, 0.02);
}

/* Vision/Mission Card Hover Effects */
.vision-mission-grid > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-mission-grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* Footer Link Hover Effects */
footer a {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* Loading Indicator Animation */
.loading-indicator,
#loading-indicator {
  transition: opacity 0.3s ease;
}

/* Hamburger Menu Button Hover Effects */
#mobile-menu-button {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#mobile-menu-button:hover {
  background-color: var(--color-light);
  transform: scale(1.05);
}

/* Smooth Transitions for All Interactive Elements */
button,
a,
input,
textarea,
select,
.card,
.product-card,
.contact-card,
.nav-link,
.mobile-nav-link,
.btn-primary,
.btn-secondary,
.icon,
svg,
img {
  transition-timing-function: ease;
  transition-duration: 0.3s;
}

/* Counter Animation Styles */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ===================================
   Product Detail Page Responsive Styles
   =================================== */

/* Product detail image constraints */
.product-detail-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Carousel image constraints */
#carousel img {
  max-height: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Carousel dot styling */
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot:hover {
  transform: scale(1.2);
}

/* Product Navigation Buttons */
.product-nav-btn {
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 130, 251, 0.3);
}

.product-nav-btn.active {
  box-shadow: 0 4px 12px rgba(0, 130, 251, 0.4);
}

.product-nav-btn:not(.active):hover {
  background-color: rgba(0, 130, 251, 0.1) !important;
  color: #0082FB !important;
}

/* Product photo section image */
.grid.md\\:grid-cols-2 img {
  max-height: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile product detail adjustments */
@media (max-width: 767px) {
  /* Product detail header */
  #product-name {
    font-size: 1.75rem !important;
  }
  
  #product-description {
    font-size: 1rem !important;
  }
  
  /* Product detail sections */
  .product-header {
    grid-template-columns: 1fr !important;
  }
  
  /* Thumbnail grid on mobile */
  #thumbnail-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  /* Tables on mobile */
  table {
    font-size: 0.875rem;
  }
  
  /* Back button */
  #back-button {
    width: 100%;
    justify-content: center;
  }
  
  /* Smaller images on mobile */
  .product-detail-image,
  #carousel img,
  .grid.md\\:grid-cols-2 img {
    max-height: 400px;
  }
  
  /* Smaller carousel dots on mobile */
  .carousel-dot {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Tablet product detail adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  #product-name {
    font-size: 2rem !important;
  }
  
  #thumbnail-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Product Detail Page - Wide Screen Margins */
@media (min-width: 1024px) {
  .product-detail-content {
    margin-left: 4rem;
    margin-right: 4rem;
  }
}

@media (min-width: 1280px) {
  .product-detail-content {
    margin-left: 8rem;
    margin-right: 8rem;
  }
}

/* ===================================
   Brand Section Specific Styles
   =================================== */

/* Backdrop blur support */
.backdrop-blur-lg {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Gradient backgrounds for benefit cards */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Brand section decorative elements animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ===================================
   Sustainability Section Specific Styles
   =================================== */

/* Hover effects for sustainability cards */
#sustainability .bg-white:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 130, 251, 0.2);
}

/* Gradient card hover effects */
.bg-gradient-to-br:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Mobile Responsive for New Sections
   =================================== */

@media (max-width: 767px) {
  /* Brand section adjustments */
  #brand .bg-white.bg-opacity-10 {
    padding: 1.5rem;
  }
  
  #brand h2 {
    font-size: 2rem !important;
  }
  
  #brand h3 {
    font-size: 1.5rem !important;
  }
  
  #brand .grid.md\\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  /* Sustainability section adjustments */
  #sustainability h2 {
    font-size: 2rem !important;
  }
  
  #sustainability .text-xl {
    font-size: 1.125rem !important;
  }
  
  #sustainability .grid.md\\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  #sustainability .grid.lg\\:grid-cols-4 {
    grid-template-columns: 1fr !important;
  }
  
  /* Reduce padding on mobile for new sections */
  #brand,
  #sustainability {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Tablet adjustments for new sections */
@media (min-width: 768px) and (max-width: 1023px) {
  #sustainability .grid.lg\\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===================================
   Enhanced Section Styling for Better Visual Flow
   =================================== */

/* Hero Section - Full viewport with gradient */
#home {
  min-height: 100vh;
  scroll-snap-align: start;
}

/* Brand Section - Blue gradient with enhanced spacing */
#brand {
  background: linear-gradient(135deg, #0082FB 0%, #0064E0 100%);
  position: relative;
}

/* Sustainability Section - Light gradient transition */
#sustainability {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F8 100%);
}

/* About Section - Subtle gray gradient */
#about {
  background: linear-gradient(180deg, #F1F5F8 0%, #E5E9ED 100%);
}

/* Products Section - Clean white background */
#products {
  background: #FFFFFF;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Contact Section - Dark gradient for contrast */
#contact {
  background: linear-gradient(180deg, #2E3A44 0%, #1C2B33 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Section Transitions - Smooth color flow */
section + section {
  position: relative;
}

/* Add subtle shadow between sections for depth */
section:not(#home)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

/* Enhanced color harmony for cards */
.bg-white {
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Improved gradient cards */
.bg-gradient-to-br.from-blue-500 {
  background: linear-gradient(135deg, #4096FF 0%, #0082FB 100%);
}

.bg-gradient-to-br.from-green-500 {
  background: linear-gradient(135deg, #52C41A 0%, #389E0D 100%);
}

.bg-gradient-to-br.from-purple-500 {
  background: linear-gradient(135deg, #9254DE 0%, #722ED1 100%);
}

.bg-gradient-to-br.from-orange-500 {
  background: linear-gradient(135deg, #FA8C16 0%, #D46B08 100%);
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  
  body {
    scroll-snap-type: none;
  }
  
  section {
    scroll-snap-align: none;
  }
}

/* ===================================
   Enhanced Visual Harmony & Section Transitions
   =================================== */

/* Smooth color transitions between sections */
section {
  transition: background-color 0.5s ease;
}

/* Improved spacing for better section focus */
.section-spacing {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* Enhanced container max-width for better readability */
.container {
  max-width: 1280px;
}

/* Improved card shadows for depth perception */
.card-shadow-sm {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.card-shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.card-shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Enhanced blue color harmony */
.text-blue-primary {
  color: #0082FB;
}

.bg-blue-primary {
  background-color: #0082FB;
}

.bg-blue-light {
  background-color: #E6F4FF;
}

.border-blue-primary {
  border-color: #0082FB;
}

/* Improved gray scale harmony */
.bg-gray-light {
  background-color: #F9FAFB;
}

.bg-gray-medium {
  background-color: #E5E9ED;
}

.text-gray-dark {
  color: #1C2B33;
}

/* Section-specific enhancements */
#brand .bg-white {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

#sustainability .bg-white {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 130, 251, 0.1);
}

#about .bg-white {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Improved gradient overlays */
.gradient-overlay-blue {
  background: linear-gradient(135deg, rgba(0, 130, 251, 0.05) 0%, rgba(0, 100, 224, 0.05) 100%);
}

.gradient-overlay-gray {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.02) 100%);
}

/* Enhanced focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #0082FB;
  outline-offset: 2px;
}

/* Smooth scroll behavior with offset for fixed navbar */
@media (min-width: 768px) {
  html {
    scroll-padding-top: 5rem;
  }
}

/* Tablet-specific section adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  body {
    scroll-snap-type: y proximity;
  }
}

/* Desktop-specific enhancements */
@media (min-width: 1024px) {
  section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  /* Subtle parallax effect for depth */
  .parallax-light {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Color harmony for interactive elements */
.hover-blue:hover {
  color: #0082FB !important;
  transition: color 0.3s ease;
}

.hover-bg-blue:hover {
  background-color: rgba(0, 130, 251, 0.05) !important;
  transition: background-color 0.3s ease;
}

/* Improved text contrast for readability */
.text-contrast-high {
  color: #1C2B33;
  font-weight: 500;
}

.text-contrast-medium {
  color: #4A5661;
  font-weight: 400;
}

.text-contrast-low {
  color: #9CA8B3;
  font-weight: 400;
}

/* Enhanced section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 130, 251, 0.2) 50%, transparent 100%);
  margin: 3rem 0;
}

/* Improved animation timing for smoother transitions */
.transition-smooth {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-fast {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-slow {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
