/* ===============================
   BASE STYLES
=============================== */
.hidden {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: Georgia;
  background-color: black;
  /*background-color: #111;*/
  margin-top: 120px; /* adjust based on your header height */

}
section {
  scroll-margin-top: 130px; /* adjust to match your fixed header height */
} 

.section-divider {
  border: none;
  height: 4px;
  background-color: maroon;
  width: 80%;
  margin: 60px auto; /* Adjust spacing as needed */
  border-radius: 2px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px; /* adjust based on your fixed header height */
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  border: 3px solid goldenrod;
  border-radius: 1px;
  padding: 10px;
  margin: 0; /* Remove margin to avoid shifting */
  box-sizing: border-box; /* Ensures border/padding don't overflow */
  z-index: 1000; /* ensures it's above other content */
}

/* Hamburger style */
.hamburger {
  display: none;
  font-size: 30px;
  color: goldenrod;
  cursor: pointer;
  padding: 10px;
}

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

.logo img {
  width: 250px;
  height: auto;
  border-radius: 4px;

}

ul.nav {
  list-style: none;
  display: flex;
  justify-content: right;
  gap: 50px;
  padding: 0;
  margin: 0;
}

ul.nav li {
  display: inline-block;
}

ul.nav li a {
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
  color: goldenrod;
  font-weight: bold;
}

ul.nav li a:hover {
  color: maroon;
  font-weight: bold;
  padding: 5px;
  border-radius: 4px;
  transition: 0.3s ease;
}

ul.nav li.active a {
  color: maroon;
  font-weight: bold;
  padding: 5px;
  border-radius: 4px;
  transition: 0.3s ease;
}


/* ========== COLLAPSIBLE HEADER STYLES FOR MOBILE ========== */

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background-color: transparent;
  border: none;
  color: goldenrod;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1001;
}

/* Collapsed Header */
.header-collapsed {
  height: 60px;
  padding: 0 1rem;
  overflow: hidden;
  transition: height 0.3s ease, padding 0.3s ease;
}

/* Expanded Header */
.header-expanded {
  height: auto;
  padding: 10px 1rem;
  transition: height 0.3s ease, padding 0.3s ease;
}


/* ===============================
   HOME HERO
=============================== */
.home-hero {
  height: 100vh;
  background: url('../Images/background5.jpeg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  box-sizing: border-box;
  position: relative; /* required for absolute positioning inside */
  color: beige;
  text-align: center;
  overflow: hidden;
}

.home-hero .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute; /* key change */
  top: 0;
  left: 0;
  z-index: 1; /* optional: stack above background */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.home-hero h1 {
  font-size: 3rem;
  color: goldenrod;
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-subtext {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #f3e8d0;
}

.hero-quote {
  font-style: italic;
  color: #ddd;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-button {
  background-color: maroon;
  color: goldenrod;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none; 
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
  background-color: maroon;
  color: white;
}

/* ================================
jQuery Slider Banner
================================ */
.slider-banner {
  position: relative;
  max-width: 90%;
  height: 800px;
  margin: 3rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px transparent;
}

.slider-header {
  text-align: center;
  color: white;
  margin-bottom: 1rem;
  padding: 1rem;
}

.slider-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: goldenrod;
  letter-spacing: 1px;
}

.slider-header p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
  line-height: 1.6;
}

.slider-wrapper {
  position: relative;
  height: 500px;
}

.slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 50px auto 0 auto;
  padding-bottom: 20px; /* ✅ Adds space from the bottom */}

.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: maroon;
  font-size: 1.5rem;
  font-family: 'Times New Roman';
  /*background-color: rgba(0,0,0,0.6);*/
  background-color: black;
  padding: 10px 20px;
  border-radius: 8px;
}

.slide.active {
  display: flex;
}

/* Navigation Arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Ensures vertical alignment */
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none; /* Prevents overlap issues */
}

.slider-nav button {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.8rem;
  border-radius: 50%;
  transition: background 0.3s;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all; /* Allows click on buttons */
}

.slider-nav button:hover {
  /*background-color: rgba(0, 0, 0, 0.8);*/
  background-color: maroon;
}

/* ===============================
   ABOUT US
=============================== */
.about-us {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
  /*background-color: black;*/
  color: beige;
  flex-wrap: wrap;
}

.about-content {
  max-width: 600px;
  flex: 1;
}

.about-content h2 {
  color: maroon;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.about-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-quote {
  font-style: italic;
  color: white;
  margin-top: 1rem;
}

.about-button {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: goldenrod;
  color: maroon;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.about-button:hover {
  background-color: goldenrod;
  color: white;
}

.about-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  flex: 1;
}

/* ===============================
 OUR SERVICES
=============================== */
.service {
  color: beige;
  padding-top: 1rem;
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
 }
 
 .service h2 {
  color: goldenrod;
  font-size: 2.5rem;
  margin-bottom: 1.5rem; /* slightly more spacing under the heading */
 }
 
 .web-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns fixed */
  justify-items: center;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
 }
 
 .web-services-grid :hover {
  border-color: maroon;
 }
 
 .web-service-card {
  background: beige;
  border-radius: 16px;
  border: 5px solid goldenrod;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
 }
 
 
 .web-service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
 }
 
 .web-service-card h3 {
  color: maroon;
  font-size: x-large;
 }
 
 .web-service-card p{
  color: black;
 }
 
 /* =====================================
 Packages Section 
 ====================================*/
 .package-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 1rem;
  flex-wrap: wrap;
 }
 
 .package-tab {
  background-color: #333;
  color: white;
  padding: 20px 20px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  font-family: Georgia;
  font-size: medium;
  transition: background 0.3s;
 }
 
 .package-tab.active,
 .package-tab:hover {
  background-color: goldenrod;
  color: maroon;
 }
 
 .package-content {
  display: none;
  width: 100%; /* ensure full width for container */
  animation: fadeIn 0.5s ease-in-out;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
 }
 
 .package-content.active {
  display: flex; /* show and enable layout */
 }
 
 @keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
 }
 
 .packages-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 6rem auto 4rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
 }

 .packages-container h2 {
  color: maroon;
 }
 
 .package-heading {
  width: 100%;
  text-align: center;
  color: goldenrod;
  font-size: 2.5rem;
  margin-bottom: 1rem;
 }
 
 .package-subheading {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #ddd;
  text-align: center;
 }
 
 .package-box {
  background: beige;
  border: 5px solid maroon;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
 }
 
 .package-box:hover {
  transform: translateY(-8px);
  border-color: goldenrod;
 }
 
 .package-box h3 {
  font-size: 1.6rem;
  color: goldenrod;
  margin-bottom: 0.8rem;
 }

 .package-box .tagline {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  margin: 0.5rem 0 1rem;
  font-style: italic;
  line-height: 1.4;
}
 
 .package-box .price {
  font-family: 'Times New Roman';
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.5rem;
 }

 .package-box ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  text-align: left;
}

.package-box ul li {
  margin: 0.5rem 0;
  font-family: 'Times New Roman';
  color: black;
  font-size: 1rem;
  position: relative;
  padding-left: 1.5rem; /* Space for bullet */
}

.package-box ul li::before {
  content: "*"; /* Triangle symbol */
  position: absolute;
  left: 0;
  color: goldenrod; /* You can change this color */
  font-size: 1rem;
  font-weight: bold;
  top: 0.1rem;
}
 
 .package-box .note {
  font-family: 'Times New Roman';
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #888;
 }
 
 .order-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: maroon;
  color: goldenrod;
  text-decoration: none;
  font-weight: bold;
  font-family: Georgia;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
 }
 
 .order-button:hover {
  background-color: maroon;
  color: white;
 }
 /* ===============================
  MODAL SHARED STYLES
 =============================== */
 .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
 }
 
 .modal.hidden {
  display: none;
 }
 
 .modal-content {
  background: beige;
  border: 5px solid maroon;
  color: black;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
 }
 
 .modal-content h2{
  color: black;
 }
 
 .modal-content ul {
  text-align: left;
  color: maroon;
  padding-left: 1.5rem;
  list-style-type: none;
 }
 
 .modal-content ul li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
 }
 
 .close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: darkred;
  cursor: pointer;
 }
 
 /* Contact - Package - Review Modals */
 .contact-form,
 .review-form {
  margin-top: 1rem;
  text-align: left;
 }
 
 .contact-form label{
  display: block;
  color: black;
  font-weight: bold;
  margin-bottom: 0.5rem;
 }
 
 
 .contact-form input,
 .contact-form select,
 .contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fdf6e3;
  font-family: Georgia, serif;
 }
 
 .submit-button {
  background-color: goldenrod;
  color: maroon;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
 }
 
 .submit-button:hover {
  background-color: maroon;
  color: white;
 }
 
 /* ===============================
  REVIEW SECTION
 =============================== */
 .reviews {
  color: beige;
  padding: 4rem 2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
 }
 .review-header {
  text-align: center;
  margin-bottom: 1rem;
 }
 
 .review-header h2 {
  color: maroon;
  font-size: 2.2rem;
  margin-bottom: 1rem;
 }
 
 .review-btn-wrapper {
  text-align: center;
  margin-bottom: 2rem;
 }
 
 .open-review-btn {
  background-color: goldenrod;
  color: maroon;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
 }
 
 .open-review-btn:hover {
  background-color: goldenrod;
  color: white;
 }
 
 
 .review-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 3rem;
 }
 
 .review {
  background-color: #222;
  border: 1px solid goldenrod;
  border-radius: 8px;
  padding: 1.5rem;
  width: 280px;
  text-align: left;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
 }
 
 .review h4 {
  color: maroon;
  margin-bottom: 0.5rem;
 }
 
 .stars {
  color: goldenrod;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
 }
 
 .review p {
  font-size: 0.95rem;
  line-height: 1.5;
 }

/* ===============================
   FOOTER STYLE 
=============================== */
.footer {
  background: url('../Images/background.jpg') no-repeat center center/cover;
  padding: 1rem 2rem;
  color: beige;
  position: relative;
  margin-top: 1rem;
}

.footer-overlay {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  overflow: auto;
}

.footer-intro {
  flex: 1 1 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}

.footer-intro h2 {
  color: maroon;
  margin-bottom: 0.5rem;
}

.footer-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  width: 40px;
  height: auto;
  border-radius: 4px;
}

.footer-brand h2 {
  color: maroon;
  margin: 0;
}


.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-sections > div {
  flex: 1 1 200px;
}

.footer-sections h3 {
  color: goldenrod;
  margin-bottom: 0.5rem;
}

.footer-sections ul {
  list-style: none;
  padding: 0;
  margin: 5;
}

.footer-sections a {
  color: beige;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-sections a:hover {
  /*background-color: beige;*/
  color: maroon;
  text-decoration: none;
  font-weight: bold;
  padding: 5px;
  border-radius: 4px;
  transition: 0.3s ease;
}

.footer-rights {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid goldenrod;
}

.footer-rights p {
  color: beige;
  font-size: 0.95rem;
  margin: 0;
}

.icons {
  margin-top: 1rem;
}

.icons a {
  text-decoration: none;
  display: inline-block;
  margin-right: 12px;
}

.icons ion-icon {
  color: white;
  font-size: 30px;
  transition: 0.3s ease;
}

.icons ion-icon:hover {
  color: goldenrod;
  transform: scale(1.1);
}


#backToTop {
  display: none; 
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: beige;
  color: goldenrod;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #555;
}

#backToTop ion-icon {
  font-size: 24px;
  vertical-align: middle;
}

/* ===============================
   MEDIA QUERIES
=============================== */

/* Responsive for Tablets and Phones (480px to 1024px) */
@media (max-width: 1024px) {
  body {
    margin-top: 145px; /* Ensures full header height is respected */
    overflow-x: hidden;
  }

  header {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .logo img {
    width: 250px;
    height: auto;
    display: block;
  }

  ul.nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 20px;
    background-color: black;
    border: 2px solid goldenrod;
    border-radius: 8px;
    padding: 20px;
    z-index: 999;
  }

  ul.nav li {
    margin-bottom: 15px;
  }

  ul.nav.show {
    display: flex;
  }

  .home-hero h1 {
    font-size: 2rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .about-us {
    flex-direction: column-reverse;
    padding: 2rem 1rem;
    text-align: center;
  }

  .about-image img {
    max-width: 80%;
    margin-bottom: 1.5rem;
  }

  .web-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .web-service-card,
  .package-box,
  .review {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .slider-banner {
    height: auto;
    margin: 2rem 1rem;
    max-width: 100%;
  }

  .slider-wrapper {
    height: 400px;
  }

  .slide img {
    margin-top: 20px;
    max-height: 350px;
    padding-bottom: 15px;
  }

  .slide-caption {
    font-size: 1.2rem;
    bottom: 20px;
    padding: 8px 16px;
  }

  .slider-nav button {
    height: 40px;
    width: 40px;
    font-size: 1.5rem;
    padding: 8px;
  }

  #backToTop {
    bottom: 20px;
    right: 20px;
  }
}