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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  color: #1a5f3f;
  text-align: center;
  margin-bottom: 1rem;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

.decoration-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.title-decoration i {
  color: #d4af37;
  font-size: 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 95, 63, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a5f3f;
}

.nav-brand i {
  color: #d4af37;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #1a5f3f;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: #d4af37;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #1a5f3f;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  height: auto;
  background: linear-gradient(
      135deg,
      rgba(26, 95, 63, 0.8),
      rgba(212, 175, 55, 0.6)
    ),
    url("imgs/kabba.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-icon {
  font-size: 4rem;
  color: #d4af37;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.9);
  color: #1a5f3f;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(45deg, #1a5f3f, #2d8f5f);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
  background: linear-gradient(45deg, #2d8f5f, #1a5f3f);
}

/* Hero Decorations */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.crescent {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50% 50% 50% 0;
  animation: float 6s ease-in-out infinite;
}

.crescent-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.crescent-2 {
  top: 70%;
  right: 15%;
  animation-delay: 3s;
}

.star {
  position: absolute;
  color: rgba(212, 175, 55, 0.4);
  font-size: 1.5rem;
  animation: twinkle 4s ease-in-out infinite;
}

.star-1 {
  top: 15%;
  right: 20%;
  animation-delay: 1s;
}

.star-2 {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
}

.star-3 {
  top: 30%;
  left: 80%;
  animation-delay: 4s;
}

/* Packages Section */
.packages {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  margin-top: 0;
}

.package-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-header {
  background: linear-gradient(135deg, #1a5f3f, #2d8f5f);
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.package-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M10,10 L15,5 L20,10 L15,15 Z" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
  opacity: 0.1;
}

.package-icon {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 1rem;
  position: relative;
}

.package-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.package-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
}

.currency {
  font-size: 1.5rem;
  color: #d4af37;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: #d4af37;
}

.per-person {
  font-size: 1.2rem;
  opacity: 0.9;
}

.package-content {
  padding: 2.5rem 2rem;
}

.inclusions-title {
  font-size: 1.5rem;
  color: #1a5f3f;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

/* Make the last inclusion item span two columns */
.inclusions-grid .inclusion-item:last-child {
  grid-column: span 2;
}

.inclusion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(26, 95, 63, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid #d4af37;
}

.inclusion-item:hover {
  background: rgba(26, 95, 63, 0.1);
  transform: translateX(5px);
}

.inclusion-item i {
  color: #1a5f3f;
  font-size: 1.2rem;
  min-width: 20px;
}

.package-footer {
  padding: 2rem;
  text-align: center;
  background: rgba(26, 95, 63, 0.05);
}

.book-now-btn {
  background: linear-gradient(45deg, #d4af37, #e6c466);
  color: #1a5f3f;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.book-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  background: linear-gradient(45deg, #e6c466, #d4af37);
}

/* Departures Section */
.departures {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a5f3f 0%, #2d8f5f 100%);
  color: white;
}

.departures .section-title {
  color: white;
}

.departures .decoration-line {
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.departures-note {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

.departures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.departure-month {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.departure-month:hover {
  transform: translateY(-5px);
}

.month-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.month-header i {
  color: #d4af37;
  font-size: 1.5rem;
}

.month-header h3 {
  font-size: 1.8rem;
  color: #d4af37;
}

.departure-dates {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.date-item {
  background: rgba(212, 175, 55, 0.2);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.date-item:hover {
  background: rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
}

/* Special Ramadan Section */
.special-ramadan {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.special-ramadan .month-header {
  margin-bottom: 1.5rem;
}

.special-ramadan .month-header h3 {
  font-size: 2rem;
  color: #d4af37;
}

.special-ramadan .month-header i {
  font-size: 2rem;
  color: #d4af37;
}

.special-ramadan .date-item {
  background: rgba(26, 95, 63, 0.8);
  border: 1px solid #d4af37;
  padding: 1.2rem 2rem;
}

.special-note {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-weight: 600;
}

/* About Section */ /* About Section */
.about {
  padding: 5rem 0;
  background: white;
}

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

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature i {
  color: #1a5f3f;
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.feature h4 {
  color: #1a5f3f;
  margin-bottom: 0.5rem;
}

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

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mosque-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  vertical-align: bottom;
}

.about-image:hover .mosque-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 95, 63, 0.8),
    rgba(212, 175, 55, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content i {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 1rem;
}

.overlay-content p {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-content {
  display: grid;
  gap: 3rem;
}

.primary-contact .contact-card {
  background: linear-gradient(135deg, #1a5f3f, #2d8f5f);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.primary-contact .contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pattern" patternUnits="userSpaceOnUse" width="15" height="15"><circle cx="7.5" cy="7.5" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
  opacity: 0.3;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact-header i {
  color: #d4af37;
  font-size: 2.5rem;
}

.contact-header h3 {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.contact-header h4 {
  font-size: 1.8rem;
  color: #d4af37;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item i {
  color: #d4af37;
  min-width: 20px;
}

.contacts-title {
  font-size: 2rem;
  color: #1a5f3f;
  text-align: center;
  margin-bottom: 2rem;
}

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

.other-contacts .contact-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #d4af37;
}

.other-contacts .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.other-contacts .contact-card i {
  color: #1a5f3f;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.other-contacts .contact-card h4 {
  color: #1a5f3f;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.other-contacts .contact-card p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a5f3f, #0f3b28);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand i {
  color: #d4af37;
  font-size: 1.8rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(45deg, #1a5f3f, #2d8f5f);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .package-header {
    padding: 2rem 1.5rem;
  }

  .package-content {
    padding: 2rem 1.5rem;
  }

  .inclusions-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure last inclusion item doesn't try to span 2 columns on mobile */
  .inclusions-grid .inclusion-item:last-child {
    grid-column: auto;
  }

  .departures-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  /* Improve About image sizing on mobile */
  .about-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .mosque-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Center About features for mobile */
  .about-features {
    align-items: stretch;
    gap: 1rem;
  }

  .feature {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(26, 95, 63, 0.05);
    border-radius: 10px;
  }

  .feature i {
    font-size: 1.3rem;
    margin-top: 0;
  }

  .feature > div {
    flex: 1;
  }

  .feature h4 {
    margin: 0 0 0.25rem 0;
  }

  .feature p {
    margin: 0;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .package-price .amount {
    font-size: 2.5rem;
  }

  /* Slightly reduce package heading sizes on very small screens */
  .package-title {
    font-size: 1.6rem;
  }

  .inclusions-title {
    font-size: 1.3rem;
  }

  .departure-dates {
    flex-direction: column;
    align-items: center;
  }

  .date-item {
    width: 100%;
    max-width: 150px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .back-to-top,
  .nav-toggle {
    display: none;
  }

  .hero {
    height: auto;
    padding: 2rem 0;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }

  .package-card,
  .contact-card {
    border: 2px solid #333;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
