/* Modern Home Page Styles */

/* Global Styles */
* {
    box-sizing: border-box;
  }
  
  body {
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    margin: 0;
    padding: 0;
  }
  
  /* Hero Section */
  .hero-section {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
      url("https://media-cdn.tripadvisor.com/media/photo-c/1280x250/0d/67/26/20/img-20160530-154003-largejpg.jpg") center / cover,
      linear-gradient(135deg, #4A90E2 0%, #64B5F6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
  }
  
  .hero-content {
    z-index: 2;
    text-align: center;
    padding: 2rem;
  }
  
  .hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
  }
  
  .hero-section p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Search Container */
  .search-container {
    max-width: 600px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  .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 {
    gap: 1rem;
  }
  
  .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);
  }
  
  .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .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;
  }
  
  /* 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;
  }
  
  .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;
  }
  
  
  /* Footer - Using pearl footer from includes/footer.php */
  /* Commented out to allow pearl footer styles to apply */
  /*
  footer {
    background: #2c3e50 !important;
    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;
  }
  */
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .category-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  @media (max-width: 992px) {
    .hero-section 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-section h1 {
      font-size: 2.5rem;
    }
  
    .hero-section 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;
    }
  }
  
  @media (max-width: 576px) {
    .hero-section h1 {
      font-size: 2rem;
    }
  
    .hero-section p {
      font-size: 1rem;
    }
  
    .featured-card {
      padding: 1.5rem;
      height: auto;
    }
  
    .featured-card-info {
      flex-direction: column;
      gap: 1rem;
    }
  
    .lagaw-title {
      font-size: 2rem;
    }
  }
  
  /* Scroll to Top Button - Updated to use class-based styling */
  /* Styles are now defined inline in home.php for better visibility and control */
  
  /* Modal Styles */
  .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }
  
  .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
  }
  
  .modal-title {
    font-weight: 600;
    color: #2c3e50;
  }
  
  .btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.5;
  }
  
  .btn-close:hover {
    opacity: 1;
  }
  