/* Base Styles */
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  color: white;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.3s;
}

.animate-delay-2 {
  animation-delay: 0.6s;
}

.animate-slideIn {
  animation: slideIn 1s ease forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-card-0 { animation: fadeIn 0.5s ease forwards; }
.animate-card-1 { animation: fadeIn 0.8s ease forwards; }
.animate-card-2 { animation: fadeIn 1.1s ease forwards; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.auth-btn {
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn i {
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.auth-btn:hover i {
  transform: translateX(3px);
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.auth-btn:hover::before {
  transform: translateX(100%);
}

.login-btn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.signup-btn {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
  position: relative;
  z-index: 1;
}

.signup-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #3fa1fd, #00e5fe);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.signup-btn:hover::after {
  opacity: 1;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* Logout Button */
.logout-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: rgba(225, 29, 72, 0.15);
  color: white;
  border: 2px solid rgba(225, 29, 72, 0.3);
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn:hover {
  background: rgba(225, 29, 72, 0.25);
  border-color: rgba(225, 29, 72, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.2);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5% 5rem;
  min-height: 80vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
}

.hero-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-btn i {
  font-size: 1.2em;
}

.hero-btn.primary {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: white;
  border: none;
}

.hero-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
  width: 50%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

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

/* Container */
.container {
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.main-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Services Carousel */
.services-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 1rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  width: 100%;
  justify-content: center;
  transition: transform 0.5s ease;
}

.carousel-btn {
  background: rgba(79, 172, 254, 0.3);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-btn:hover {
  background: rgba(79, 172, 254, 0.7);
  transform: scale(1.1);
}

/* Card Styles */
.card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  min-width: 300px;
  max-width: 350px;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 1.5rem 0 0.8rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

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

.buttons button {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}

.buttons button i {
  font-size: 1.1em;
}

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

.buttons button:hover::after {
  left: 100%;
}

.buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.read-more {
  background: rgba(79, 172, 254, 0.7);
  color: #ffffff;
}

.book-now {
  background: rgba(0, 114, 245, 0.7);
  color: #ffffff;
}

/* About Section */
.about {
  margin-top: 6rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-desc {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
}

.stat-item {
  background: rgba(79, 172, 254, 0.2);
  padding: 1.5rem 2rem;
  border-radius: 15px;
  min-width: 150px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(79, 172, 254, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.youtube-btn {
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #ff4e50, #ff0000);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.youtube-btn:hover::after {
  left: 100%;
}

.youtube-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 78, 80, 0.6);
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease forwards;
}

.popup-inner {
  background: rgba(30, 41, 59, 0.95);
  padding: 3rem;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: slideIn 0.5s ease forwards;
}

.popup-inner h2 {
  color: #4facfe;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.popup-inner p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1rem;
}

.close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.close:hover {
  color: #e11d48;
  transform: rotate(90deg) scale(1.2);
}

/* Auth and Business Info Popups */
.auth-popup, .business-info-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease forwards;
}

.auth-form, .business-info-form {
  background: rgba(30, 41, 59, 0.95);
  padding: 3rem;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: slideIn 0.5s ease forwards;
}

.auth-form h2, .business-info-form h2 {
  color: #4facfe;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}

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

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.form-group label i {
  width: 20px;
  text-align: center;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: #4facfe;
  box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.3);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.submit-btn:hover::after {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 245, 0.4);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.auth-toggle {
  background: none;
  border: none;
  color: #4facfe;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
  font-size: 0.9rem;
}

.business-info-form p {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem 0 1rem;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #4facfe;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #4facfe;
  transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 7rem 5% 3rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .hero-image {
    width: 80%;
  }
  
  .services-carousel {
    gap: 0.5rem;
  }
  
  .card {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .container {
    padding: 2rem 1.5rem;
  }
  
  .services-carousel {
    flex-direction: column;
    gap: 1rem;
  }
  
  .carousel-track {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .card {
    min-width: 250px;
    margin-bottom: 0;
  }
  
  .carousel-btn {
    position: static;
    margin: 0.5rem 0;
  }
  
  .about {
    padding: 2rem 1.5rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .header {
    padding: 1rem;
  }
  
  .user-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
  }
  
  .auth-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .auth-form, .business-info-form {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-btn {
    width: 100%;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons button {
    width: 100%;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}