/* Enhanced Cities Page Styles */
.cities-hero {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cities-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/wp-content/uploads/cities/malaysia-hero-bg.jpg') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff2491, #ff6b9d, #ff8fc6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #e0e0e0;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: 150px;
}

.btn-primary {
  background: linear-gradient(45deg, #ff2491, #ff6b9d);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 36, 145, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 36, 145, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid #ff2491;
}

.btn-secondary:hover {
  background: #ff2491;
  transform: translateY(-2px);
  color: white;
}

/* Cities Section - Only for main content, not header */
main .cities-section {
  padding: 80px 0;
  background: #0a0a0a;
}

/* Container - Only for main content, not header */
main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #ff2491;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cities Grid - Only for main content, not header */
main .cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.city-card {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  border: 1px solid #2a2a2a;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(255, 36, 145, 0.2);
  border-color: #ff2491;
}

.city-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
  transform: scale(1.05);
}

.city-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 36, 145, 0.8), rgba(255, 107, 157, 0.6));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.city-card:hover .city-overlay {
  opacity: 1;
}

.city-overlay h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.city-overlay p {
  font-size: 1.1rem;
  color: white;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.city-content {
  padding: 25px;
}

.city-content h3 {
  font-size: 1.4rem;
  color: #ff2491;
  margin-bottom: 15px;
  font-weight: 600;
}

.city-content p {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* City Button Styles - Enhanced for visibility */
.city-btn,
.cities-page .city-btn,
main .city-btn {
  display: inline-block !important;
  background: linear-gradient(45deg, #ff2491, #ff6b9d) !important;
  color: white !important;
  padding: 12px 25px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  font-size: 0.95rem !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 36, 145, 0.3) !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
  min-width: 150px !important;
  text-align: center !important;
}

.city-btn:hover,
.cities-page .city-btn:hover,
main .city-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 36, 145, 0.5) !important;
  color: white !important;
  background: linear-gradient(45deg, #ff6b9d, #ff2491) !important;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 36, 145, 0.2);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 36, 145, 0.1);
  border-color: #ff2491;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(45deg, #ff2491, #ff6b9d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #ff2491;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #b0b0b0;
  line-height: 1.6;
  font-size: 1rem;
}

/* Individual City Page Styles */
.city-hero {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.city-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.city-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  max-width: 800px;
}
.section-title-1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff2491;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center; 
}
.section-title{
  font-size: 2rem;
  font-weight: 700;
  color: #ff2491;
  margin: 40px 0 20px 0;
  border-bottom: 2px solid #ff2491;
  padding-bottom: 10px;
}
h3{
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff2491;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center; 
}



.city-hero-content h1,
.city-hero-content h2 {
  margin-top: 200px;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ff2491;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.city-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
  line-height: 1.6;
}

/* City Content Sections */
.city-content-section {
  padding: 60px 0;
  background: #0a0a0a;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-card {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.content-card h2 {
  color: #ff2491;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-card h3 {
  color: #ff6b9d;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.content-card p {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.content-card ul {
  color: #b0b0b0;
  line-height: 1.7;
  margin-bottom: 15px;
  padding-left: 20px;
}

.content-card ul li {
  margin-bottom: 8px;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ Section - Removed conflicting styles, using index.css instead */

/* Cities page specific styles - no navbar modifications */

/* Enhanced City Cards */
.city-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border: 1px solid #2a2a2a;
  position: relative;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 36, 145, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.city-card:hover::before {
  opacity: 1;
}

.city-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 36, 145, 0.3);
  border-color: #ff2491;
}

.city-card:hover .city-image img {
  transform: scale(1.1);
}

.city-card:hover .city-overlay {
  opacity: 1;
  background: linear-gradient(45deg, rgba(255, 36, 145, 0.9), rgba(255, 107, 157, 0.8));
}

/* Enhanced Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 36, 145, 0.8), rgba(255, 107, 157, 0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 36, 145, 0.4);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Enhanced FAQ Section - Removed conflicting styles, using index.css instead */

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  text-align: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before, .btn-secondary::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 ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, #ff2491, #ff6b9d);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 36, 145, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 36, 145, 0.6);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid #ff2491;
}

.btn-secondary:hover {
  background: #ff2491;
  transform: translateY(-3px) scale(1.05);
  color: white;
  box-shadow: 0 15px 35px rgba(255, 36, 145, 0.4);
}

/* Enhanced Search and Filter */
.cities-search {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.cities-search input {
  width: 100%;
  padding: 20px 25px 20px 60px;
  border: 2px solid #3a3a3a;
  border-radius: 50px;
  background: #1a1a1a;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cities-search input:focus {
  outline: none;
  border-color: #ff2491;
  box-shadow: 0 0 20px rgba(255, 36, 145, 0.3);
}

.cities-search i {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff2491;
  font-size: 1.2rem;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #3a3a3a;
  border-radius: 50%;
  border-top-color: #ff2491;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .city-card {
    margin: 0 10px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .content-card {
    padding: 25px;
    margin: 0 10px 20px;
  }
  
  .city-hero-content h1,
  .city-hero-content h2 {
    font-size: 2.2rem;
  }
  
  .image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .city-content {
    padding: 20px;
  }
  
  .content-card {
    padding: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
}
