/* Enhanced Design Styles for Blooms Flowers - 2025 Update */

:root {
  /* Refined color palette */
  --primary-color: #e25c67;
  --secondary-color: #2a4747;
  --accent-color: #f8d7a8;
  --accent-color-2: #a8d8f8;
  --accent-color-3: #d8a8f8;
  --background-color: #faf7f2;
  --text-color: #333333;
  --white-color: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #4a4a4a;
  --mocha-mousse: #9b8579; /* Pantone's 2025 "Color of the Year" */
  --gradient-primary: linear-gradient(135deg, #e25c67, #f17e89);
  --gradient-secondary: linear-gradient(135deg, #2a4747, #3a5757);
  --gradient-accent: linear-gradient(135deg, #f8d7a8, #fae5c6);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);
  --whatsapp-color: #25D366;
  --transition-standard: all 0.3s ease;
  --transition-smooth: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Global Styles */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: var(--transition-standard);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2.2rem;
}

p {
  font-family: 'Poppins', sans-serif;
  line-height: 1.8;
  font-size: 1.05rem;
}

a {
  transition: var(--transition-standard);
}

.btn {
  background: var(--gradient-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 1.5px;
  box-shadow: var(--box-shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--box-shadow-hover);
}

.btn:hover:before {
  opacity: 1;
}

.section-header {
  margin-bottom: 70px;
  position: relative;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.section-header h2:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
}

.divider {
  width: 120px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.divider:after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: divider-shine 3s infinite;
}

@keyframes divider-shine {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

/* Enhanced Header */
header {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 15px 0;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid var(--primary-color);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(226, 92, 103, 0.2);
}

header:hover .logo img {
  transform: rotate(8deg) scale(1.05);
}

.logo-text h1 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0;
  transition: var(--transition-standard);
}

.logo-text p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin: 0;
  opacity: 0.9;
}

.nav-links {
  display: flex;
}

.nav-links li {
  margin-left: 35px;
  position: relative;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  font-size: 1.05rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.nav-indicator {
  position: absolute;
  bottom: -5px;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 3px;
}

/* Enhanced Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white-color);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/optimized/hero_optimized.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: subtle-zoom 30s infinite alternate;
  transform-origin: center;
}

@keyframes subtle-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-content-reveal 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.5s;
}

@keyframes hero-content-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  opacity: 0;
  transform: translateY(30px);
  animation: text-reveal 0.8s ease forwards 0.8s;
}

.hero-content p {
  font-size: 1.6rem;
  margin-bottom: 35px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: text-reveal 0.8s ease forwards 1.1s;
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: text-reveal 0.8s ease forwards 1.4s;
}

@keyframes text-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
  color: var(--white-color);
  font-size: 1.5rem;
  opacity: 0.8;
  transition: var(--transition-standard);
}

.hero-scroll-indicator a:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Enhanced About Section */
.about {
  padding: 140px 0;
  background-color: var(--background-color);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: var(--primary-color);
  opacity: 0.05;
  border-radius: 50%;
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--primary-color);
  border-right: none;
  border-bottom: none;
  opacity: 0.3;
  transition: all 0.5s ease;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--accent-color);
  border-left: none;
  border-top: none;
  opacity: 0.3;
  transition: all 0.5s ease;
}

.about-image:hover {
  transform: translateY(-15px);
}

.about-image:hover::before,
.about-image:hover::after {
  width: 120px;
  height: 120px;
  opacity: 0.5;
}

.about-image img {
  transition: transform 0.8s ease;
  width: 100%;
  height: auto;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.9;
}

.founder {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.founder::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: 'Playfair Display', serif;
}

/* Enhanced Services Section */
.services {
  padding: 140px 0;
  background-color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="2" cy="2" r="1" fill="%23e25c67" opacity="0.05"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: var(--white-color);
  border-radius: 20px;
  padding: 50px 35px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(226, 92, 103, 0.05), transparent);
  transition: height 0.6s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: var(--box-shadow-hover);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed var(--primary-color);
  opacity: 0.3;
  animation: spin 20s linear infinite;
}

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

.service-card:hover .service-icon {
  transform: rotateY(180deg) scale(1.1);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--white-color);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon i {
  transform: rotateY(180deg);
}

.service-card h3 {
  margin-bottom: 25px;
  color: var(--secondary-color);
  font-size: 1.8rem;
  transition: var(--transition-standard);
}

.service-card:hover h3 {
  color: var(--primary-color);
}

.service-card p {
  transition: var(--transition-standard);
}

/* Enhanced Gallery Section */
.gallery {
  padding: 140px 0;
  background-color: var(--background-color);
  position: relative;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter button {
  background: none;
  border: none;
  padding: 8px 20px;
  margin: 0 5px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-standard);
  border-radius: 30px;
  color: var(--dark-gray);
  position: relative;
}

.gallery-filter button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.gallery-filter button:hover,
.gallery-filter button.active {
  color: var(--primary-color);
}

.gallery-filter button:hover::after,
.gallery-filter button.active::after {
  width: 80%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 300px;
  gap: 30px;
  margin-top: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-15px);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: var(--white-color);
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.gallery-item:hover .gallery-item-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item-caption h4 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.gallery-item-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Enhanced Testimonials Section */
.testimonials {
  padding: 140px 0;
  background-color: var(--white-color);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="2" cy="2" r="1" fill="%23e25c67" opacity="0.1"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial {
  text-align: center;
  padding: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  transition: all 0.5s ease;
}

.testimonial-text {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 35px;
  position: relative;
  color: var(--dark-gray);
  line-height: 1.8;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  font-family: 'Playfair Display', serif;
}

.testimonial-text::before {
  top: -30px;
  left: -20px;
}

.testimonial-text::after {
  bottom: -60px;
  right: -20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 20px;
  position: relative;
  display: inline-block;
}

.testimonial-author::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  opacity: 0;
  transition: all 0.4s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

.dot.active::after {
  opacity: 0.5;
}

/* Enhanced Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white-color);
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--gradient-primary);
}

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

.footer-logo {
  text-align: center;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 25px;
  border: 3px solid var(--primary-color);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo:hover img {
  transform: rotate(15deg);
}

.footer-logo h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--white-color);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: var(--white-color);
  position: relative;
  padding-bottom: 15px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a {
  transition: all 0.4s ease;
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 15px;
}

.footer-links ul li a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  padding-left: 20px;
}

.footer-links ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact p {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.social-icons a:hover {
  transform: translateY(-8px) rotate(10deg);
}

.social-icons a:hover::before {
  opacity: 1;
}

.social-icons i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Enhanced WhatsApp Float */
.whatsapp-float {
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  font-size: 35px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--whatsapp-color);
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.5s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
}

.whatsapp-float:hover::before {
  transform: scale(1.3);
  opacity: 0.3;
}

.whatsapp-float::after {
  content: 'Contact Us';
  position: absolute;
  top: 50%;
  right: 85px;
  transform: translateY(-50%);
  background: var(--white-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--dark-gray);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
  right: 90px;
}

.whatsapp-pulse {
  animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Enhanced Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--dark-gray);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--white-color);
}

/* Responsive Enhancements */
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.6rem;
  }
  
  .about-content {
    gap: 50px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: 50px;
  }
  
  .services-grid {
    gap: 30px;
  }
  
  .gallery-item.wide {
    grid-column: span 1;
  }
  
  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
  
  .back-to-top {
    left: 30px;
    bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.6rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.3rem;
  }
  
  .about, .services, .gallery, .testimonials {
    padding: 100px 0;
  }
  
  .section-header {
    margin-bottom: 50px;
  }
  
  .service-card {
    padding: 40px 25px;
  }
  
  .testimonial {
    padding: 40px 30px;
  }
  
  .testimonial-text {
    font-size: 1.2rem;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 28px;
    bottom: 30px;
    right: 30px;
  }
  
  .whatsapp-float::after {
    display: none;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    left: 20px;
    bottom: 20px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 12px 28px;
  }
  
  .about, .services, .gallery, .testimonials {
    padding: 80px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 20px;
  }
  
  .gallery-item.tall {
    grid-row: span 1;
  }
  
  .footer-content {
    gap: 40px;
  }
}
