@font-face {
  font-family: "Madani";
  src: url("/fonts/Madani Arabic Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Madani";
  src: url("/fonts/Madani Arabic Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary-color: #976540;
  --secondary-color: #333;
  --light-color: #f8f5f0;
  --dark-color: #222;
  --header-bg: rgba(255, 255, 255, 0.5);
  --footer-bg: #f5f2e9;
}

body {
  font-family: "Madani", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--secondary-color);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Navbar - Fully transparent */
.navbar {
  background-color: transparent;
  backdrop-filter: blur(0px);
  box-shadow: none;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  margin-left: 0;
}

.logo {
  height: 70px;
}

.navbar-contact {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s;
  gap: 8px;
}

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

.contact-link i {
  font-size: 1.2rem;
}

/* Hero Section - Fixed visibility issues */
.hero {
  padding: 120px 0 80px;
  background-image: url('./images/new_banner.png');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 80vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Hero text - No background */
.hero-text {
  padding: 10% 0;
  background-color: transparent;
  border-radius: 0;
  padding: 30px;
  box-shadow: none;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  /* text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9); */
}

.hero-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  /* text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9); */
}

.hero-image {
  padding: 10%;
  text-align: center;
}

/* Section Styling */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: 600;
  text-align: center;
}

/* Luxury Section */
.luxury-section {
  background-color: var(--light-color);
}

.main-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 30px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.main-btn:hover {
  background-color: #7d5537;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
  background-color: white;
}

.feature-box {
  height: 100%;
  padding: 25px 20px;
  text-align: center;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-box p {
  font-size: 0.9rem;
  color: #666;
}

/* Showcase Section */
.showcase-section {
  background-color: var(--light-color);
}

/* Slider Section */
.slider-section {
  background-color: white;
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 15px;
  color: var(--primary-color);
}

.carousel-caption h5 {
  font-weight: bold;
  font-size: 1.4rem;
}

.carousel-caption p {
  font-size: 1rem;
}

/* Developer Section */
.developer-section {
  background-color: var(--light-color);
}

.developer-box {
  padding: 30px;
  background-color: white;
  border-radius: 10px;
}

.developer-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.developer-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Location Section */
.location-section {
  background-color: white;
}

.map-container {
  overflow: hidden;
  margin-bottom: 20px;
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-info {
  padding: 0 20px;
}

.location-info h3 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.location-info p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.location-info strong {
  color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  bottom: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}
/* Contact Section */
.contact-section {
  background-color: var(--light-color);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
}

.form-control {
  padding: 12px 15px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(151, 101, 64, 0.25);
}

/* Footer */
.main-footer {
  background-color: var(--footer-bg);
  padding: 40px 0 20px;
}

.location-item {
  margin-bottom: 30px;
  text-align: center;
}

.location-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.location-item p {
  margin-bottom: 10px;
  color: #555;
}

.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  gap: 8px;
}

.whatsapp-contact i {
  color: #25d366;
  font-size: 1.2rem;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  gap: 15px;

}

.social-icon {
  color: #333;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-icon:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-logo {
  height: 40px;
}

.copyright {
  font-size: 0.9rem;
  color: #555;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-btn {
  right: 20px;
  background-color: #25d366;
  color: white;
}

.call-btn {
  right: 20px;
  bottom: 100px;
  /* top: 20px; */
  background-color: var(--primary-color);
  color: white;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: white;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.custom-social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    /* margin-top: 10px; */
}

.custom-social-icon {
    color: #000; /* black */
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.custom-social-icon:hover {
    color: #555;
    transform: scale(1.2);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-form {
  background-color: white;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  padding: 30px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s;
}

.modal-overlay.active .popup-form {
  transform: scale(1);
  opacity: 1;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}

.close-popup:hover {
  color: #dc3545;
  transform: rotate(90deg);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 20px;
  color: #28a745;
}

.success-message i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

/* Reveal Text Animation */
.reveal-text {
  position: relative;
  overflow: hidden;
}

.reveal-text span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.reveal-text.active span {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

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

  .carousel-item img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }

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

  .hero-text {
    text-align: center;
    padding: 5% 0;
  }

  .navbar-contact {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .carousel-item img {
    height: 250px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
