@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #008080 !important;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f4f4f 0%, #1a6b6b 50%, #2d7f7f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: #ffffff;
}

.loading-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #1a3a3a, #2d5a5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 2rem auto;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #1a3a3a, #2d5a5a);
  border-radius: 2px;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

#scene-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #008080 !important;
}

.content-sections {
  position: relative;
  z-index: 2;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

#hero.section {
  background: transparent !important;
  padding: 0;
}

#hero {
  background: transparent !important;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  padding: 0 1rem;
  text-align: center;
  z-index: 20;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.floating-logo {
  position: relative;
  z-index: 25;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.company-logo {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  color: #ffffff;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: visible;
  text-overflow: visible;
  text-shadow: 
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
  transform: translateZ(20px);
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.company-logo .letter {
  display: inline-block;
  transform-origin: center bottom;
  will-change: transform;
  cursor: pointer;
  transform: translateY(0) translateZ(20px) rotateX(0deg) rotateY(0deg);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 3px 6px rgba(0, 0, 0, 0.4);
  isolation: isolate;
  contain: layout style paint;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  text-overflow: visible;
  font-weight: 500;
  text-shadow: 
    0 0 15px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(0, 0, 0, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
  transform: translateZ(15px);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease-out, text-shadow 0.2s ease-out;
  will-change: transform;
}

.tagline:hover {
  transform: translateZ(25px) translateY(-5px);
  text-shadow: 
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.6),
    0 4px 8px rgba(0, 0, 0, 0.9);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
}




#contact {
  background: #f5f6f7;
  color: #1e1e1e;
}

.contact-content {
  max-width: 1200px;
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.contact-content h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #1e293b;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #4c4c4c;
  line-height: 1.7;
}

.contact-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.highlight-item {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #008080;
}

.highlight-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
  font-weight: 600;
}

.highlight-item p {
  color: #4c4c4c;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #008080;
}

.contact-item .icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #008080;
  color: #ffffff;
  border-radius: 50%;
}

.contact-item h4 {
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
  color: #4c4c4c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #008080;
}

.phone-section .phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-section .phone-numbers a {
  display: block;
  color: #008080;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phone-section .phone-numbers a:hover {
  color: #006666;
}

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.header-logo span {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.05em;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #1a3a3a;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  touch-action: manipulation; /* Improve touch responsiveness */
  min-width: 44px; /* Minimum touch target size */
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #1e293b;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Removed CTA button styles since it's no longer needed */

/* Footer */
.footer {
  background: #0f172a;
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
  }
}

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

.scroll-dot {
  width: 8px;
  height: 8px;
  background: #1a3a3a;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .floating-logo {
    padding: 2rem;
  }
}

/* Mobile-specific hero layout */
@media (max-width: 768px) {
  #hero {
    height: 60vh;
    min-height: 60vh;
    background: transparent;
  }

  .hero-content {
    width: 90%;
    padding: 0 0.5rem;
    position: relative;
    transform: translateY(-10vh); /* Move content up slightly */
  }

  .company-logo {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    letter-spacing: 0.05em;
  }

  .tagline {
    font-size: clamp(0.8rem, 2.2vw, 1rem);
  }

  .floating-logo {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .header-content {
    padding: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header-logo {
    flex: 1;
    text-align: left;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .header-nav.active {
    right: 0;
  }

  .header-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .header-nav a:hover {
    background: #008080;
    color: white;
    transform: translateX(-5px);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section {
    padding: 1rem;
  }

  .contact-content h2 {
    font-size: 2rem;
  }

  /* Improve 3D scene for mobile */
  #scene-container {
    height: 100%;
  }
}

/* Mobile-specific compact layout - REMOVED - using new tagline system above */

/* Very small mobile screens - REMOVED - using new tagline system above */

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-content {
    top: 60%;
  }

  .company-logo {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  /* Removed conflicting .tagline rule - using responsive tagline system above */

}

/* Header styles for mobile */
@media (max-width: 360px) {
  .header-content {
    padding: 0.5rem 0.75rem;
    justify-content: space-between;
    align-items: center;
  }

  .header-logo span {
    font-family: "Oswald", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }

  .header-nav {
    display: flex;
    gap: 0.5rem;
  }

  .header-nav a {
    font-size: 0.8rem;
  }
}

/* Mobile-specific hero content - REMOVED - using tagline switching instead */

/* Responsive hero content styles */
@media (max-width: 600px) {
  .company-logo {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    letter-spacing: 0.03em;
  }

  .tagline {
    font-size: clamp(0.8rem, 2.2vw, 1rem);
  }

}

@media (max-width: 480px) {
  .company-logo {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.02em;
  }

  .tagline {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
  }

  .floating-logo {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .company-logo {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    letter-spacing: 0.01em;
  }

  .tagline {
    font-size: clamp(0.6rem, 1.8vw, 0.8rem);
  }

  .floating-logo {
    padding: 0.8rem;
  }
}

@media (max-width: 320px) {
  .company-logo {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.01em;
  }

  .tagline {
    font-size: clamp(0.5rem, 1.5vw, 0.7rem);
  }

  .floating-logo {
    padding: 0.6rem;
  }
}

/* Company Profile Section */
#company-profile {
  background: #f8fafc;
  color: #1e293b;
}

.company-profile-content {
  max-width: 1200px;
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.company-profile-content h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #1e293b;
  font-weight: 700;
}

.company-profile-grid {
  display: grid;
  gap: 3rem;
}

.company-intro h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1a3a3a;
  font-weight: 600;
}

.company-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #475569;
}

.company-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.highlight-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #1e293b;
  font-weight: 600;
}

.highlight-card p {
  color: #64748b;
  line-height: 1.6;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1a3a3a, #2d5a5a);
  border-radius: 16px;
  color: white;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Product Specifications Section */
#product-specs {
  background: #ffffff;
  color: #1e293b;
}

.product-specs-content {
  max-width: 1200px;
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.7s forwards;
}

.product-specs-content h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #1e293b;
  font-weight: 700;
}

.product-specs-grid {
  display: grid;
  gap: 3rem;
}

.product-category {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.product-category h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #1a3a3a;
  font-weight: 600;
  text-align: center;
}

.product-details {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}

.product-image-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #1a3a3a, #2d5a5a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.product-gallery {
  width: 300px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.gallery-btn {
  background: rgba(26, 58, 58, 0.8);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: rgba(26, 58, 58, 1);
  transform: scale(1.1);
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  overflow-x: auto;
}

.gallery-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-thumb:hover {
  border-color: #008080;
  transform: scale(1.05);
}

.gallery-thumb.active {
  border-color: #1a3a3a;
  box-shadow: 0 2px 8px rgba(26, 58, 58, 0.3);
}

.product-specs-list {
  display: grid;
  gap: 1rem;
}

.spec-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.spec-label {
  font-weight: 600;
  color: #1e293b;
  min-width: 120px;
}

.spec-value {
  color: #475569;
  flex: 1;
}

/* Color Options */
.color-options {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.color-options h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a3a3a;
  font-weight: 600;
  text-align: center;
}

.color-options p {
  text-align: center;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.color-swatch {
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.color-swatch:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Color swatch specific colors */
.color-swatch[data-color="5005"] {
  background: #d32f2f;
}
.color-swatch[data-color="1028"] {
  background: #ff9800;
}
.color-swatch[data-color="7034"] {
  background: #9e9e9e;
}
.color-swatch[data-color="1013"] {
  background: #8d6e63;
}
.color-swatch[data-color="8033"] {
  background: #795548;
}
.color-swatch[data-color="9016"] {
  background: #fafafa;
  color: #333;
  text-shadow: none;
}
.color-swatch[data-color="8005"] {
  background: #cd7f32;
}
.color-swatch[data-color="3020"] {
  background: #1976d2;
}
.color-swatch[data-color="7043"] {
  background: #424242;
}
.color-swatch[data-color="570"] {
  background: #d4af37;
}
.color-swatch[data-color="847"] {
  background: #212121;
}

/* Craftsmanship Section */
.craftsmanship-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  min-height: auto;
  padding: 4rem 2rem;
}

.craftsmanship-content {
  max-width: 1400px;
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.craftsmanship-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1a3a3a;
  font-weight: 700;
}

.section-intro {
  font-size: 1.2rem;
  text-align: center;
  color: #475569;
  max-width: 800px;
  margin: 0 auto 4rem auto;
  line-height: 1.7;
}

.craftsmanship-galleries {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.craft-category {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.craft-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.craft-header {
  padding: 2.5rem 2rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #1a3a3a 0%, #2d5a5a 100%);
  color: white;
}

.craft-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.craft-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Immersive Gallery Styles */
.immersive-gallery {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  touch-action: pan-x; /* Enable horizontal touch scrolling */
}

.gallery-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  touch-action: pan-x; /* Enable touch scrolling */
}

.gallery-slide {
  flex: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  transition: transform 0.3s ease;
  will-change: transform; /* Optimize for animations */
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  text-align: center;
  color: #64748b;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.placeholder-text {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.8;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

.gallery-slide .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.slide-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Gallery Navigation */
.gallery-navigation {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.nav-dots {
  display: flex;
  gap: 8px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
  touch-action: manipulation; /* Improve touch responsiveness */
  min-width: 44px; /* Minimum touch target size */
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-dot.active {
  background: #1a3a3a;
  transform: scale(1.2);
  border-color: #1a3a3a;
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}


/* Auto-scroll indicator */
.gallery-slide.active {
  z-index: 2;
}

/* Colors Section */
.colors-section {
  background: linear-gradient(135deg, #1a3a3a 0%, #2d5a5a 100%);
  color: white;
  min-height: auto;
  padding: 4rem 2rem;
}

.colors-content {
  max-width: 1400px;
  width: 100%;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.colors-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: white;
  font-weight: 700;
}

.colors-content .section-intro {
  color: rgba(255, 255, 255, 0.9);
}

.color-categories {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
}

.color-category {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.color-header {
  padding: 2.5rem 2rem 1.5rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.color-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
}

.color-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

.color-showcase {
  padding: 2rem;
}

.color-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.color-display-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 120px;
  width: 100%;
  box-sizing: border-box;
}

.color-display-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

.color-sample {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.color-display-item:hover .color-sample {
  transform: scale(1.05);
}

.color-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
  font-weight: 600;
}

.color-code {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.color-info p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

/* Finish Technology Section */
.finish-tech .color-showcase {
  padding: 2rem;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 15px;
}

.tech-feature {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.tech-feature:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tech-feature h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 600;
}

.tech-feature p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

/* Color sample specific colors - Accurate RAL Colors */
.color-display-item[data-color="5005"] .color-sample {
  background: #1e2460;
} /* RAL 5005 Signal Blue */
.color-display-item[data-color="1028"] .color-sample {
  background: #f5a200;
} /* RAL 1028 Melon Yellow */
.color-display-item[data-color="7034"] .color-sample {
  background: #8f8b66;
} /* RAL 7034 Yellow Grey */
.color-display-item[data-color="1013"] .color-sample {
  background: #e3d9c6;
} /* RAL 1013 Oyster White */
.color-display-item[data-color="8033"] .color-sample {
  background: #7d4f39;
} /* RAL 8033 Clay Brown */
.color-display-item[data-color="9016"] .color-sample {
  background: #f1f0ea;
} /* RAL 9016 Traffic White */
.color-display-item[data-color="8005"] .color-sample {
  background: #633a34;
} /* RAL 8005 Fawn Brown */
.color-display-item[data-color="3020"] .color-sample {
  background: #c1121c;
} /* RAL 3020 Traffic Red */
.color-display-item[data-color="7043"] .color-sample {
  background: #4e5754;
} /* RAL 7043 Traffic Grey B */
.color-display-item[data-color="570"] .color-sample {
  background: #ffcc00;
} /* RAL 1003 Signal Yellow (Standard Yellow) */
.color-display-item[data-color="847"] .color-sample {
  background: #1c1c1c;
} /* RAL 9005 Jet Black (Graphite Black) */

/* Responsive Design for Colors */
@media (max-width: 768px) {
  .colors-section {
    padding: 2rem 1rem;
  }

  .colors-content h2 {
    font-size: 2.5rem;
  }

  .color-categories {
    gap: 2rem;
  }

  .color-header {
    padding: 1.5rem 1rem;
  }

  .color-header h3 {
    font-size: 1.5rem;
  }

  .color-display-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .color-display-item {
    padding: 1rem;
    gap: 1rem;
  }

  .color-sample {
    width: 60px;
    height: 60px;
  }

  .tech-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-feature {
    padding: 1.5rem;
  }
}

/* Responsive Design for Craftsmanship */
@media (max-width: 768px) {
  .craftsmanship-section {
    padding: 2rem 1rem;
  }

  .craftsmanship-content h2 {
    font-size: 2.5rem;
  }

  .section-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .craftsmanship-galleries {
    gap: 2rem;
  }

  .craft-header {
    padding: 1.5rem 1rem;
  }

  .craft-header h3 {
    font-size: 1.5rem;
  }

  .craft-header p {
    font-size: 0.95rem;
  }

  .immersive-gallery {
    height: 300px;
  }

  .slide-overlay {
    padding: 1rem;
    transform: translateY(0); /* Always show on mobile */
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.8));
  }

  .slide-overlay h4 {
    font-size: 1.1rem;
  }

  .slide-overlay p {
    font-size: 0.85rem;
  }


  .nav-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .craftsmanship-content h2 {
    font-size: 2rem;
  }

  .section-intro {
    font-size: 0.9rem;
  }

  .craft-header h3 {
    font-size: 1.3rem;
  }

  .craft-header p {
    font-size: 0.9rem;
  }

  .immersive-gallery {
    height: 250px;
  }

  .slide-overlay {
    padding: 0.75rem;
  }

  .slide-overlay h4 {
    font-size: 1rem;
  }

  .slide-overlay p {
    font-size: 0.8rem;
  }
}

/* Responsive Design for new sections */
@media (max-width: 768px) {
  .company-profile-content h2,
  .product-specs-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .company-intro h3,
  .product-category h3,
  .color-options h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .company-intro p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .company-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .highlight-card {
    padding: 1.25rem;
  }

  .highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .highlight-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .company-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .product-details {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-image-placeholder {
    margin: 0 auto;
  }

  .product-gallery {
    width: 280px;
    margin: 0 auto;
  }

  .gallery-main {
    height: 200px;
  }

  .gallery-thumb {
    width: 50px;
    height: 35px;
  }

  .spec-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .spec-label {
    min-width: auto;
    font-size: 0.9rem;
  }

  .spec-value {
    font-size: 0.9rem;
  }

  .color-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .contact-info h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .highlight-item h4 {
    font-size: 1.1rem;
  }

  .highlight-item p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .contact-item h4 {
    font-size: 1rem;
  }

  .contact-item a,
  .contact-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .company-stats {
    grid-template-columns: 1fr;
  }

  .color-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2rem;
  }
}
