/* ========================================
   CSS VARIABLES - COLOR PALETTE & TYPOGRAPHY
   ======================================== */

:root {
  /* Color Variables */
  --primary-ocean: #0091df;
  --secondary-sand: #f4e1d2;
  --accent-coral: rgba(0, 119, 182, 0.95);
  --pure-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --dark-text: #1a1a1a;
  --light-text: #666666;
  --border-light: #eeeeee;
  --shadow: 0 10px 30px rgba(0, 119, 182, 0.1);

  /* Typography */
  --font-heading: "Zain", sans-serif;
  --font-body: "Zain", sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

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

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  line-height: 1.6;
  background-color: var(--pure-white);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Smooth scrolling fallback for older browsers */
html {
  scroll-behavior: smooth;
}

/* ========================================
   NAVIGATION BAR - GLASSMORPHISM
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 119, 182, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pure-white);
  font-family: var(--font-heading);
  transition: var(--transition);
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

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

.nav-link {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pure-white);
  transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--pure-white);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  scale: 1.2;
}

/* Semi-transparent overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 119, 182, 0.6),
    rgba(255, 142, 113, 0.4)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--pure-white);
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button {
  background: var(--accent-coral);
  color: var(--pure-white);
  border: none;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(8, 123, 255, 0.3);
  font-family: var(--font-body);
  animation: fadeInUp 1s ease 0.9s backwards;
}

.cta-button:hover {
  background: #008cff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(8, 123, 255, 0.3);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   DESTINATIONS SECTION - GRID LAYOUT
   ======================================== */

.destinations {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.destination-card {
  display: flex;
  flex-direction: column;
  background: var(--pure-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 119, 182, 0.1);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 119, 182, 0.2);
}

.card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover .card-image img {
  transform: scale(1.1);
}

/* Overlay on hover */
.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 119, 182, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.destination-card:hover .card-image::after {
  opacity: 1;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.card-content p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.card-features span {
  font-size: 0.9rem;
  color: var(--primary-ocean);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-btn {
  display: inline-block;
  background: var(--accent-coral);
  color: var(--pure-white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.destination-card:hover .card-btn {
  background: #48adff;
  transform: translateX(5px);
}

/* ========================================
   SERVICES/EXPERTISE SECTION
   ======================================== */

.services {
  padding: 6rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(244, 225, 210, 0.3),
    rgba(255, 255, 255, 0)
  );
}

.services {
  max-width: 1400px;
  margin: 0 auto;
}

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

.service-card {
  padding: 2.5rem 2rem;
  background: var(--pure-white);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-coral);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--light-text);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION - SLIDER
   ======================================== */

.testimonials {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  top: 0;
  left: 0;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
}

.testimonial-content {
  background: var(--pure-white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
  text-align: center;
}

.stars {
  color: var(--accent-coral);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  color: var(--primary-ocean);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary-ocean);
  background: transparent;
  color: var(--primary-ocean);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  direction: ltr;
  unicode-bidi: bidi-override;
}

.slider-btn:hover {
  background: var(--primary-ocean);
  color: var(--pure-white);
}

/* Keep slider buttons always in LTR direction */
html[dir="rtl"] .slider-btn {
  direction: ltr;
  unicode-bidi: bidi-override;
}

html[dir="rtl"] .slider-controls {
  flex-direction: row;
}

/* Slider Indicators */
.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-ocean);
  width: 30px;
  border-radius: 6px;
}

/* ========================================
   CONTACT SECTION & FORM
   ======================================== */

.contact {
  padding: 6rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 119, 182, 0.05),
    rgba(244, 225, 210, 0.2)
  );
}

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

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-body);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.submit-btn {
  background: var(--accent-coral);
  color: var(--pure-white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 1rem;
}

.submit-btn:hover {
  background: #50b0ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(93, 190, 255, 0.3);
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--pure-white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
}

.info-item i {
  font-size: 1.8rem;
  color: var(--accent-coral);
  min-width: 40px;
}

.info-item h4 {
  color: var(--primary-ocean);
  margin-bottom: 0.3rem;
}

.info-item p {
  color: var(--light-text);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: rgba(0, 119, 182, 0.95);
  color: var(--pure-white);
  padding: 4rem 2rem 1rem;
  width: 100%;
  margin: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.7rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-coral);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-coral);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-coral);
  border: none;
  color: var(--pure-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
}

.back-to-top:hover {
  background: #ff7550;
  transform: translateY(-3px);
}

.back-to-top.show {
  display: flex;
}

.back-to-top.hide {
  display: none;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

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

/* ========================================
   LANGUAGE TOGGLE BUTTON
   ======================================== */

.language-toggle {
  position: fixed;
  bottom: 7rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary-ocean);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 145, 223, 0.4);
  animation: float 3s ease-in-out infinite;
}

.language-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 145, 223, 0.6);
  background: rgba(0, 119, 182, 0.95);
}

.language-toggle:active {
  transform: scale(0.95);
}

/* RTL Support - adjust position for Arabic */
html[dir="rtl"] .language-toggle {
  right: auto;
  left: 2rem;
}

html[dir="rtl"] .whatsapp-btn {
  right: auto;
  left: 2rem;
}

/* Pulse animation */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
  }
}

/* ========================================
   FADE-IN UP ANIMATION (Scroll-to-Reveal)
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET (1024px)
   ======================================== */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 2rem;
  }

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

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

  .section-header h2 {
    font-size: 2rem;
  }

  .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .services {
    padding: 4rem 2rem;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (768px)
   ======================================== */

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

  .nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: rgba(0, 119, 182, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    gap: 1rem;
    padding: 2rem 0;
  }

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

  .nav-link {
    color: var(--pure-white);
  }

  .hero {
    margin-top: 50px;
  }

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

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

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .destinations {
    padding: 3rem 1rem;
  }

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

  .services {
    padding: 3rem 1rem;
  }

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

  .testimonials {
    padding: 3rem 1rem;
  }

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

  .contact {
    padding: 3rem 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .submit-btn {
    width: 100%;
  }

  /* Project Section Responsive */
  .project-section {
    padding: 3rem 1.5rem;
  }

  .project-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .project-intro {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .project-section .gallery-section h3,
  .project-section .highlights-container h3,
  .project-section .property-container h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
}

/* ========================================
   RESPONSIVE DESIGN - SMALL MOBILE (480px)
   ======================================== */

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo i {
    font-size: 1.5rem;
  }

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

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

  .hero-content {
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .destination-card {
    border-radius: 12px;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-content h3 {
    font-size: 1.3rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  .contact-info {
    gap: 1rem;
  }

  .info-item {
    padding: 1rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    bottom: 1rem;
    right: 1rem;
  }

  .language-toggle {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    bottom: 6rem;
    right: 1rem;
  }

  html[dir="rtl"] .language-toggle {
    right: auto;
    left: 1rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ========================================
   ACCESSIBILITY & UTILITIES
   ======================================== */

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-coral);
  outline-offset: 2px;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--border-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-ocean);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #005a8d;
}

/* ========================================
   DESTINATION PAGE STYLES
   ======================================== */

.destination-overview {
  padding: 6rem 2rem;
  width: 100%;
  margin: 0;
  background: var(--pure-white);
}

.destination-overview h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 3rem;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

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

.overview-card {
  padding: 2rem;
  background: var(--pure-white);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
  transition: var(--transition);
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.15);
}

.overview-card i {
  font-size: 3rem;
  color: var(--accent-coral);
  margin-bottom: 1rem;
}

.overview-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-ocean);
  margin-bottom: 0.8rem;
}

.overview-card p {
  color: var(--light-text);
  line-height: 1.7;
}

/* Highlights Section */
.highlights {
  padding: 6rem 2rem;
  width: 100%;
  margin: 0;
  background: linear-gradient(
    180deg,
    rgba(244, 225, 210, 0.3),
    rgba(255, 255, 255, 0)
  );
}

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

.highlights h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 3rem;
}

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

.highlight-item {
  padding: 2rem;
  background: var(--pure-white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 119, 182, 0.15);
}

.highlight-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-ocean),
    var(--accent-coral)
  );
  color: var(--pure-white);
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.highlight-item h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-ocean);
  margin-bottom: 0.8rem;
}

.highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-ocean);
  margin-bottom: 0.8rem;
}

.highlight-item p {
  color: var(--light-text);
  line-height: 1.7;
}

/* Property Types Section */
.property-types {
  padding: 6rem 2rem;
  width: 100%;
  margin: 0;
  background: var(--pure-white);
}

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

.property-types h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 3rem;
}

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

.property-card {
  padding: 2rem;
  background: var(--pure-white);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

.property-card i {
  font-size: 3rem;
  color: var(--accent-coral);
  margin-bottom: 1rem;
}

.gaping {
  padding: 70px 0px 0px 0px;
}

.property-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-ocean);
  margin-bottom: 0.8rem;
}

.property-card h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-ocean);
  margin-bottom: 0.8rem;
}

.property-card p {
  color: var(--light-text);
  line-height: 1.7;
}

/* Spec Sheet Table Styles */
.spec-sheet {
  background: var(--pure-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.specs-table tbody tr:hover {
  background-color: rgba(0, 119, 182, 0.03);
}

.specs-table tbody tr:last-child {
  border-bottom: none;
}

.spec-label {
  padding: 1.2rem 2rem;
  font-weight: 600;
  color: var(--primary-ocean);
  text-align: left;
  width: 40%;
  font-family: var(--font-heading);
}

.spec-value {
  padding: 1.2rem 2rem;
  color: var(--dark-text);
  text-align: left;
  font-family: var(--font-body);
}

.spec-description {
  padding: 2rem;
  color: var(--light-text);
  line-height: 1.8;
  font-style: italic;
  text-align: center;
}

/* Spec Table Container Styles */
.spec-table-container {
  margin: 2rem 0;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pure-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.08);
  margin-bottom: 2rem;
}

.spec-table thead {
  background: var(--primary-ocean);
  color: var(--pure-white);
}

.spec-table th {
  padding: 1.2rem 2rem;
  font-weight: 600;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.spec-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.spec-table tbody tr:hover {
  background-color: rgba(0, 119, 182, 0.03);
}

.spec-table tbody tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 1.2rem 2rem;
  color: var(--dark-text);
  text-align: left;
  font-family: var(--font-body);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--primary-ocean);
  font-family: var(--font-heading);
  width: 40%;
}

.property-container .spec-description {
  margin-top: 2rem;
  padding: 2rem;
  color: var(--light-text);
  line-height: 1.8;
  text-align: center;
  background: rgba(0, 119, 182, 0.02);
  border-radius: 12px;
}

/* CTA Section */
.destination-cta {
  padding: 6rem 2rem;
  width: 100%;
  margin: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 119, 182, 0.1),
    rgba(244, 225, 210, 0.2)
  );
  text-align: center;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.destination-cta h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  margin-bottom: 1rem;
}

.destination-cta p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.destination-cta .cta-button {
  display: inline-block;
  margin: 0 0.8rem;
  background: var(--accent-coral);
  color: var(--pure-white);
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.destination-cta .cta-button:hover {
  background: #005a8d;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(8, 123, 255, 0.3);
}

.destination-cta .cta-button.secondary {
  background: var(--accent-coral);
  margin-top: 0.8rem;
}

.destination-cta .cta-button.secondary:hover {
  background: #005a8d;
}

/* Responsive Design for Destination Pages */
@media (max-width: 768px) {
  .destination-overview {
    padding: 3rem 1rem;
  }

  .destination-overview h2,
  .highlights h2,
  .property-types h2,
  .destination-cta h2 {
    font-size: 1.8rem;
  }

  .overview-grid,
  .highlights-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .destination-cta .cta-button {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* ========================================
   PROJECT SECTION WRAPPER (FOR MERGED PAGES)
   ======================================== */

.project-section {
  padding: 5rem 2rem;
  width: 100%;
  margin: 0;
  background: var(--pure-white);
  border-top: 1px solid var(--border-light);
}

.project-section:nth-child(odd) {
  background: var(--pure-white);
}

.project-section:nth-child(even) {
  background: rgba(244, 225, 210, 0.1);
}

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

.project-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.project-intro {
  font-size: 1.1rem;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 4rem;
  line-height: 1.8;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery within project sections */
.project-section .gallery-section {
  padding: 3rem 0;
  max-width: 100%;
  margin: 0;
}

.project-section .gallery-container {
  max-width: 1000px;
  margin: 0 auto;
}

.project-section .gallery-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Highlights within project sections */
.project-section .highlights {
  padding: 3rem 0;
  background: none;
  margin-bottom: 3rem;
}

.project-section .highlights-container h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* Properties within project sections */
.project-section .property-types {
  padding: 3rem 0;
  max-width: 100%;
  margin: 0;
}

.project-section .property-container h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

/* ========================================
   GALLERY SLIDER STYLES & IMAGE VIEWER
   ======================================== */

.gallery-section {
  padding: 6rem 2rem;
  width: 100%;
  margin: 0;
  background: var(--pure-white);
}

.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-section h2,
.gallery-section h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-ocean);
  text-align: center;
  margin-bottom: 3rem;
}

.project-section .gallery-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

/* IMAGE VIEWER STYLES */
.image-viewer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.main-image-container {
  flex: 1;
  max-width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 119, 182, 0.2);
  background: #f5f5f5;
  aspect-ratio: 16 / 9;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Navigation Arrows */
.nav-arrow {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-ocean);
  color: var(--primary-ocean);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.15);
}

.nav-arrow:hover {
  background: var(--primary-ocean);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 119, 182, 0.3);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* Thumbnail Container */
.thumbnail-container {
  width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnails-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.2);
}

.thumbnail.active {
  border-color: var(--primary-ocean);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

/* Legacy Gallery Slider (for backwards compatibility) */
.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 119, 182, 0.2);
}

.gallery-slide {
  display: none;
  width: 100%;
  height: 500px;
  animation: fadeIn 0.5s ease;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Gallery Controls */
.gallery-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  color: var(--primary-ocean);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
  background: var(--pure-white);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.gallery-btn.prev {
  margin-left: 0;
}

.gallery-btn.next {
  margin-right: 0;
}

/* Gallery Indicators */
.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.gallery-dot:hover {
  background: var(--primary-ocean);
  transform: scale(1.2);
}

.gallery-dot.active {
  background: var(--primary-ocean);
  width: 35px;
  border-radius: 7px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-section {
    padding: 3rem 1rem;
  }

  .gallery-section h2 {
    font-size: 1.8rem;
  }

  .main-image-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .main-image-container {
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .thumbnail {
    width: 70px;
    height: 70px;
  }

  .gallery-slide {
    height: 300px;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-controls {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-slide {
    height: 250px;
  }

  .gallery-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .gallery-section h2 {
    font-size: 1.5rem;
  }
}

/* ========================================
   ZAIN FONT WEIGHT CLASSES
   ======================================== */

.zain-extralight {
  font-family: "Zain", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.zain-light {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zain-regular {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zain-bold {
  font-family: "Zain", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.zain-extrabold {
  font-family: "Zain", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.zain-black {
  font-family: "Zain", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.zain-light-italic {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.zain-regular-italic {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-style: italic;
}
