/* Custom Styles for Seriart Co., Ltd Website */

/* Base Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* Typography Utilities */
.text-gradient-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f2c94c 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Styles */
.btn-primary-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b8992e 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.2);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
}

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid white;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: white;
  color: #093AA7;
  transform: translateY(-2px);
}

/* Animation Classes */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

/* Navigation Styles */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37 0%, #f2c94c 100%);
  transition: width 0.3s ease;
}

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

/* Hamburger Animation */
.hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Animation */
.mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.hidden {
  display: none;
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ========== Additional Utility Classes ========== */
.text-medium {
  font-weight: 500;
}

.text-caption {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #093AA7 0%, #062d82 100%);
}

.bg-gradient-to-accent {
  background: linear-gradient(135deg, #d4af37 0%, #f2c94c 100%);
}

.text-body-lg {
  font-size: 18px;
  line-height: 1.6;
}

/* ========== Trust Badges Bar Styles ========== */
.badge-item {
  gap: 60px;
}

.badge-item:hover .w-10.h-10 {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ========== Business Pillars Card Styles ========== */
.pillar-card {
  font-family: 'Inter', sans-serif;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pillar-icon {
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* ========== About Preview Section Styles ========== */
.about-image-wrapper {
  position: relative;
}

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

.about-image-wrapper:hover .about-image-frame {
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  border-color: #d4af37;
}

.stat-number {
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

.learn-more {
  position: relative;
}

.learn-more::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #093AA7;
  transition: width 0.3s ease;
}

.learn-more:hover::after {
  width: 100%;
}

/* ========== Services Highlights Styles ========== */
.service-item {
  font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.service-icon:hover {
  transform: rotate(-5deg) scale(1.05);
  transition: all 0.3s ease;
}

/* ========== Video Gallery Styles ========== */
.video-card {
  font-family: 'Inter', sans-serif;
}

.video-thumbnail {
  position: relative;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.play-overlay:hover {
  background: #d4af37;
}

/* ========== Contact Form Styles ========== */
.contact-form {
  backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

/* ========== Responsive Breakpoints ========== */
@media (max-width: 1024px) {
  /* Trust badges gap on tablet */
  .badge-item {
    gap: 40px;
  }
  
  /* Pillar cards padding */
  .pillar-card {
    padding: 40px 30px;
  }
  
  /* Stats layout */
  .stats-row {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  /* Trust badges on mobile */
  .badge-item {
    gap: 20px;
  }
  
  /* Business section padding */
  section[id="business"] {
    padding: 60px 0;
  }
  
  /* Pillar cards single column */
  .pillar-card {
    padding: 30px 20px;
  }
  
  .pillar-icon {
    font-size: 3rem;
  }
  
  /* About preview stack */
  .about-image-wrapper {
    order: 1;
  }
  
  .about-text {
    order: 2;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  /* Service cards mobile */
  .service-item {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  /* Video grid mobile */
  .video-thumbnail {
    height: 240px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 30px 20px;
  }
  
  .submit-btn {
    padding: 14px 24px;
  }
}

/* Tablet Media Queries */
@media (min-width: 768px) and (max-width: 1023px) {
  .badge-item {
    gap: 40px;
  }
  
  h2.text-h2 {
    font-size: 36px;
  }
}

