/* ===== GLOBAL STYLES ===== */
body {
  padding-top: 80px; /* space for fixed navbar */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  height: 80px;
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: #2563eb !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #374151 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #2563eb !important;
}

/* Custom hamburger icon */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.hamburger-icon span {
  height: 3px;
  width: 100%;
  background-color: #374151;
  margin-bottom: 3px;
  transition: all 0.3s ease;
  transform-origin: left;
}

.hamburger-icon.active span:nth-child(1) {
  transform: rotate(45deg);
  width: 30px;
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: rotate(-45deg);
  width: 30px;
}

/* Mobile navbar styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }

  .navbar-nav .nav-link {
    color: #333 !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #f3f4f6;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 4rem 1rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" fill-opacity="0.1"><polygon points="0,100 100,0 200,50 300,20 400,80 500,10 600,60 700,30 800,70 900,20 1000,50 1000,100"/></svg>') repeat-x;
  background-size: 1000px 100px;
  animation: wave 20s linear infinite;
}

@keyframes wave {
  0% { background-position-x: 0; }
  100% { background-position-x: 1000px; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
  border-color: #2563eb;
}

.service-price {
  color: #2563eb !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== FEATURES SECTION ===== */
.feature-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.why-choose {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.why-choose .col-md-4 {
  transition: transform 0.3s ease;
}

.why-choose .col-md-4:hover {
  transform: translateY(-5px);
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* ===== BUTTONS ===== */
.book-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.book-btn:hover::before {
  left: 100%;
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: #2563eb;
  border: none;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-warning {
  background: #fbbf24;
  border: none;
  color: white;
}

.btn-warning:hover {
  background: #f59e0b;
  color: white;
}

/* ===== FAQ SECTION ===== */
.accordion-button {
  background: #f8fafc;
  border: none;
  font-weight: 600;
  color: #374151;
}

.accordion-button:not(.collapsed) {
  background: #2563eb;
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-body {
  background: white;
  color: #6b7280;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: #1f2937 !important;
  margin-top: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 4rem 1rem 3rem 1rem;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .feature-icon {
    font-size: 3rem;
  }

  .service-price {
    font-size: 2rem !important;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem !important;
  }

  .service-card {
    margin-bottom: 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeIn 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== LOADING ANIMATION FOR BUTTONS ===== */
.book-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.book-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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