/* ========================================
   HOME PAGE SPECIFIC STYLES
   Premium Luxury Hero + All Enhanced Sections
   ======================================== */

/* ========== PREMIUM HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  isolation: isolate;
}

/* Video Background Container */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 25s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

/* Premium Dark Overlay */
.hero-overlay-premium {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 70%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}

.hero-overlay-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjciIG51bU9jdGF2ZXM9IjMiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZikiIG9wYWNpdHk9IjAuMDMiLz48L3N2Zz4=');
  background-repeat: repeat;
  opacity: 0.15;
  pointer-events: none;
}

/* Particle Canvas */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  z-index: 3;
  position: relative;
}

/* Premium Badge */
.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
  text-transform: uppercase;
  font-weight: 500;
}

.tagline-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Staggered Heading */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--white);
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  filter: blur(15px);
  animation: letterReveal 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes letterReveal {
  0% { opacity: 0; transform: translateY(60px); filter: blur(15px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.title-line:nth-child(1) span { animation-delay: 0.2s; }
.title-line:nth-child(2) span { animation-delay: 0.4s; }
.title-line:nth-child(3) span { animation-delay: 0.6s; }
.title-line:nth-child(4) span { animation-delay: 0.8s; }

.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 35px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(30px); }
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.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;
  z-index: -1;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(200,168,107,0.3); gap: 18px; }

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #121212;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}

.btn-text:hover { gap: 15px; color: var(--gold); }

/* Stats Row */
.hero-stats-premium {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 60px;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.4s forwards;
}

.hero-stat-item { text-align: center; }
.hero-stat-number { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.hero-stat-label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(200,168,107,0.3); }

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  z-index: 3;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.6s forwards;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 28px;
  height: 45px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  margin: 10px auto 0;
  position: relative;
}

.mouse-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: wheelScroll 2s infinite;
}

@keyframes wheelScroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  80% { opacity: 0; transform: translateX(-50%) translateY(15px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(0); }
}

.floating-accent-premium {
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200,168,107,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: floatAccent 8s ease-in-out infinite;
}

@keyframes floatAccent {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.4; }
  50% { transform: translate(-20px,-30px) scale(1.1); opacity: 0.7; }
}

/* ========== MARQUEE ========== */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--charcoal), #1a1a1a);
  padding: 15px 0;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  display: inline-block;
  margin: 0 30px;
  color: var(--ivory);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.marquee-track span::before {
  content: '✦';
  color: var(--gold);
  margin-right: 10px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== ABOUT PREVIEW ========== */
.about-preview {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--ivory) 0%, #FFF9F0 100%);
  position: relative;
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  line-height: 1.2;
  margin: 20px 0;
  color: var(--charcoal);
  position: relative;
}

.about-preview-content h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.about-preview-content > p {
  color: #555;
  line-height: 1.8;
  margin: 35px 0 30px;
}

.stats-row {
  display: flex;
  gap: 50px;
  margin: 35px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(200,168,107,0.2);
  border-bottom: 1px solid rgba(200,168,107,0.2);
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-preview-image .image-frame {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4 / 3;
}

.about-preview-image .image-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(200,168,107,0.3);
  border-radius: 8px;
  pointer-events: none;
}

.about-preview-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-preview-image:hover img { transform: scale(1.05); }

/* ========== SERVICES SECTION ========== */
.services {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--cream), var(--ivory));
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.section-tag::before { content: '✦'; margin-right: 10px; opacity: 0.8; }
.section-tag::after { content: '✦'; margin-left: 10px; opacity: 0.8; }

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.section-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  position: relative;
}

.section-line::before,
.section-line::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.section-line::before { left: -10px; }
.section-line::after { right: -10px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
}

.service-card {
  background: white;
  padding: 45px 35px;
  text-align: center;
  border-radius: 20px;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-gold); }

.card-icon {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.service-card:hover .card-icon { transform: scale(1.1); }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { color: #666; line-height: 1.7; }

.card-number {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(200,168,107,0.06);
  font-family: 'Playfair Display', serif;
}

/* ========== PROJECTS PREVIEW ========== */
.projects-preview {
  padding: 120px 0;
  background: var(--ivory);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.5s ease;
  background: #fff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-gold); }

.project-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-img img { transform: scale(1.1); }

.gold-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  z-index: 10;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
  padding: 30px 25px 25px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.project-card:hover .project-overlay { transform: translateY(0); }
.project-overlay h3 { color: white; font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.project-overlay p { color: rgba(255,255,255,0.8); margin-bottom: 12px; }

.view-gallery {
  color: var(--gold);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.projects-cta, .catalog-cta { text-align: center; margin-top: 60px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 35px;
  border: 1.5px solid var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  background: transparent;
  border-radius: 40px;
}

.btn-outline:hover { background: var(--gold); gap: 15px; transform: translateY(-3px); }

/* ========== CATALOG PREVIEW ========== */
.catalog-preview {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--cream), var(--ivory));
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 35px;
}

.catalog-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.5s ease;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  position: relative;
}

.catalog-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 5;
}

.catalog-item:hover::before { transform: scaleX(1); }
.catalog-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-gold); }

.catalog-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.catalog-item:hover .catalog-img img { transform: scale(1.08); }

.catalog-img .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 30px;
  z-index: 10;
}

.catalog-info { padding: 25px; text-align: center; }
.catalog-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 8px; }
.catalog-info p { color: #777; font-size: 0.85rem; }
.price { color: var(--gold); font-weight: 700; font-size: 1.1rem; display: inline-block; margin-top: 12px; }

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 120px 0;
  background: var(--ivory);
}

.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-header h2 { font-family: 'Playfair Display', serif; font-size: 3rem; }

.testimonials-slider {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 50px;
  text-align: center;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sage), var(--gold));
  border-radius: 24px 24px 0 0;
}

.testimonial-card i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 25px;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #444;
  font-style: italic;
}

.author strong { display: block; font-family: 'Playfair Display', serif; margin-bottom: 5px; }
.author span { font-size: 0.8rem; opacity: 0.6; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active { background: var(--gold); width: 30px; border-radius: 10px; }

/* ========== STATISTICS ========== */
.statistics {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--ivory), var(--cream));
  position: relative;
  overflow: hidden;
}

.statistics::before {
  content: '✦';
  position: absolute;
  font-size: 200px;
  color: rgba(200,168,107,0.03);
  bottom: -50px;
  right: -50px;
  font-family: serif;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 30px 20px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.stat-item:hover { background: white; transform: translateY(-5px); }
.stat-number { font-size: 3.2rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--gold); margin-bottom: 10px; }
.stat-label { font-size: 0.85rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding: 140px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--charcoal), #1a1a1a);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.pexels.com/photos/276583/pexels-photo-276583.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  transition: transform 8s ease;
}

.cta-section:hover .cta-bg { transform: scale(1.08); }

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-content p { margin-bottom: 40px; opacity: 0.8; font-size: 1.1rem; }

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  border-radius: 40px;
}

.btn-primary-large:hover { transform: translateY(-3px); gap: 18px; box-shadow: 0 20px 40px rgba(200,168,107,0.3); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) { .hero-title { font-size: 4rem; } }
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .hero-stats-premium { display: none; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-preview-image { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services, .projects-preview, .catalog-preview, .testimonials { padding: 80px 0; }
  .section-header h2, .testimonials-header h2, .cta-content h2 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero { padding: 80px 20px; }
  .about-preview-content h2, .section-header h2, .testimonials-header h2 { font-size: 2rem; }
  .services-grid, .projects-grid, .catalog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .stat-number { font-size: 2rem; }
  .cta-section { padding: 80px 0; }
  .cta-content h2 { font-size: 1.8rem; }
  .floating-accent-premium { display: none; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-tagline { font-size: 0.7rem; gap: 8px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .service-card { padding: 35px 25px; }
  .hero-scroll-indicator { transform: translateX(-50%) scale(0.8); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-stats-premium, .hero-scroll-indicator, .hero-tagline,
  .hero-desc, .hero-buttons, .title-line span, .floating-accent-premium {
    animation: none; opacity: 1; transform: none;
  }
  .hero-video { animation: none; }
  .service-card, .project-card, .catalog-item { transition: none; }
  .service-card:hover, .project-card:hover, .catalog-item:hover { transform: none; }
}

/* ========================================
   ADVANCED SCROLL ANIMATIONS
   ======================================== */

/* Animation Base Classes */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.2, 0.9, 0.4, 1.1);
  will-change: opacity, transform, filter;
}

/* Fade Up Animation */
[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Down Animation */
[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Left Animation */
[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Fade Right Animation */
[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In Animation */
[data-aos="scale-in"] {
  transform: scale(0.9);
}

[data-aos="scale-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Blur In Animation */
[data-aos="blur-in"] {
  filter: blur(10px);
  transform: scale(1.05);
}

[data-aos="blur-in"].aos-animate {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Zoom In Animation */
[data-aos="zoom-in"] {
  transform: scale(0.8);
  opacity: 0;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Flip In Animation */
[data-aos="flip-in"] {
  transform: perspective(1000px) rotateY(90deg);
  transform-origin: center;
}

[data-aos="flip-in"].aos-animate {
  opacity: 1;
  transform: perspective(1000px) rotateY(0);
}

/* Slide In Left with Rotation */
[data-aos="slide-rotate"] {
  transform: translateX(-100px) rotate(-5deg);
}

[data-aos="slide-rotate"].aos-animate {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

/* ========================================
   STAGGERED CARD ANIMATIONS
   ======================================== */

/* Staggered children animations */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.stagger-children.aos-animate > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.aos-animate > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.aos-animate > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.aos-animate > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.aos-animate > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.aos-animate > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.aos-animate > * {
  opacity: 1;
  transform: translateY(0);
}

/* Services Grid Stagger */
.services-grid.stagger-children.aos-animate .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid.stagger-children.aos-animate .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid.stagger-children.aos-animate .service-card:nth-child(3) { transition-delay: 0.2s; }
.services-grid.stagger-children.aos-animate .service-card:nth-child(4) { transition-delay: 0.3s; }
.services-grid.stagger-children.aos-animate .service-card:nth-child(5) { transition-delay: 0.4s; }
.services-grid.stagger-children.aos-animate .service-card:nth-child(6) { transition-delay: 0.5s; }

/* Projects Grid Stagger */
.projects-grid.stagger-children.aos-animate .project-card:nth-child(1) { transition-delay: 0s; }
.projects-grid.stagger-children.aos-animate .project-card:nth-child(2) { transition-delay: 0.1s; }
.projects-grid.stagger-children.aos-animate .project-card:nth-child(3) { transition-delay: 0.2s; }
.projects-grid.stagger-children.aos-animate .project-card:nth-child(4) { transition-delay: 0.3s; }

/* Catalog Grid Stagger */
.catalog-grid.stagger-children.aos-animate .catalog-item:nth-child(1) { transition-delay: 0s; }
.catalog-grid.stagger-children.aos-animate .catalog-item:nth-child(2) { transition-delay: 0.15s; }
.catalog-grid.stagger-children.aos-animate .catalog-item:nth-child(3) { transition-delay: 0.3s; }

/* Stats Grid Stagger */
.stats-grid.stagger-children.aos-animate .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-grid.stagger-children.aos-animate .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats-grid.stagger-children.aos-animate .stat-item:nth-child(3) { transition-delay: 0.2s; }
.stats-grid.stagger-children.aos-animate .stat-item:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   PARALLAX SCROLLING EFFECTS
   ======================================== */

/* Parallax Sections */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

/* Slow Parallax (subtle movement) */
.parallax-slow {
  transform: translateY(0);
  transition: transform 0.1s linear;
}

/* Fast Parallax */
.parallax-fast {
  transform: translateY(0);
  transition: transform 0.05s linear;
}

/* ========================================
   SECTION REVEAL ANIMATIONS
   ======================================== */

/* Section wrapper for better animation control */
.section-wrapper {
  overflow: hidden;
}

/* Content reveal on scroll */
.content-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.content-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Text line by line animation */
.text-reveal-line {
  display: block;
  overflow: hidden;
}

.text-reveal-line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.text-reveal-line.revealed span {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential text reveal delays */
.text-reveal-line:nth-child(1) span { transition-delay: 0s; }
.text-reveal-line:nth-child(2) span { transition-delay: 0.1s; }
.text-reveal-line:nth-child(3) span { transition-delay: 0.2s; }
.text-reveal-line:nth-child(4) span { transition-delay: 0.3s; }

/* ========================================
   IMAGE REVEAL ON SCROLL
   ======================================== */

.image-reveal {
  position: relative;
  overflow: hidden;
}

.image-reveal img {
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.6s ease;
  opacity: 0;
  transform: scale(1.05);
}

.image-reveal.revealed img {
  opacity: 1;
  transform: scale(1);
}

/* Image overlay reveal */
.image-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.image-reveal.revealed::before {
  transform: scaleX(1);
  transform-origin: right;
}

/* ========================================
   BUTTON REVEAL ANIMATIONS
   ======================================== */

.btn-reveal {
  position: relative;
  overflow: hidden;
}

.btn-reveal::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.4s ease;
}

.btn-reveal:hover::after {
  width: 100%;
}

/* ========================================
   COUNTER ANIMATION
   ======================================== */

.counter-number {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.counter-number.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SMOOTH SCROLL INDICATOR ANIMATION
   ======================================== */

.scroll-progress-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 5px var(--gold);
}

/* ========================================
   LOADING ANIMATIONS
   ======================================== */

/* Skeleton loading animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ========================================
   RESPONSIVE ANIMATION ADJUSTMENTS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  [data-aos],
  [data-aos].aos-animate,
  .stagger-children > *,
  .content-reveal,
  .text-reveal-line span,
  .image-reveal img,
  .counter-number {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  
  .parallax-bg,
  .parallax-slow,
  .parallax-fast {
    transform: none !important;
  }
}

@media (max-width: 768px) {
  [data-aos] {
    transition-duration: 0.5s;
  }
  
  [data-aos="fade-up"],
  [data-aos="fade-down"],
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translateY(30px);
  }
}