/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4f46e5;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #334155;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  font-size: 1.5rem;
  color: #a855f7;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #a855f7;
}

/* Footer */
.footer {
  background: #0f172a;
  border-top: 1px solid #334155;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: #a855f7;
  font-size: 1.5rem;
}

.footer-logo h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-description {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #a855f7;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
/* .country-holidays{
  display: flex;
} */

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2rem;

  }

  .hero-description {
    font-size: 0.7rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  

  .trending-card {
    padding: 0.75rem;
  }

  .featured-card {
    flex-direction: column;
  }

  .featured-content {
    padding: 0.5rem;
  }
  .carousel-slide{
          max-width: 320px;
        margin: 0 auto;
}
.featured-image {
    position: relative;
    height: 10rem;
}

  .featured-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .featured-buttons {
    flex-direction: column;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .month-selector {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .month-btn {
    padding: 0.75rem 0.5rem;
  }

  .month-btn span {
    font-size: 0.75rem;
  }

  .calendar-holidays {
    grid-template-columns: 1fr;
  }

  .countries-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

.country-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
}
  .foods-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .interactive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-input {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 1.5rem;
  }
    .carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    /* margin-top: 4rem; */
}
  .country-content {
    padding: 0.5rem;
}

  .container {
    padding: 0 0.75rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    /* flex-direction: column;
        align-items: center;
        padding: 0 1rem; */
    /* display: flex;
    flex-direction: row; */
  }

  .btn {
           width: 60%;
    max-width: 300px;
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .trending-grid {
    grid-template-columns: 1fr;
  }

  .month-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .foods-grid {
    grid-template-columns: 1fr;
  }

  .interactive-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}