/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
}

:root {
    --heading-font: 'Noto Sans Kannada', sans-serif;
    --body-font: 'Noto Sans Kannada', sans-serif;
    --line-height: 1.8;
}

h1, h2, h3 {
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
}
body {
    background-color: #f8f5f0;
    color: #333;
}
  header {
      background: linear-gradient(to right, var(--primary-color), #A52A2A);
      color: var(--secondary-color);
      text-align: center;
      padding: 20px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  header h1 {
      font-size: 1.8em;
  }

  header p {
      font-size: 1.2em;
  }
    nav {
        background: linear-gradient(45deg, #800000, #A52A2A);
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 100;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    nav a {
        color: white;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    nav a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .menu-toggle {
        position: fixed;
        left: 20px;
        top: 20px;
        z-index: 100;
        width: 40px;
        height: 40px;
        background: linear-gradient(45deg, #800000, #A52A2A);
        border: none;
        border-radius: 50%;
        display: none;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .menu-toggle .bar {
        width: 20px;
        height: 2px;
        background: white;
        position: relative;
        transition: all 0.3s ease;
    }

    .menu-toggle .bar::before,
    .menu-toggle .bar::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: white;
        transition: all 0.3s ease;
    }

    .menu-toggle .bar::before {
        transform: translateY(-6px);
    }

    .menu-toggle .bar::after {
        transform: translateY(6px);
    }

    .menu-toggle.active .bar {
        background: transparent;
    }

    .menu-toggle.active .bar::before {
        transform: rotate(45deg);
    }

    .menu-toggle.active .bar::after {
        transform: rotate(-45deg);
    }

    @media (max-width: 768px) {
        nav {
            justify-content: space-between;
        }
      
        nav a {
            display: none;
        }
      
        .menu-toggle {
            display: flex;
        }
      
        nav.active a {
            display: block;
            width: 100%;
            text-align: center;
            padding: 15px;
        }
    }    main {
        padding: 20px;
    }

    section {
        margin: 20px 0;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #fff;
    }
  h2 {
      color: var(--primary-color);
      margin-bottom: 10px;
      font-size: 1.5em;
      border-bottom: 2px solid var(--secondary-color);
      padding-bottom: 10px;
  }

  footer {
      text-align: center;
      padding: 10px;
      background: var(--text-dark);
      color: var(--bg-light);
      border-top: 3px solid var(--secondary-color);
      font-size: 0.9em;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    header p {
        font-size: 1em;
    }

    nav a {
        font-size: 0.9em;
    }
}
  /* Add styles for new features section */
  .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      padding: 2rem;
  }

  .feature-card {
      background: linear-gradient(145deg, #ffffff, #f3f3f3);
      border-radius: 15px;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  }

  .feature-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
  }

  .feature-card h3 {
      color: #800000;
      margin-bottom: 1rem;
      font-size: 1.4rem;
  }

  .feature-card p {
      color: #333;
      line-height: 1.6;
  }

  @media (max-width: 768px) {
      .features-grid {
          grid-template-columns: 1fr;
          padding: 1rem;
      }
  }}/* Improve readability */
section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Add styles for important dates */
.important-date {
    font-weight: bold;
    color: #800000;
    background: #ffd70033;
    padding: 5px 10px;
    border-radius: 3px;
}

.announcement {
    background: #fff8e7;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 5px solid #800000;
}

.highlight-date, .highlight-time {
    color: #800000;
    font-weight: bold;
    font-size: 1.1em;
}

.history-block, .deities, .naga-presence {
    margin: 25px 0;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.deities ul {
    list-style-type: none;
    padding-left: 20px;
}

.deities li {
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid #ffd70033;
}

section h3 {
    color: #006400;
    margin: 15px 0;
    font-size: 1.3em;
}

.announcement-details {
    background: #fff8e7;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-announcement {
    line-height: 1.8;
    font-size: 1.1em;
}

.event-date, .event-time {
    color: #800000;
    font-weight: bold;
    padding: 0 5px;
    background: #ffd70033;
    border-radius: 4px;
}

.contact-info {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.contact-person {
    margin-top: 15px;
}

.call-button {
    display: inline-flex;
    align-items: center;
    background: #006400;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.call-button:hover {
    background: #008000;
}

.phone-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.hero-section {
    background-image: url('temple-image.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section {
    background-image: url('temple-image.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-button {
    background: linear-gradient(45deg, #800000, #A52A2A);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.modern-button:hover {
    transform: translateY(-2px);
}
  .image-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      padding: 20px;
      background: #fff;
      border-radius: 10px;
      margin: 20px;
  }

  .gallery-item {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      aspect-ratio: 4/3;
      cursor: zoom-in;
  }

  .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1000;
      padding: 20px;
  }

  .lightbox.active {
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .lightbox img {
      max-width: 90%;
      max-height: 90vh;
      object-fit: contain;
  }

  .close-lightbox {
      position: absolute;
      top: 20px;
      right: 30px;
      color: white;
      font-size: 30px;
      cursor: pointer;
  }

  .zoom-controls {
      position: fixed;
      bottom: 20px;
      right: 20px;
  }

  .zoom-controls button {
      background: white;
      border: none;
      padding: 10px 15px;
      margin: 0 5px;
      border-radius: 5px;
      cursor: pointer;
  }
  .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
  }

  .gallery-item:hover img {
      transform: scale(1.1);
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
      .image-gallery {
          grid-template-columns: repeat(2, 1fr);
          gap: 10px;
          padding: 10px;
      }
  }

  @media (max-width: 480px) {
      .image-gallery {
          grid-template-columns: 1fr;
      }
  }

.gallery-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #800000, #A52A2A);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.camera-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Add these new styles */
.site-wrap {
    position: relative;
    overflow-x: hidden;
}

.offcanvas-toggle {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 100;
    width: 40px;
    height: 40px;
    background: #800000;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.offcanvas_menu {
    position: fixed;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100vh;
    background: linear-gradient(45deg, #800000, #A52A2A);
    padding: 20px;
    z-index: 99;
    transition: 0.3s all ease;
}

.offcanvas_menu.active {
    right: 0;
}

.offcanvas_menu ul {
    padding: 0;
    margin-top: 50px;
}

.offcanvas_menu ul li {
    list-style: none;
    margin-bottom: 10px;
}

.offcanvas_menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.offcanvas_menu ul li a:hover {
    padding-left: 10px;
    color: #ffd700;
}

.developer-credit {
    margin-top: 15px;
    font-size: 0.9em;
    color: #666;
}

.developer-credit a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: #000;
}

.video-description {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
    padding: 0 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}
  .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.8);
      border: none;
      padding: 15px 20px;
      cursor: pointer;
      font-size: 20px;
      border-radius: 5px;
      z-index: 1001;
  }

  .prev-btn {
      left: 20px;
  }

  .next-btn {
      right: 20px;
  }

  .nav-btn:hover {
      background: rgba(255, 255, 255, 0.9);
  }
