/* ============================================
   Auto Winx - Professional Car Tinting Service
   Modern, International Design
   ============================================ */

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

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #16213e;
  --accent-color: #0f3460;
  --gold: #ffd700;
  --gold-light: #ffed4e;
  --gold-dark: #d4af37;
  --platinum: #e5e4e2;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;
  --bg-dark: #0a0a0a;
  --bg-card: #1e1e2e;
  --bg-glass: rgba(30, 30, 46, 0.4);
  --border-color: rgba(255, 215, 0, 0.3);
  --border-luxury: rgba(255, 215, 0, 0.5);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 5px 15px rgba(255, 215, 0, 0.1);
  --shadow-luxury: 0 20px 60px rgba(255, 215, 0, 0.15);
  --gradient-luxury: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 237, 78, 0.05), rgba(255, 215, 0, 0.1));
  --gradient-premium: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-light);
}

/* Navigation */
nav {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5),
              0 0 1px rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

nav:hover {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6),
              0 0 2px rgba(255, 215, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
}

.logo:hover {
  background: rgba(255, 215, 0, 0.05);
  transform: scale(1.02);
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.15));
  transition: all 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 2px 6px rgba(255, 215, 0, 0.25));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-menu li a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
  width: 80%;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.2rem;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.lang-switcher button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-switcher button:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
}

.lang-switcher button.active {
  background: var(--gold);
  color: var(--bg-dark);
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.15);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
  filter: brightness(0.4) contrast(1.1);
}

/* Hero background images from inline style */
.hero[style*="--hero-bg-image"]::before {
  background-image: var(--hero-bg-image);
}

/* Hero background images from inline style */
.hero[style*="background-image"]::before {
  background-image: var(--hero-bg-image);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.btn-primary::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;
}

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

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-3px);
  box-shadow: var(--shadow-luxury);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Container & Sections */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

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

.section {
  padding: 6rem 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-luxury);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.section-title h2 {
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 3rem;
  border-radius: 25px;
  border: 1px solid var(--border-luxury);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-luxury);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

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

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-luxury);
  border-color: var(--gold);
  border-width: 2px;
}

.service-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
  transition: all 0.5s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(360deg);
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

.service-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Statistics */
.stats-section {
  background: var(--gradient-premium);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05), transparent);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.stat-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid var(--border-luxury);
  border-radius: 25px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-luxury);
  border-color: var(--gold);
  border-width: 3px;
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4/3;
  border: 2px solid var(--border-luxury);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-luxury);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
  border-color: var(--gold);
  border-width: 3px;
  box-shadow: var(--shadow-luxury);
  transform: translateY(-10px) scale(1.03);
}

.gallery-item:hover::before {
  opacity: 0.3;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 2.5rem;
  border-radius: 25px;
  border: 1px solid var(--border-luxury);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 8rem;
  color: rgba(255, 215, 0, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow-luxury);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.testimonial-author {
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-rating {
  color: var(--gold);
  margin-top: 0.5rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.price-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

.price-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.price-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 0.25rem;
}

.contact-item h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Map */
.map-section {
  padding: 5rem 0;
}

.map-container {
  margin-top: 3rem;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.map-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

/* Footer */
footer {
  background: var(--primary-color);
  padding: 3rem 0 1.5rem;
  border-top: 2px solid var(--gold);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Floating LINE Button */
.floating-line-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #00C300, #00E676);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 195, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
}

.floating-line-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 17px rgba(0, 195, 0, 0.3);
}

.line-icon {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #00C300;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-logo {
  animation: pulse 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    padding: 0.6rem 1rem;
  }

  .logo img {
    height: 45px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 215, 0, 0.2);
  }

  .lang-switcher {
    margin-left: 0.5rem;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: scale(1);
  }

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

  .floating-line-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Hide scroll velocity indicator on mobile */
  .scroll-velocity {
    display: none;
  }
}

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

  .section {
    padding: 3rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
  display: none;
}

/* Facebook Page Section */
.fb-page {
  margin: 0 auto;
  overflow: hidden;
}

.fb-page iframe,
.facebook-embed iframe {
  border: none;
  overflow: hidden;
  width: 100% !important;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .fb-page,
  .facebook-embed {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .fb-page[data-width],
  .facebook-embed iframe {
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .facebook-embed iframe {
    height: 500px !important;
  }
}

/* ============================================
   Scrollytelling Animations
   ============================================ */

/* Base animation states */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
  opacity: 1;
}

/* Fade In */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.animated {
  opacity: 1;
}

/* Slide Up */
.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Down */
.slide-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-down.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Left */
.slide-left {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Slide Right */
.slide-right {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* Zoom In */
.zoom-in {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 1s ease, transform 1s ease;
}

.zoom-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* Rotate In */
.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.animated {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }
.stagger-9 { transition-delay: 0.9s; }
.stagger-10 { transition-delay: 1s; }
.stagger-11 { transition-delay: 1.1s; }
.stagger-12 { transition-delay: 1.2s; }

/* Parallax Effect */
.parallax-slow {
  transition: transform 0.1s ease-out;
}

.parallax-medium {
  transition: transform 0.15s ease-out;
}

.parallax-fast {
  transition: transform 0.2s ease-out;
}

/* Text Reveal Animation */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-reveal.animated span {
  opacity: 1;
  transform: translateY(0);
}

/* Progress Bar Animation */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.25);
}

/* Hero Parallax Text */
.hero-content h1,
.hero-content p {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Section Title Animation */
.section-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-title.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Card Animations */
.service-card,
.testimonial-card,
.gallery-item,
.stat-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animated,
.testimonial-card.animated,
.gallery-item.animated,
.stat-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation Enhancement */
.stat-number {
  transition: transform 0.3s ease;
}

.stat-card.animated .stat-number {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Gallery Stagger Effect */
.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }
.gallery-item:nth-child(5) { transition-delay: 0.5s; }
.gallery-item:nth-child(6) { transition-delay: 0.6s; }
.gallery-item:nth-child(7) { transition-delay: 0.7s; }
.gallery-item:nth-child(8) { transition-delay: 0.8s; }
.gallery-item:nth-child(9) { transition-delay: 0.9s; }
.gallery-item:nth-child(10) { transition-delay: 1s; }
.gallery-item:nth-child(11) { transition-delay: 1.1s; }
.gallery-item:nth-child(12) { transition-delay: 1.2s; }

/* Service Card Stagger */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

/* Testimonial Card Stagger */
.testimonial-card:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card:nth-child(3) { transition-delay: 0.3s; }
.testimonial-card:nth-child(4) { transition-delay: 0.4s; }
.testimonial-card:nth-child(5) { transition-delay: 0.5s; }
.testimonial-card:nth-child(6) { transition-delay: 0.6s; }
.testimonial-card:nth-child(7) { transition-delay: 0.7s; }
.testimonial-card:nth-child(8) { transition-delay: 0.8s; }

/* Stat Card Stagger */
.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.2s; }
.stat-card:nth-child(3) { transition-delay: 0.3s; }
.stat-card:nth-child(4) { transition-delay: 0.4s; }

/* ============================================
   Advanced Scrollytelling Features
   ============================================ */

/* Magnetic Buttons */
.magnetic-btn {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
  transform: scale(1.05);
}

/* 3D Card Transform */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  perspective: 1000px;
}

.card-3d:hover {
  transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

.service-card.card-3d,
.testimonial-card.card-3d {
  transform-style: preserve-3d;
}

/* Blur Reveal Effect */
.blur-reveal {
  filter: blur(10px);
  opacity: 0;
  transition: filter 1s ease, opacity 1s ease;
}

.blur-reveal.animated {
  filter: blur(0);
  opacity: 1;
}

/* Gradient Text Reveal */
.gradient-reveal {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
  animation: gradient-shift 3s ease infinite;
}

.gradient-reveal.animated {
  opacity: 1;
  transform: translateX(0);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Split Text Animation */
.split-text {
  overflow: hidden;
}

.split-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotateX(90deg);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.split-text.animated span {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

/* Glow Effect on Scroll */
.glow-on-scroll {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.glow-on-scroll.in-view {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2),
              0 0 30px rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
}

/* Section Divider with Animation */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--gold) 50%, 
    transparent
  );
  margin: 4rem 0;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 1s ease, transform 1s ease;
}

.section-divider.animated {
  opacity: 1;
  transform: scaleX(1);
}

/* Floating Animation */
.float-animation {
  animation: float 6s ease-in-out infinite;
}

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

/* Pulse Glow */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                0 0 30px rgba(255, 215, 0, 0.15);
  }
}

/* Scroll Velocity Indicator */
.scroll-velocity {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 4px;
  height: 100px;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 2px;
  z-index: 999;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

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

.scroll-velocity > div {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 2px;
  transition: height 0.1s ease;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.25);
}

/* Advanced Parallax Layers */
.parallax-layer-1 { transition: transform 0.1s ease-out; }
.parallax-layer-2 { transition: transform 0.2s ease-out; }
.parallax-layer-3 { transition: transform 0.3s ease-out; }
.parallax-layer-4 { transition: transform 0.4s ease-out; }

/* Image Reveal with Mask */
.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  z-index: 2;
  transition: left 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-reveal.animated::before {
  left: 100%;
}

/* Number Counter with Glow */
.stat-number {
  position: relative;
}

.stat-number.animated::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent);
  animation: number-glow 1s ease-out;
  pointer-events: none;
}

@keyframes number-glow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

/* Interactive Card Tilt */
.interactive-tilt {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Text Gradient Animation */
.text-gradient-animated {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 25%,
    var(--gold) 50%,
    var(--gold-light) 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-gradient-flow 3s linear infinite;
}

@keyframes text-gradient-flow {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Scroll Snap Sections */
.scroll-snap-section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Cursor Follow Effect */
.cursor-follow {
  position: relative;
  overflow: hidden;
}

.cursor-follow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  pointer-events: none;
}

.cursor-follow:hover::before {
  width: 300px;
  height: 300px;
}

/* Advanced Hover Effects */
.advanced-hover {
  position: relative;
  overflow: hidden;
}

.advanced-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.advanced-hover:hover::after {
  left: 100%;
}

/* Section Background Transition */
.section-bg-transition {
  position: relative;
  overflow: hidden;
}

.section-bg-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -1;
}

.section-bg-transition.in-view::before {
  opacity: 1;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate,
  .fade-in,
  .slide-up,
  .slide-down,
  .slide-left,
  .slide-right,
  .scale-in,
  .zoom-in,
  .rotate-in,
  .section-title,
  .service-card,
  .testimonial-card,
  .gallery-item,
  .stat-card,
  .blur-reveal,
  .gradient-reveal,
  .split-text,
  .float-animation,
  .pulse-glow,
  .text-gradient-animated {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }
}

