/* The Toilet Partition - Global Styles */

:root {
  --primary: #004B8D; /* Corporate Blue */
  --secondary: #00A3E0; /* Sky Blue */
  --accent: #F0F4F8; /* Deeper Blue-tinted Slate */
  --text-dark: #121A21;
  --text-light: #4A5568;
  --bg-white: #FFFFFF;
  --bg-slate: #F8FAFC;
  --border-light: #E2E8F0;
  --premium-blue: #0A2E50;
}

/* Typography */
body {
  font-family: 'Sarabun', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Sarabun', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--primary);
}

/* Welcraft Style UI Components */
.premium-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 75, 141, 0.08);
  border-color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #003366;
  box-shadow: 0 10px 15px -3px rgba(0, 75, 141, 0.3);
}

.gradient-blue {
  background: linear-gradient(135deg, #004B8D 0%, #003366 100%);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
}

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

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Custom Hover Effects */
.hover-premium {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(18, 64, 92, 0.1), 0 8px 10px -6px rgba(18, 64, 92, 0.1);
}

/* Sticky Header Scroll Logic */
.header-scrolled {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0 !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Background Patterns to reduce "whiteness" */
.bg-pattern-dots {
  background-image: radial-gradient(#004B8D 0.5px, transparent 0.5px);
  background-size: 20px 20px;
  background-color: var(--bg-white);
  opacity: 0.05;
}

.bg-pattern-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 75, 141, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 75, 141, 0.03) 1px, transparent 1px);
}

.bg-premium-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F4F8 100%);
}

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
  width: 100px;
  margin: 0 auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
