/*
* Goddess Temple - Main Stylesheet
* Purple and white color scheme
*/

:root {
  --primary-color: #8a2be2;
  --primary-light: #a15ae8;
  --primary-dark: #6a1cb2;
  --white: #ffffff;
  --light-gray: #f0f0f0;
  --dark-gray: #333333;
  --text-color: #333333;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.service-cta {
  margin-top: 30px;
  text-align: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--dark-gray);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-gray);
  transition: var(--transition);
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 25%;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding-top: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.7;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
  transition: var(--transition);
}

.service-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.service-item {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: var(--light-gray);
  transition: var(--transition);
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-note {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(138, 43, 226, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

/* About Section */
.about {
  background-color: var(--light-gray);
}

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

.about-text p {
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Gallery Section */
.gallery {
  background-color: var(--white);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 250px;
}

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

.video-container {
  margin-top: 40px;
  text-align: center;
}

.video-container video {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Connect Section */
.connect {
  background-color: var(--light-gray);
}

.connect-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.platform-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-10px);
}

.platform-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.platform-card h3 {
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  background-color: var(--white);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-form {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

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

.success-message {
  background-color: rgba(138, 43, 226, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.success-message i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.success-message h3 {
  margin-bottom: 10px;
}

.success-message p {
  color: var(--dark-gray);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border: 5px solid white;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }
}
