/* Swadeshi Mela by Dtribals - Style Sheet */

/* Color Variables */
:root {
  --primary-green: #2e7d32;
  --accent-yellow: #fbc02d;
  --tribal-red: #b71c1c;
  --mud-brown: #5d4037;
  --cream-bg: #fef9e7;
  --dark-text: #212121;
  --white: #ffffff;
  --green-overlay: rgba(46, 125, 50, 0.7);
}

/* General Body */
body {
  background-color: var(--cream-bg);
  color: var(--dark-text);
  font-family: 'Poppins', sans-serif;
}

/* Header */
.navbar {
  background-color: var(--primary-green);
}
.navbar .nav-link,
.navbar-brand {
  color: var(--white) !important;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--green-overlay);
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  text-align: center;
}

/* Buttons */
.btn-yellow {
  background-color: var(--accent-yellow);
  color: var(--dark-text);
  font-weight: 600;
}
.btn-yellow:hover {
  background-color: #f9b000;
}

/* Cards */
.card-title {
  color: var(--tribal-red);
}
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--mud-brown);
  color: var(--white);
  padding: 40px 20px;
}

/* Overlay Card (Custom) */
.overlay-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 300px;
}
.overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-card .overlay {
  position: absolute;
  inset: 0;
  background-color: var(--green-overlay);
}
.overlay-card .card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}

.powered-by-label {
  position: absolute;
  top: -25px;
  left: -65px;
  font-size: 12px;
    padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
}

.card-img-top {
    height: 200px;              
    object-fit: cover;         
    width: 100%;              
  }

.gallery-item img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}
