/* ===== TEMPLE HEADER STYLES ===== */


/* CSS Icons using Unicode and custom styles */

.icon-phone::before {
  content: "📞";
}

.icon-clock::before {
  content: "🕐";
}

.icon-weather::before {
  content: "🌤️";
}

.icon-facebook::before {
  content: "📘";
  color: #1877f2;
}

.icon-instagram::before {
  content: "📷";
  color: #e4405f;
}

.icon-linkedin::before {
  content: "💼";
  color: #0077b5;
}

.icon-twitter::before {
  content: "🐦";
  color: #1da1f2;
}

.icon-youtube::before {
  content: "📺";
  color: #ff0000;
}

.icon-search::before {
  content: "🔍";
}

.icon-user::before {
  content: "👤";
}

.icon-heart::before {
  content: "❤️";
}

.icon-calendar::before {
  content: "📅";
}

.icon-video::before {
  content: "📹";
}


/* Reset and Base Styles */

.temple-header * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.temple-container {
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 50px;
  max-width: 100%;
  width: 100%;
}


/* Main Header Container */

.temple-header {
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: "Arial", sans-serif;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Topbar Styles */

.temple-topbar {
  /* background: linear-gradient(135deg, #b85d31, #d4691a); */
  /* background: rgb(154 52 18 / var(--tw-bg-opacity, 1)); */
  background: #7f1d1d;
  color: white;
  padding: 6px 0;
  font-size: 13px;
}

.temple-topbar .temple-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temple-topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.temple-topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
}

span#currentTime {
  text-transform: uppercase;
}

.temple-topbar-item i {
  font-size: 13px;
}

.temple-topbar-item svg {
  font-size: 13px;
}

.temple-topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}


/* Language Selector */

.temple-language-selector {
  position: relative;
}

.temple-language-dropdown {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  outline: none;
  transition: all 0.3s ease;
}

.temple-language-dropdown:hover,
.temple-language-dropdown:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.temple-language-dropdown option {
  background: #b85d31;
  color: white;
}


/* Social Icons */

.temple-social-icons {
  display: flex;
  gap: 10px;
}

.temple-social-icons a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.temple-social-icons a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}


/* Search Container */

.temple-search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.temple-search-input {
  padding: 6px 35px 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50px;
  width: 140px;
  font-size: 13px;
  outline: none;
  transition: all 0.3s ease;
}

.temple-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.temple-search-input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  width: 180px;
}

.temple-search-container i {
  position: absolute;
  right: 10px;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.temple-search-container svg {
  position: absolute;
  right: 15px;
}


/* Login Button */

.temple-login-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.temple-login-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  color: #fff;
}


/* Main Header */

.temple-main-header {
  background: white;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.temple-main-header .temple-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Logo Section */

.temple-logo-section {
  flex-shrink: 0;
}

.temple-logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.temple-logo-link:hover {
  transform: scale(1.02);
}

.temple-logo-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.temple-logo {
  width: 75px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.om-symbol {
  font-size: 26px;
  color: white;
  font-weight: bold;
}

.temple-logo-text h1 {
  font-size: 20px;
  color: #b85d31;
  margin-bottom: 2px;
  font-weight: 700;
  line-height: 1.2;
}

.temple-logo-text p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.2;
}


/* Main Navigation */

.temple-main-nav {
  flex: 1;
  display: flex;
  justify-content: end;
}

.temple-nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.temple-nav-item {
  position: relative;
}

.temple-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  padding: 0px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
}

.temple-nav-link:hover,
.temple-nav-link.active {
  color: #b85d31;
}

.temple-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.temple-nav-link:hover::after,
.temple-nav-link.active::after {
  transform: scaleX(1);
}


/* Header Actions */

.temple-header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.temple-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.temple-btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.temple-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.temple-btn-secondary {
  background: transparent;
  border: 2px solid #ff6b35;
  color: #ff6b35;
}

.temple-btn-secondary:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}


/* Mobile Menu Button */

.temple-mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.temple-mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.temple-mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.temple-mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* Mobile Navigation */

.temple-mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.temple-mobile-nav.active {
  display: block;
}

.temple-mobile-nav-list {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.temple-mobile-nav-item {
  margin-bottom: 5px;
}

.temple-mobile-nav-link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}

.temple-mobile-nav-link:hover,
.temple-mobile-nav-link.active {
  color: #b85d31;
}


/* Announcement Bar */

.temple-announcement-bar {
  background: linear-gradient(135deg, #fff8dc, #ffeaa7);
  padding: 10px 0;
  border-bottom: 1px solid rgba(184, 93, 49, 0.2);
}

.temple-announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.temple-live-status {
  display: flex;
  align-items: center;
  gap: 15px;
}

.temple-live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.live-text {
  font-weight: 600;
  color: #2e7d32;
  font-size: 14px;
}

.temple-next-aarti {
  font-size: 14px;
  color: #8b4513;
}

.temple-watch-live-btn {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.temple-watch-live-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}


/* Responsive Design */

@media (max-width: 1200px) {
  .temple-nav-list {
    gap: 20px;
  }

  .temple-nav-link {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .temple-main-nav {
    display: none;
  }

  .temple-mobile-menu-btn {
    display: flex;
  }

  .temple-header-actions {
    gap: 8px;
  }

  .temple-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .temple-topbar .temple-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }

  .temple-topbar-left {
    gap: 15px;
  }

  .temple-topbar-right {
    gap: 10px;
  }

  .temple-container {
    padding: 0 15px;
  }

  .temple-logo-text h1 {
    font-size: 18px;
  }

  .temple-logo-text p {
    font-size: 11px;
  }

  .temple-logo-icon {
    width: 45px;
    height: 45px;
  }

  .om-symbol {
    font-size: 20px;
  }

  .temple-announcement-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .temple-live-status {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .temple-topbar-item span:not(:first-child) {
    display: none;
  }

  .temple-search-input {
    width: 100px;
  }

  .temple-search-input:focus {
    width: 120px;
  }

  .temple-btn span {
    display: none;
  }

  .temple-btn {
    padding: 8px 12px;
  }

  .temple-social-icons {
    gap: 6px;
  }

  .temple-social-icons a {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
}

.temple-header {
  height: auto;
  /* overflow: hidden; */
}


/* Submenu Styles */

.temple-nav-item.has-submenu {
  position: relative;
}

.temple-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.temple-nav-item:hover .temple-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.temple-submenu-item {
  padding: 0;
}

.temple-submenu-link {
  display: block;
  padding: 8px 20px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.temple-submenu-link:hover,
.temple-submenu-link.active {
  color: #b85d31;
  background: rgba(184, 93, 49, 0.05);
}

.submenu-indicator {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.temple-nav-item:hover .submenu-indicator {
  transform: rotate(180deg);
}


/* Mobile Submenu Styles */

.temple-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 20px;
  list-style: none;
}

.temple-mobile-nav-item.has-submenu.active .temple-mobile-submenu {
  max-height: 500px;
}

.temple-mobile-submenu-item {
  padding: 0;
}

.temple-mobile-submenu-link {
  display: block;
  padding: 12px 0;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.temple-mobile-submenu-link:hover,
.temple-mobile-submenu-link.active {
  color: #b85d31;
}


/* In header.css */

.temple-submenu-link.active-anchor {
  color: #b85d31;
  background: rgba(184, 93, 49, 0.1);
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}


/* NEw */

.temple-topbar {
  background: #ac2623;
}

.temple-nav-link {
  /* color: #880000 !important; */
  color: #ac2623 !important;
}

.temple-nav-link::after {
  /* background: #880000 !important; */
  /* background: #f59e0b !important; */
  background: #ac2623 !important;
}

.temple-nav-link:hover,
.temple-nav-link.active {
  color: #ac2623 !important;
  font-weight: bold !important;
}