/* create color variable */
:root {
  --theme-bg: linear-gradient(149deg, #1458ff, #5b3286);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Arial", sans-serif;
  color: #fff;
  height: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: #333;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.logo span {
  color: #555;
  font-size: 0.9rem;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li {
  cursor: pointer;
  font-weight: 500;
}

.estimate-btn {
  background: #002e5b;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
}

.hero {
  background: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1350&q=80")
    no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 60px;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.book-btn {
  background: #ff4f81;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.promo-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #333;
  padding: 1rem;
  border-radius: 50%;
  text-align: center;
}

.promo-badge h2 {
  margin: 0.2rem 0;
  color: #ff4f81;
}

.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  color: #333;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-cta button {
  background: #ff4f81;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  margin-top: 0.5rem;
}

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

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

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

.animate-slideIn {
  animation: slideIn 0.8s ease-out;
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

.animate-slideDown {
  animation: slideDown 0.5s ease-out;
}

.animate-slide {
  animation: slide 30s linear infinite;
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.partners-slider:hover .animate-slide {
  animation-play-state: paused;
}

.partner-logo {
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

/* Hero background */
.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero Carousel Backgrounds */
.hero-bg-1 {
  background-image: url("frames-for-your-heart-zSG-kd-L6vw-unsplash.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg-2 {
  background-image: url("hotel-lobby.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg-3 {
  background-image: url("/images/IMG_6957.jpg");
  background-size: cover;
  background-position: center;
}

/* Carousel Styles */
.carousel-slide {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.carousel-slide.active {
  opacity: 1;
  display: block;
  animation: slideIn 0.8s ease-out forwards;
}

.carousel-slide.hidden {
  display: none;
}

.carousel-slide .hero-bg-1,
.carousel-slide .hero-bg-2,
.carousel-slide .hero-bg-3 {
  animation: scaleIn 1.2s ease-out forwards;
}

.carousel-slide.active h1 {
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.carousel-slide.active p {
  animation: fadeIn 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

.carousel-slide.active button {
  animation: fadeIn 0.8s ease-out 0.7s forwards;
  opacity: 0;
}

/* Center content vertically and horizontally */
.carousel-slide .relative.z-10 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Adjust content width */
.carousel-slide .text-center {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Carousel Animation */
.carousel-slide.active {
  opacity: 1;
  display: block;
}

.carousel-slide:not(.active) {
  opacity: 0;
  display: none;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  transform: scale(1.2);
  background: linear-gradient(149deg, #1458ff, #5b3286);
  opacity: 1;
}

/* Arrow buttons animation */
.carousel-prev,
.carousel-next {
  transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Hover effects */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #7C3AED);
  transition: all 0.3s ease;
  transform: translateX(4%);
}

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

/* Active link styles */
.nav-link.active {
  color: #4F46E5;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

/* Button Hover Effects */
.button-hover {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button-hover span {
  position: relative;
  z-index: 2;
}

.button-hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(149deg, #5b3286, #1458ff);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.button-hover:hover::after {
  opacity: 1;
}

.button-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 50, 134, 0.2);
}

/* Dropdown Styles */
.dropdown-menu {
  @apply hidden absolute top-full left-0 mt-1 w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5;
}

.group:hover .dropdown-menu {
  @apply block;
}

.group:hover .group-hover\:block {
  animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu a {
  @apply text-gray-700 hover:bg-gray-50 hover:text-blue-600 transition-colors duration-200;
}

/* Image Preloader */
.image-preloader {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  z-index: -1;
}

/* Custom Gradient Styles */
.bg-custom-gradient {
  background-image: linear-gradient(149deg, #1458ff, #5b3286);
  background: linear-gradient(149deg, #1458ff, #5b3286);
}

.text-custom-gradient {
  background-image: linear-gradient(149deg, #1458ff, #5b3286);
  background: linear-gradient(149deg, #1458ff, #5b3286);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-custom-gradient {
  border-color: #1458ff;
}

.testimonial-dot.active {
  background: linear-gradient(149deg, #1458ff, #5b3286);
}

.testimonials-container {
  scroll-behavior: smooth;
}

.testimonials-container .flex {
  transition: transform 0.5s ease-in-out;
}

/* Gallery Styles */
.gallery-filter {
  background-color: #f3f4f6;
  color: #4b5563;
}

.gallery-filter.active {
  background: linear-gradient(149deg, #1458ff, #5b3286);
  color: white;
}

.gallery-item {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.gallery-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  transition: all 0.3s ease;
}

.header-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-scrolled .header-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-scrolled .nav-link {
  color: #1a1a1a;
}

.header-scrolled .nav-link:hover {
  color: #4F46E5;
}

/* Navigation Links */
.nav-link {
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  transition: width 0.3s ease;
}

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

/* Dropdown Styles */
.group:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.dropdown-menu {
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Estimate Button */
.estimate-button {
  background: linear-gradient(149deg, #1458ff, #5b3286);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.estimate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(20, 88, 255, 0.2);
}

/* Primary Button */
.btn-primary {
  @apply px-6 py-2.5 bg-blue-600 text-white rounded-full font-medium hover:bg-blue-700 transition-colors duration-300 shadow-sm hover:shadow;
}

/* Mobile menu styles */
.mobile-menu-button {
  @apply p-2 rounded-lg text-black-500 hover:bg-black-100 hover:text-black-700 transition-colors duration-200;
}

#mobile-menu {
  @apply border-t border-gray-100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* margin-top: 0.5rem; */
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
}

#mobile-menu.show {
  max-height: 100vh;
}

.mobile-dropdown button {
  @apply text-gray-700 hover:text-blue-600 transition-colors duration-200;
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  color: #1a1a1a;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-dropdown button:hover {
  background: rgba(20, 88, 255, 0.1);
}

.mobile-dropdown ul {
  @apply space-y-1 pl-4 border-l-2 border-gray-100;
}

.mobile-dropdown ul a {
  @apply text-gray-600 hover:text-blue-600 transition-colors duration-200;
}

@media (max-width: 768px) {
  .header-container {
    /* padding: 0.75rem 1rem; */
  }

  #mobile-menu {
    /* margin: 0 1rem; */
  }
}

@media (max-width: 1023px) {
  .header-container {
    @apply bg-white;
  }
}

/* FAQ Accordion Styles */
.bg-white.rounded-lg button {
  transition: background-color 0.3s ease;
}

.bg-white.rounded-lg button:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.bg-white.rounded-lg button i {
  transition: transform 0.3s ease;
}

.bg-white.rounded-lg > div {
  transition: max-height 0.3s ease-in-out;
}

/* Vision & Mission Cards */
.bg-white.rounded-xl {
  transition: all 0.3s ease;
}

.bg-white.rounded-xl:hover {
  transform: translateY(-5px);
}

.bg-white.rounded-xl:hover .w-16 {
  transform: scale(1.1);
}

.w-16 {
  transition: transform 0.3s ease;
}

/* Check Icon Animation */
.fa-check-circle {
  transition: transform 0.3s ease;
}

.flex:hover .fa-check-circle {
  transform: scale(1.2);
}

/* Portfolio Styles */
.portfolio-filter {
  transition: all 0.3s ease;
}

.portfolio-filter.active {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: white;
  transform: translateY(-2px);
}

.portfolio-item {
  transition: all 0.3s ease-out;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

/* Image hover effect */
.portfolio-item img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stats animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-number {
  animation: countUp 1s ease-out forwards;
}
