/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #8B4513;
  --secondary-color: #A0522D;
  --accent-color: #D2B48C;
  --text-gradient: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #D2B48C 100%);
  --text-color: #8B4513;
  --text-color-light: #A0522D;
  --text-color-lighter: #D2B48C;
  --light-bg: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --transition: all 0.3s ease;
  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'Poppins', sans-serif;
}

body {
  font-family: var(--body-font);
  line-height: 1.8;
  color: var(--text-color);
  background: linear-gradient(135deg, 
    rgba(30, 60, 114, 0.1) 0%, 
    rgba(42, 82, 152, 0.1) 50%, 
    rgba(75, 108, 183, 0.1) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: #1a237e;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/background.jpg') center/cover no-repeat;
  filter: brightness(0.2) contrast(1.2);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--white);
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-container {
  position: relative;
  margin-bottom: 40px;
}

.peacock-feather {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  animation: float 3s ease-in-out infinite;
}

.swagatam {
  font-family: var(--heading-font);
  font-size: 4rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.temple-name {
  font-family: var(--heading-font);
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  position: relative;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  width: 100%;
  text-align: center;
}

.tagline {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 40px;
  position: relative;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.feature h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature p {
  color: var(--text-color-light);
}

/* Events Section */
.events-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.05);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.event-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.event-card .event-date {
  color: var(--text-color-light);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.event-card .event-description {
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.event-card .event-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--text-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.event-card .event-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Section */
.gallery-section {
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.05);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.contact-info h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.contact-info p {
  color: var(--text-color-light);
  margin-bottom: 15px;
}

.contact-info a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent-color);
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--body-font);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--text-gradient);
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Scroll Buttons */
.scroll-down {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-up {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--text-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-up.visible {
  opacity: 1;
  visibility: visible;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }
  
  .peacock-feather {
    width: 120px;
    height: 120px;
  }
  
  .swagatam {
    font-size: 3rem;
  }
  
  .temple-name {
    font-size: 2.5rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
} 