/* Clean Homepage Styles */

/* Hero Section */
.hero-section {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920&h=1080&fit=crop");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* Search Container */
.search-container {
  max-width: 600px;
  margin: 0 auto 2rem;
  background: white;
  border-radius: 50px;
  padding: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-input {
  border: none;
  background: transparent;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  flex: 1;
  outline: none;
  color: #2c3e50;
}

.search-input::placeholder {
  color: #6c757d;
}

.search-btn {
  background: #2c3e50;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-btn:hover {
  background: #1a252f;
  transform: translateY(-1px);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn-light.action-btn {
  background: white;
  color: #2c3e50;
}

.btn-warning.action-btn {
  background: #ffc107;
  color: #212529;
}

.btn-info.action-btn {
  background: #17a2b8;
  color: white;
}

/* Featured Places Section */
#featured-places {
  padding: 4rem 0;
  background: white;
}

.featured-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  height: 200px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.featured-card-content {
  width: 100%;
}

.featured-card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.featured-rating {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-location {
  color: #6c757d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.featured-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.featured-tag {
  background: #2c3e50;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Lagaw sa NIR Section */
#lagaw-categories {
  padding: 4rem 0;
  background: #f8f9fa;
}

.lagaw-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  text-align: center;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-item,
.category-item-secondary {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  display: block;
}

.category-item:hover,
.category-item-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #2c3e50;
  text-decoration: none;
}

.category-item.active {
  background: #2c3e50;
  color: white;
}

.category-name,
.category-name-secondary {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.category-item:hover .category-name,
.category-item-secondary:hover .category-name-secondary {
  color: #2c3e50;
}

.category-item.active .category-name {
  color: white;
}

/* Search and Filter Section */
.search-filter-section {
  margin-bottom: 3rem;
}

.search-filter-container {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
}

.search-places {
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  background: white;
  font-size: 1rem;
  width: 100%;
}

.search-places:focus {
  border-color: #2c3e50;
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
  outline: none;
}

.filter-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  background: white;
  min-width: 150px;
}

.filter-select:focus {
  border-color: #2c3e50;
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
  outline: none;
}

.search-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 120px;
}

/* Category Button Active State */
.category-btn.active {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.category-btn.active .category-name,
.category-btn.active .category-name-secondary {
  color: white;
}

/* Small Category Buttons - Horizontal Layout */
.category-buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.category-btn-small {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  min-width: auto;
  flex-shrink: 0;
}

.category-btn-small:hover {
  background: #f8f9fa;
  border-color: #2c3e50;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.15);
}

.category-btn-small.active {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  border-color: #2c3e50;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(44, 62, 80, 0.3);
}

.category-name-small {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  color: inherit;
}


/* Section Styling */
section {
  padding: 4rem 0;
}

section h2 {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
}

section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #2c3e50;
}

/* Footer - Using pearl footer from includes/footer.php */
/* Commented out to allow pearl footer styles to apply */
/*
footer {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-description {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: white;
}

.footer-contact p {
  color: #bdc3c7;
  margin-bottom: 0.5rem;
}

.footer-divider {
  border-color: #34495e;
  margin: 2rem 0 1rem;
}

.footer-bottom {
  color: #bdc3c7;
}
*/

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #3498db;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid-secondary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .search-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
  }

  .search-input {
    text-align: center;
  }

  .search-btn {
    width: 100%;
    border-radius: 15px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-btn {
    width: 100%;
    max-width: 300px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid-secondary {
    grid-template-columns: 1fr;
  }

  .search-filter-container {
    flex-direction: column;
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }
  
  .search-btn {
    width: 100%;
  }
  
  /* Responsive category buttons */
  .category-buttons-container {
    gap: 0.25rem;
    padding: 0.25rem 0;
  }
  
  .category-btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }


  .lagaw-title {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .featured-card {
    padding: 1.5rem;
    height: auto;
  }

  .featured-card-info {
    flex-direction: column;
    gap: 1rem;
  }

  .lagaw-title {
    font-size: 2rem;
  }
}