body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  background: #fff9f0;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ff9933;
  padding: 15px 30px;
}

header .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  transition: background 0.3s;
}

nav ul li a:hover, .active {
  background: #cc6600;
  border-radius: 5px;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: url('../images/temple-bg.jpg') center/cover no-repeat;
  color: white;
  text-shadow: 1px 1px 3px black;
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ffcc33;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

.features {
  display: flex;
  justify-content: space-around;
  padding: 50px 20px;
  background: #f5f5f5;
}

.feature {
  width: 30%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.quote {
  text-align: center;
  padding: 40px 20px;
  background: #fff3e0;
  font-style: italic;
}

footer {
  text-align: center;
  padding: 20px;
  background: #ff9933;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  transition: background 0.3s;
}

nav ul li a:hover, .active {
  background: #cc6600;
  border-radius: 5px;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #ff9933;
    position: absolute;
    top: 60px;
    left: 0;
  }
  nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .features {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* === Daily Quote Animation === */
#daily-quote {
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

#daily-quote.fade-out {
  opacity: 0;
}

/* === FESTIVAL GRID === */
.festival-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.festival-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}

.festival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.festival-card img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.festival-card h3 {
  color: #d97706;
  margin-bottom: 10px;
}

.festival-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

/* === MODAL (Generic for Future Reuse) === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.modal[style*="display: flex"] {
  display: flex;
}
.modal-content {
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 24px;
  max-width: 500px;
  width: 90vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  position: relative;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

.modal-content h2 {
  color: #d97706;
}

.modal-content img {
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2em;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: red;
}

.share-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 15px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.share-btn:hover {
  background-color: #ddd;
}

.card-share-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.card-share-btn:hover {
  background: #ffd700;
  color: #000;
}

#shareCopy {
  background-color: #6c757d;
  border: none;
  cursor: pointer;
} 

.ref-link {
  color: #2196F3;
  text-decoration: underline;
  font-weight: 500;
  margin-top: 10px;
  display: inline-block;
}
.ref-link:hover {
  color: #1769aa;
}

.share-buttons {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.share-buttons h4 {
  margin: 0 10px 0 0;
  font-size: 1em;
}
.share-buttons a, .share-buttons button {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.2s;
}
.share-buttons .whatsapp,
.share-buttons .twitter,
.share-buttons .facebook,
.share-buttons .telegram {
  background: none;
  color: inherit;
}
.share-buttons a:hover, .share-buttons button:hover {
  background: none;
}