/* === Global Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
  background-color: rgb(0, 0, 0);
  color: white;
}

/* === Navbar === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fffffffe;
    padding: 1rem 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007BA7;
}

.logo span {
    color: #007BA7;
}

.navbar nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar nav a:hover {
    color: #0056b3;
}

/* === Hero Section === */
.hero {
    height: 70vh;
    background: linear-gradient(to bottom right, #007BA7, #e2eafc);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1b1b2f;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-btn {
    background-color: #0056b3;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

.cta-btn:hover {
    background-color: #003d80;
}

/* === Categories === */
.categories {
    text-align: center;
    padding: 4rem 2rem;
}

.categories h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: black;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
}


/* === Footer === */
footer {
    text-align: center;
    background: #1b1b2f;
    color: white;
    padding: 1.5rem;
    margin-top: 3rem;
}
/* General Page Styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f6fa;
  margin: 0;
  color: #2c3e50;
}

.back-btn {
  background: none;
  border: none;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}

.back-btn:hover {
  transform: translateX(-4px);
  color: #007aff;
}

/* Category Grid */
.categories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 40px;
}

.category-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.category-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.category-card h2 {
  margin: 15px 0;
  font-size: 1.1rem;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
  .categories-container {
    padding: 20px;
    gap: 15px;
  }

  .category-card img {
    height: 150px;
  }
}



/* =======================================
   Interactive Effects for Categories Page
========================================== */

/* Fade-in Animation */
/*
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
*/

/* Hover Glow */
.category-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, box-shadow 0.5s ease-in-out;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/*
body {
  animation: fadeBody 0.8s ease-in;
}

@keyframes fadeBody {
  from { opacity: 0; }
  to { opacity: 1; }
}
*/

/* =======================================
   Hero Banner (Categories Page)
========================================== */

.hero-banner {
  position: relative;
  width: 100vw;       /* Full viewport width */
  height: 60vh;       /* 60% of viewport height, adjust if needed */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-video,
.hero-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Keeps the image/video from stretching */
  z-index: 1;
  filter: brightness(65%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  width: 90%;
  max-width: 800px;
  margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

a {
  color: #0d0e0e;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
    color: #007aff;
}

.logo .CF_Gold {
    color: #C8A758;
}
