/* ================================
   Immortal Salon - Main Stylesheet
   ================================ */

/* CSS Variables */
:root {
  --primary: #2c3e50;
  --secondary: #c9a961;
  --accent: #8b7355;
  --dark: #1a1a1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --text: #4a4a4a;
  --text-light: #6c757d;
  --border: #e9ecef;
  
  --font-primary: 'Raleway', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Spacing */
section {
  padding: 100px 0;
}

/* Section Headers */
.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-header.light .section-label {
  color: var(--secondary);
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-light-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-light-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.text-center {
  text-align: center;
}

/* Language Switcher */
.lang-switch {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
}

.lang-switch:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 115, 85, 0.4);
}

.flag-icon {
  font-size: 1.3rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.lang-switch:hover .flag-icon {
  transform: scale(1.1);
}

.header.scrolled .lang-switch {
  color: var(--dark);
  border-color: var(--secondary);
  box-shadow: 0 2px 6px rgba(139, 115, 85, 0.15);
}

.header.scrolled .lang-switch:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ================================
   HEADER
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--dark);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  background: white;
  padding: 5px;
  border-radius: 8px;
}

.header.scrolled .logo-img {
  height: 45px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--white);
}

.logo-text {
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition);
  position: relative;
}

.header.scrolled .nav-link {
  color: var(--dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.btn-primary {
  color: var(--white);
}

.nav-link.btn-primary::after {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

.header.scrolled .mobile-toggle span {
  background: var(--dark);
}

/* ================================
   HERO
   ================================ */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(139, 115, 85, 0.7)),
              url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 169, 97, 0.2);
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.375rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
  opacity: 0.9;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--white), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ================================
   FEATURES
   ================================ */
.features {
  padding: 80px 0;
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-light);
  margin: 0;
}

/* ================================
   ABOUT
   ================================ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 550px;
}

.about-img-main {
  width: 100%;
  height: 550px;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=800&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
  animation: floatImage 6s ease-in-out infinite;
}

.about-img-main:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-img-accent {
  position: absolute;
  width: 60%;
  height: 300px;
  bottom: -40px;
  right: -40px;
  background: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=600&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: all 0.5s ease;
  animation: floatImageDelay 6s ease-in-out infinite;
  animation-delay: 0.5s;
}

.about-img-accent:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

@keyframes floatImageDelay {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-8px) translateX(5px);
  }
}

.about-badge {
  position: absolute;
  top: 40px;
  left: -40px;
  background: var(--secondary);
  color: var(--white);
  padding: 32px;
  border-radius: 50%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transition: all 0.4s ease;
  animation: rotateBadge 8s ease-in-out infinite;
}

.about-badge:hover {
  transform: scale(1.1) rotate(10deg);
  background: var(--accent);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

@keyframes rotateBadge {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.875rem;
  margin-top: 8px;
  line-height: 1.3;
}

.about-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.check-list {
  margin: 32px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.check-list i {
  color: var(--secondary);
  font-size: 1.125rem;
}

/* ================================
   SERVICES PREVIEW
   ================================ */
.services-preview {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 2px solid var(--secondary);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.service-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.service-content {
  padding: 32px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--secondary);
  gap: 12px;
}

/* ================================
   GALLERY
   ================================ */
.gallery-section {
  background: var(--white);
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(201, 169, 97, 0);
  transition: var(--transition);
}

.gallery-item:hover::after {
  background: rgba(201, 169, 97, 0.3);
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  height: 620px;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
  color: var(--secondary);
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.testimonial-author span {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(139, 115, 85, 0.85)),
              url('https://images.unsplash.com/photo-1582095133179-bfd08e2fc6b3?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.footer-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  background: white;
  padding: 5px;
  border-radius: 8px;
}

.footer-logo .logo-icon {
  width: 45px;
  height: 45px;
  font-size: 1.125rem;
}

.footer-col p {
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 24px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.contact-info i {
  color: var(--secondary);
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-info a {
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-info a:hover {
  color: var(--accent) !important;
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 32px 0;
  text-align: center;
  font-size: 0.9375rem;
}

.footer-bottom a {
  color: var(--secondary);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .section-title { font-size: 2.25rem; }
  .hero-title { font-size: 3.5rem; }
  
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-img-accent {
    right: 0;
  }
  
  .about-badge {
    left: 0;
  }
  
  .gallery-grid-home {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 3;
    height: 400px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero-slideshow {
    min-height: 85vh;
    max-height: 85vh;
  }
  
  .hero-slideshow .hero-content {
    padding: 60px 20px 40px;
  }
  
  .hero-scroll {
    bottom: 15px;
  }
  
  .slide-nav {
    bottom: 20px;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--dark) !important;
  }
  
  .lang-switch {
    width: 100%;
    justify-content: center;
    border-color: var(--secondary);
    color: var(--dark);
    font-size: 1rem;
    padding: 12px 20px;
    margin-left: 0;
    margin-top: 8px;
  }
  
  .lang-switch .flag-icon {
    font-size: 1.4rem;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .services-grid,
  .testimonials-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 2;
    height: 300px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 0.875rem;
  }
  
  .gallery-grid-home {
    grid-template-columns: 1fr;
  }
  
  .gallery-item,
  .gallery-item.large {
    height: 250px;
    grid-column: span 1;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* ================================
   HERO SLIDESHOW ANIMATIONS
   ================================ */

/* Hero Slideshow Container */
.hero-slideshow {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 20s ease-out;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.1);
  animation: kenBurns 20s ease-out infinite;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-slideshow .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(139, 115, 85, 0.7) 100%);
  z-index: 1;
}

.hero-slideshow .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
}

/* Slide Navigation Dots */
.slide-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slide-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.slide-dot.active {
  background: var(--secondary);
  border-color: var(--secondary);
  width: 32px;
  border-radius: 6px;
}

/* Hero Content Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out 0.3s both;
}

.animate-slide-up {
  animation: slideUp 1s ease-out 0.6s both;
}

.animate-slide-up-delay {
  animation: slideUp 1s ease-out 0.9s both;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 1.2s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   SCROLL REVEAL ANIMATIONS
   ================================ */

.scroll-reveal {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
}

/* Fade In Up Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed .fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up.delay-1 {
  transition-delay: 0.2s;
}

.fade-in-up.delay-2 {
  transition-delay: 0.4s;
}

.fade-in-up.delay-3 {
  transition-delay: 0.6s;
}

/* Fade In Left/Right */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed .fade-in-left,
.scroll-reveal.revealed .fade-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In Animation */
.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed .zoom-in {
  opacity: 1;
  transform: scale(1);
}

.zoom-in.delay-1 {
  transition-delay: 0.2s;
}

.zoom-in.delay-2 {
  transition-delay: 0.4s;
}

/* ================================
   PARALLAX EFFECTS
   ================================ */

.parallax-image {
  transition: transform 0.3s ease-out;
}

/* Enhanced Feature Cards Hover */
.feature-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Service Cards */
.service-card .service-image {
  transition: transform 0.6s ease-out;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

/* Gallery Item Hover Enhancement */
.gallery-item {
  transition: all 0.4s ease-out;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.3), rgba(139, 115, 85, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

