/* Reset and Base */

:root {
    --orange: #ff6600;
    --dark-bg: #25262a;
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
}

.navbar {
  background-color: var(--dark-bg);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand .logo:hover {
  transform: scale(1.05);
}

/* Menu Styles */
.navbar-menu {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  margin-right: 2rem;
  gap: 1.5rem;
}

.menu li {
  position: relative;
}

.menu li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: var(--orange);
}

/* Prayer Button */
.pray-btn {
  background-color: #f3702a;
  color: orange;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
}

.pray-btn:hover {
  background-color: #e55c00;
  transform: translateY(-2px);
}


/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(to right, rgba(117, 0, 70, 0.5), rgba(255, 255, 255, 0.05)),
              url('../images/HomepageHeader.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.hero-overlay {
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  gap: 2rem;
}

.hero-left h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.hero-right {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.hero-right p {
  font-size: clamp(1rem, 10vw, 1.2rem);
  line-height: 1.5;
}

.start-btn {
  text-align: center;
  border: 2px solid white;
  padding: 0.8rem 1.5rem;
  border-radius: 1.5rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.start-btn:hover {
  background: white;
  color: #000;
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-overlay {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-right {
    max-width: 100%;
    align-items: center;
  }
  
  .start-btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 1rem;
  }
  
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .menu {
    flex-direction: column;
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
  
  .pray-btn {
    margin-top: 1rem;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
    margin-top: 0.5rem;
  }
  
  .dropdown-menu a {
    color: var(--text-light);
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  transition: transform 0.2s ease;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  top: 8px;
}

.hamburger.active .hamburger-inner {
  background-color: transparent;
}

.hamburger.active .hamburger-inner::before {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-inner::after {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* Hero Section */
.hero-section {
  background: url('./images/aboutPageHeader.jpg') center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.overlay {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.3rem;
}

/* Content Sections */
.container {
  padding: 4rem 10%;
}
.section {
  margin-bottom: 3rem;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color:var(--orange);
}
.section p {
  font-size: 1.1rem;
  text-align: justify;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background:#25262a;
  color: white;
  margin-top: 3rem;
}

/* Animations */
/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}
.fade-in.delay {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .container {
    padding: 2rem;
  }
}
