/* /css/index.css */
/* container utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1px;
}

/* Hero (based on gallery-hero) */
.hero {
  background: linear-gradient(135deg, #f7eee5 0%, #faf0e4 100%);
  color: #4B2E2E;
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 70px; /* account for fixed nav */
}
.hero-content h1 {
  font-size: 5.5rem;
  margin-bottom: 0rem;
  font-weight: 450;
}
.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}
.hero-button {
  display: inline-block;
  margin-top: 20px;
  padding: 1rem 2rem;
  background: #c6a27e;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}
.hero-button:hover {
  background: #b18f6a;
}

/* Featured Section */
.featured-section {
  padding: 4rem 0;
  min-height: 60vh;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 2rem;
  font-weight: 600;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Card styles (copy gallery-card) */
.featured-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
}
.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.featured-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-card:hover .featured-image img {
  transform: scale(1.08);
}
.featured-info {
  padding: 1.5rem;
}
.featured-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2d3748;
  line-height: 1.3;
}
.featured-description {
  color: #718096;
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
.featured-category {
  display: inline-block;
  background: linear-gradient(135deg, #2c5282, #319795);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Loading spinner */
.loading-spinner {
  text-align: center;
}
.spinner {
  border: 4px solid rgba(0,0,0,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border-left-color: #4B2E2E;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .featured-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .featured-grid { grid-template-columns: 1fr; gap: 1rem; padding: 0 10px; }
}

/* tiny spinner for the dropdown */
.dropdown-menu .loading-cat {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}
.spinner-small {
  border: 3px solid rgba(0,0,0,0.1);
  border-left-color: #4B2E2E;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

/* reuse your existing @keyframes spin from index.css */


.dropdown {
  position: relative;
}
.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.dropdown.active .dropdown-menu {
  display: block;
}

/* Explore All Button */
.explore-all-container {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
}
.explore-all-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #c6a27e;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(198, 162, 126, 0.3);
}
.explore-all-button:hover {
  background: #b18f6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 162, 126, 0.4);
}
