/* iOS 13+ Compatible Root Variables */
:root {
  /* Safe area insets for iOS devices */
  --safe-area-inset-top: env(safe-area-inset-top, 0);
  --safe-area-inset-right: env(safe-area-inset-right, 0);
  --safe-area-inset-bottom: env(safe-area-inset-bottom, 0);
  --safe-area-inset-left: env(safe-area-inset-left, 0);
  
  /* Dynamic viewport units for iOS */
  --vh: 1vh;
  --vw: 1vw;
  
  /* Touch target size (Apple HIG recommends 44pt minimum) */
  --touch-target-min: 44px;
  
  /* Color scheme support */
  color-scheme: dark light;
}

/* General Mobile Touch Improvements */
* {
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.3);
  -webkit-touch-callout: none;
  /* Better box sizing for responsive design */
  box-sizing: border-box;
}

/* Improved touch interactions for all devices */
button, input[type="submit"], input[type="button"], .btn, .btn-outline, a[role="button"] {
  touch-action: manipulation; /* Prevents double-tap zoom */
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
}

/* Ensure proper touch targets for all interactive elements */
a, button, input, textarea, select, [onclick], [role="button"] {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: #eee;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  
  /* Enhanced iOS safe area support */
  padding-top: var(--safe-area-inset-top);
  padding-left: var(--safe-area-inset-left);
  padding-right: var(--safe-area-inset-right);
  padding-bottom: var(--safe-area-inset-bottom);
  
  /* Improved touch scrolling for iOS */
  -webkit-overflow-scrolling: touch;
  
  /* Prevent bounce scrolling on iOS */
  overscroll-behavior: none;
  
  /* Support for iOS momentum scrolling */
  scroll-behavior: smooth;
  
  /* Text rendering optimization for iOS */
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

/* iOS 13+ Dark Mode Support */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
  }
  
  body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    color: var(--text-primary);
  }
}

/* iOS Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast support for accessibility */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid #fff;
  }
  
  .btn-outline {
    border-width: 3px;
  }
  
  .navbar {
    border-bottom-width: 2px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  color: #fff;
}

p {
  text-align: justify;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 50px 20px;
  text-align: center;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 3px;
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  transform: translateX(-50%);
  border-radius: 2px;
}

.section h2 {
  margin-top: 20px;
  margin-bottom: 30px;
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 126, 41, 0.2);
  
  /* Enhanced iOS safe area support */
  padding-top: calc(15px + var(--safe-area-inset-top));
  padding-left: calc(30px + var(--safe-area-inset-left));
  padding-right: calc(30px + var(--safe-area-inset-right));
  
  /* Sticky positioning for better mobile experience */
  position: sticky;
  top: 0;
  z-index: 1000;
  
  /* Prevent navbar from being too thin on mobile */
  min-height: 60px;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #ff7e29;
  box-shadow: 0 0 15px rgba(255, 126, 41, 0.4);
}

.nav-links {
  display: flex;
  gap: 20px;
}

/* Desktop navigation - visible by default */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  
  .nav-links {
    display: flex !important;
    position: static !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: auto !important;
    flex-direction: row !important;
    gap: 20px !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
    pointer-events: all !important;
  }
  
  .nav-links a {
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: left !important;
    font-weight: normal !important;
    font-size: inherit !important;
    min-height: auto !important;
    display: inline !important;
    align-items: initial !important;
    justify-content: initial !important;
    transition: color 0.3s ease !important;
  }
}

.nav-links a:hover, .active {
  color: orange;
}

.btn {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
  
  /* iOS touch target optimization */
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Enhanced touch feedback */
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.2);
  -webkit-user-select: none;
  user-select: none;
  
  /* Prevent text selection on touch */
  -webkit-touch-callout: none;
}

.btn:hover {
  background: linear-gradient(135deg, #ff9d4d, #ffb366);
  box-shadow: 0 6px 20px rgba(255, 126, 41, 0.5);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 126, 41, 0.4);
  transition: all 0.1s ease;
}

.btn-outline {
  background: transparent;
  border: 2px solid #ff7e29;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  color: #ff7e29;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 126, 41, 0.2);
  
  /* iOS touch target optimization */
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Enhanced touch feedback */
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.1);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 126, 41, 0.4);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0px) scale(0.98);
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  box-shadow: 0 2px 10px rgba(255, 126, 41, 0.3);
  transition: all 0.1s ease;
}


/* Home Hero Styling */
.home {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-image 1s ease-in-out;
  position: relative;
  overflow: hidden;
  
  /* iOS safe area support */
  padding-top: calc(20px + var(--safe-area-inset-top));
  padding-bottom: calc(20px + var(--safe-area-inset-bottom));
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 20px;
}

.home-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}





.home h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  background: linear-gradient(135deg, #fff, #ff7e29);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 15px;
  overflow: hidden;
  padding-bottom: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 126, 41, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Enhanced iOS touch interactions */
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.1);
  -webkit-touch-callout: none;
  cursor: pointer;
  
  /* Ensure minimum touch target size */
  min-height: 200px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 126, 41, 0.2);
  border-color: rgba(255, 126, 41, 0.3);
}

.card:active {
  transform: translateY(-4px) scale(0.98);
  box-shadow: 0 8px 30px rgba(255, 126, 41, 0.15);
  transition: all 0.1s ease;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card h3 {
  margin: 10px;
}

.card p {
  margin: 0 10px 10px;
  color: #aaa;
}

.destinations-button {
  text-align: center;   /* keeps it centered */
  margin-top: 20px;     /* push it down */
}


/* About Section */
.about {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.about h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  color: #ff7e29;
}

/* Testimonials */
.testimonials {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.testimonials h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #ff7e29;
}

.testimonial {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 126, 41, 0.1);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 126, 41, 0.15);
}

.user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.user img {
  border-radius: 50%;
}

.user h3 {
  font-size: 1rem;
  font-weight: 600;
}

.user span {
  font-size: 0.85rem;
  color: #bbb;
}

.stars {
  color: #ff7e29;
  margin-bottom: 0.75rem;
}

/* Hero Image */
.hero-image {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* Gallery Section */
.gallery {
  padding: 40px 20px;
  text-align: center;
}

.gallery h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery p {
  color: #666;
  margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.gallery-grid img,
.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
}

.gallery-grid img:hover,
.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Ensure uploaded images have the same styling */
.uploaded-image {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
}


/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filters button {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 126, 41, 0.2);
  border-radius: 20px;
  background: linear-gradient(135deg, #2b2b2b, #3d3d3d);
  color: #f5f5f5;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.filters button.active,
.filters button:hover {
  background: #ff7e29;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card h3 {
  font-size: 1rem;
  margin: 0.75rem 1rem 0 1rem;
}

.card p {
  font-size: 0.85rem;
  margin: 0.25rem 1rem 1rem 1rem;
  color: #bbb;
}

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

/*destinations*/
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 15px;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card img {
  width: 100%; height: 180px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.card h3 { margin: 15px 0 5px; }
.card p { color: #555; margin-bottom: 10px; }

.more-btn {
  background: none;
  border: 1px solid #e67e22;
  color: #e67e22;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}
.more-btn:hover { background: #e67e22; color: white; }


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  overflow: auto;
}

.modal:target { display: block; }
.modal-content {
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 900px;
  position: relative;
}
.modal-content h3 {
  margin-bottom: 15px;
  color: #d35400;
  text-align: center;
}
.close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}
.close:hover { color: red; }

/* Places grid */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}
.place-card {
  background: white;
  border-radius: 8px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.place-card img {
  width: 100%; height: 120px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.place-card p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}





/* Fade animation removed */


/* Tours Section */
.tours {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.tours h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.tours p {
  margin-bottom: 30px;
  color: #b3a9a7;
}

.tour-category {
  margin-bottom: 50px;
}

.tour-category h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: #fff;
}

/* Tour Grid */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tour-card {
  background: #2a1f1b;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.tour-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tour-card h3 {
  margin: 15px;
  font-size: 1.2rem;
  color: #fff;
}

.tour-card p {
  margin: 0 15px 15px;
  font-size: 0.9rem;
  color: #b3a9a7;
}

/* Services Section */
.services {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.services h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.services .intro {
  margin-bottom: 2rem;
  color: #bbb;
}

.service {
  margin-bottom: 2.5rem;
}

.service h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ff7e29;
}

.service p {
  margin-bottom: 1rem;
  color: #ddd;
}

/* Service Options */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.options button {
  background: linear-gradient(135deg, #2b2b2b, #3d3d3d);
  color: #f5f5f5;
  border: 1px solid rgba(255, 126, 41, 0.2);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.options button:hover {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
}

/* CTA */
.cta {
  text-align: left;
  margin-top: 2rem;
}

.btn-cta {
  background: #ff7e29;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #e66b20;
}

/* Contact Section */
.contact {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.contact h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact p {
  margin-bottom: 2rem;
  color: #bbb;
}

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

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid rgba(255, 126, 41, 0.2);
  border-radius: 8px;
  background: rgba(42, 42, 42, 0.8);
  color: #f5f5f5;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff7e29;
  box-shadow: 0 0 10px rgba(255, 126, 41, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.btn-submit {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #ff9d4d, #ffb366);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 126, 41, 0.5);
}

/* Direct Contact */
.direct-contact {
  margin-top: 2rem;
}

.direct-contact p {
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
}

.contact-btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.contact-btn.whatsapp {
  background: #2b2b2b;
  color: #f5f5f5;
}

.contact-btn.call {
  background: #3a2c24;
  color: #f5f5f5;
}

.contact-btn:hover {
  opacity: 0.8;
}

/* Reviews Display */
.reviews-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.review-item {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 126, 41, 0.1);
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 126, 41, 0.15);
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.review-user img,
.review-profile-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff7e29;
  box-shadow: 0 2px 8px rgba(255, 126, 41, 0.3);
}

.review-user-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.review-user-info span {
  font-size: 0.85rem;
  color: #bbb;
}

.review-stars {
  color: #ff7e29;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.review-text {
  color: #ddd;
  line-height: 1.6;
  margin: 0;
}

/* Review Form */
.review-form-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 126, 41, 0.1);
}

.share-experience-header {
  text-align: center;
  margin-bottom: 2rem;
}

.experience-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff7e29;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
}

.share-experience-header h2 {
  color: #ff7e29;
  margin-bottom: 0.5rem;
}

.share-experience-header p {
  color: #bbb;
  margin-bottom: 0;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(255, 126, 41, 0.2);
  border-radius: 8px;
  background: rgba(42, 42, 42, 0.8);
  color: #f5f5f5;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff7e29;
  box-shadow: 0 0 10px rgba(255, 126, 41, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 0.25rem;
  margin: 0.5rem 0;
  align-items: center;
}

.star-rating span {
  font-size: 1.8rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  position: relative;
}

.star-rating span.active {
  color: #ff7e29;
  text-shadow: 0 0 8px rgba(255, 126, 41, 0.4);
}

.star-rating span:hover {
  transform: scale(1.15);
  color: #ff7e29;
  text-shadow: 0 0 12px rgba(255, 126, 41, 0.6);
}

.star-rating span:hover ~ span {
  color: #666;
  transform: scale(1);
}

/* Rating label */
.rating-label {
  margin-left: 0.75rem;
  font-size: 0.9rem;
  color: #bbb;
  font-weight: 500;
}

/* Reviews loading and error states */
.reviews-loading, .no-reviews, .reviews-error {
  text-align: center;
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 8px;
  font-size: 1rem;
}

.reviews-loading {
  background: rgba(42, 42, 42, 0.5);
  color: #ff7e29;
  border: 1px solid rgba(255, 126, 41, 0.2);
}

.no-reviews {
  background: rgba(42, 42, 42, 0.3);
  color: #bbb;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

/* File Input Styling */
.file-input {
  padding: 0.75rem;
  border: 2px dashed rgba(255, 126, 41, 0.3);
  border-radius: 8px;
  background: rgba(42, 42, 42, 0.5);
  color: #f5f5f5;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-input:hover {
  border-color: #ff7e29;
  background: rgba(42, 42, 42, 0.8);
}

.file-input-preview {
  margin-top: 0.5rem;
  text-align: center;
}

.file-input-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #ff7e29;
}

/* Loading Button States */
.btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit:disabled:hover {
  transform: none;
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateX(100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification-show {
  transform: translateX(0);
}

.notification-success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
}

.notification-error {
  background: linear-gradient(135deg, #f44336, #d32f2f);
}

.notification-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.notification-info {
  background: linear-gradient(135deg, #2196F3, #1976d2);
}

.notification-message {
  flex: 1;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.notification-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
/* Floating Toolbar */
.toolbar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 12px 0 0 12px;
  padding: 8px 5px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 126, 41, 0.2);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Enhanced iOS support */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* iOS safe area support */
  right: var(--safe-area-inset-right);
}

.toolbar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.toolbar a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #2d2d2d, #3d3d3d);
  color: #ff7e29;
  text-decoration: none;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 126, 41, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  
  /* Enhanced iOS touch interactions */
  min-width: var(--touch-target-min);
  min-height: var(--touch-target-min);
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.2);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.toolbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.toolbar a svg {
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.toolbar a:hover {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(255, 126, 41, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.toolbar a:active {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.4);
  transition: all 0.1s ease;
}

.toolbar a:hover::before {
  left: 100%;
}

.toolbar a:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Individual Icon Colors */
.toolbar a[href^="tel:"]:hover {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.toolbar a[href^="https://wa.me/"]:hover {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.toolbar a[href^="mailto:"]:hover {
  background: linear-gradient(135deg, #EA4335, #FBBC04);
}

.toolbar a[href*="youtube"]:hover {
  background: linear-gradient(135deg, #FF0000, #CC0000);
}

.toolbar a[href*="facebook"]:hover {
  background: linear-gradient(135deg, #1877F2, #42A5F5);
}

/* Toggle Button */
.toggle-btn {
  background: linear-gradient(135deg, #ff7e29, #ff9d4d);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
  position: relative;
  overflow: hidden;
}

.toggle-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.toggle-btn:hover {
  background: linear-gradient(135deg, #ff9d4d, #ffb366);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(255, 126, 41, 0.6);
}

.toggle-btn:hover::before {
  left: 100%;
}

/* When minimized, only hide the links */
.toolbar.minimized .toolbar-links {
  transform: translateX(100%);
  opacity: 0;
}

.toolbar.minimized .toggle-btn {
  transform: rotate(180deg);
}

/* Pulse animation for toolbar - Removed */

/* Better focus states for accessibility */
.btn:focus,
.btn-outline:focus,
.form-group input:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #ff7e29;
  outline-offset: 2px;
}

/* Improved button hover states */
.btn, .btn-outline {
  position: relative;
  overflow: hidden;
}

.btn::before, .btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before, .btn-outline:hover::before {
  left: 100%;
}


/* Footer */
footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  padding: 30px;
  text-align: center;
  color: #aaa;
  border-top: 1px solid rgba(255, 126, 41, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  
  /* Enhanced iOS safe area support */
  padding-left: calc(30px + var(--safe-area-inset-left));
  padding-right: calc(30px + var(--safe-area-inset-right));
  padding-bottom: calc(30px + var(--safe-area-inset-bottom));
  
  /* Ensure footer doesn't get cut off */
  min-height: calc(60px + var(--safe-area-inset-bottom));
}

footer p {
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  font-size: 0.9em;
}

.footer-links {
  margin-top: 15px;
  text-align: center;
}

.footer-links a {
  color: #ff7e29;
  text-decoration: none;
  transition: color 0.3s ease;
  
  /* iOS touch optimization */
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
  min-height: var(--touch-target-min);
  min-width: var(--touch-target-min);
  -webkit-tap-highlight-color: rgba(255, 126, 41, 0.1);
}

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

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: #ff7e29;
  font-size: 1.8em;
  font-family: inherit;
  font-weight: inherit;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 1002;
  position: relative;
}

.menu-toggle:hover {
  background: rgba(255, 126, 41, 0.1);
  transform: scale(1.1);
}

.menu-toggle:active {
  transform: scale(0.95);
  background: rgba(255, 126, 41, 0.2);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 12px 20px;
  }
  
  .logo {
    font-size: 1.1em;
  }
  
  .logo-img {
    width: 38px;
    height: 38px;
  }
  
  .section {
    padding: 40px 15px;
  }
  
  h1 {
    font-size: 2.2em;
  }
  
  h2 {
    font-size: 1.8em;
  }
}

/* Improved tablet and large phone responsiveness */
@media (max-width: 834px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 15px;
  }
  
  .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    padding: 0 15px;
  }
  
  .tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
  
  .home h1 {
    font-size: 2.3em;
    padding: 0 25px;
  }
  
  .home-buttons {
    gap: 18px;
    padding: 0 25px;
  }
}

/* Mobile Navigation - Unified and Simplified */
@media (max-width: 768px) {
  /* Hide desktop navigation links on mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    margin: 10px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 126, 41, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    visibility: hidden;
    pointer-events: none;
  }
  
  .nav-links.active {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: all !important;
    z-index: 1001 !important;
  }
  
  .nav-links a {
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #eee;
    font-weight: 500;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 126, 41, 0.2);
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 126, 41, 0.1);
    color: #ff7e29;
    transform: translateX(5px);
  }
  
  /* Show hamburger menu on mobile */
  .menu-toggle {
    display: flex !important;
    order: 3;
    margin-left: 10px;
  }
  
  /* Adjust navbar layout for mobile */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative; /* Ensure proper positioning context for dropdown */
  }
  
  .logo {
    order: 1;
    flex: 1;
    font-size: 1rem;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
  
  .navbar .btn {
    order: 2;
    padding: 6px 10px;
    font-size: 0.7em;
    margin-right: 10px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .home h1 {
    font-size: 2em;
    padding: 0 20px;
  }
  
  .home-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  
  .destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 10px;
  }
  
  .section {
    padding: 30px 15px;
  }
  
  h1 {
    font-size: 1.9em;
  }
  
  h2 {
    font-size: 1.5em;
  }
  
  .toolbar {
    right: -5px;
    padding: 6px 3px;
  }
  
  .toolbar a {
    width: 44px;
    height: 44px;
  }
  
  .toggle-btn {
    width: 44px;
    height: 44px;
  }
  
  .about, .testimonials, .services, .contact, .tours {
    padding: 0 15px;
    margin: 2rem auto;
  }
  
  .review-form-container {
    margin: 2rem 15px;
    padding: 1.5rem;
  }
  
  .contact-form {
    gap: 1rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .gallery-grid img,
  .gallery-image,
  .uploaded-image {
    height: 200px !important;
  }
  
  .filters {
    justify-content: center;
    gap: 0.5rem;
  }
  
  .filters button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85em;
  }
}

/* Additional mobile styles for very small screens */
@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }
  
  .logo {
    font-size: 0.9em;
  }
  
  .logo-img {
    width: 32px;
    height: 32px;
  }
  
  .navbar .btn {
    padding: 5px 8px;
    font-size: 0.65em;
    max-width: 70px;
  }
  
  .nav-links {
    margin: 8px;
    padding: 16px;
  }
  
  .nav-links a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}




/* Button text responsive display */
.btn-text-short {
  display: none;
}

.btn-text-full {
  display: inline;
}

/* iOS 13+ Compatible Styles for smaller devices - Show short button text */
@media (max-width: 667px) {
  .btn-text-full {
    display: none;
  }
  
  .btn-text-short {
    display: inline;
  }
}

/* iOS 13 support for very small devices (iPhone SE, 6s, etc.) */
@media (max-width: 375px) {
  .navbar {
    padding: 8px 10px;
  }
  
  .menu-toggle {
    display: flex !important;
    font-size: 1.1em;
    padding: 4px;
    min-width: 32px;
    min-height: 32px;
    background: rgba(255, 126, 41, 0.15);
    border-radius: 4px;
    margin-left: 2px;
  }
  
  .navbar .btn {
    padding: 3px 4px;
    font-size: 0.55em;
    max-width: 50px;
    min-height: 24px;
    border-radius: 3px;
    margin-right: 2px;
  }
  
  .logo {
    font-size: 0.8em;
    gap: 4px;
  }
  
  .logo-img {
    width: 28px;
    height: 28px;
  }
  
  /* Ultra-short text for very small screens */
  .btn-text-short {
    display: none;
  }
  
  .btn-text-full {
    display: none;
  }
  
  .navbar .btn:after {
    content: "📱";
    font-size: 1.2em;
  }
}

/* Legacy support for older/smaller phones */
@media (max-width: 390px) {
  .home h1 {
    font-size: 1.7em;
    line-height: 1.3;
  }
  
  .btn, .btn-outline {
    padding: 12px 20px;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
  }
  
  .card-grid, .destinations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .card {
    margin: 0 5px;
  }
  
  .section {
    padding: 25px 12px;
  }
  
  h1 {
    font-size: 1.7em;
  }
  
  h2 {
    font-size: 1.3em;
  }
  
  .toolbar {
    transform: translateY(-50%) scale(0.9);
  }
  
  .about, .testimonials, .services, .contact, .tours {
    padding: 0 12px;
    margin: 1.5rem auto;
  }
  
  .review-form-container {
    margin: 1.5rem 12px;
    padding: 1rem;
  }
  
  .form-group input,
  .form-group textarea,
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .modal-content {
    margin: 10% 5%;
    padding: 15px;
  }
  
  .places-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .place-card img {
    height: 100px;
  }
  
  .tour-card h3 {
    font-size: 1rem;
  }
  
  .tour-card p {
    font-size: 0.85rem;
  }
  
  footer {
    padding: 20px 12px;
    text-align: center;
  }
  
  .footer-links {
    margin-top: 10px;
    font-size: 0.9em;
  }
}

/* Ultra-wide mobile devices */
@media (max-width: 360px) {
  .navbar {
    padding: 8px 10px;
  }
  
  .logo {
    font-size: 0.8em;
    gap: 6px;
  }
  
  .logo-img {
    width: 28px;
    height: 28px;
  }
  
  .navbar .btn {
    padding: 6px 10px;
    font-size: 0.7em;
  }
  
  .home h1 {
    font-size: 1.5em;
    padding: 0 10px;
  }
  
  .home p {
    font-size: 1em;
    padding: 0 10px;
  }
  
  .home-buttons {
    padding: 0 15px;
  }
  
  .section {
    padding: 20px 10px;
  }
  
  .card-grid, .destinations-grid {
    padding: 0 5px;
    gap: 12px;
  }
  
  .review-form-container {
    margin: 1rem 10px;
    padding: 0.8rem;
  }
  
  .about, .testimonials, .services, .contact, .tours {
    padding: 0 10px;
  }
}

/* Tour photos display styles for reviews */
.review-tour-photos {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(42, 42, 42, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 126, 41, 0.1);
}

.tour-photos-title {
  color: #ff7e29;
  font-size: 0.9rem;
  margin: 0 0 0.75rem 0;
  font-weight: 600;
}

.tour-photos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}

.review-tour-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.review-tour-photo:hover {
  transform: scale(1.05);
  border-color: #ff7e29;
  box-shadow: 0 4px 15px rgba(255, 126, 41, 0.3);
}

/* Photo modal for enlarged view */
.photo-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.photo-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.photo-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.photo-modal-close:hover {
  background: rgba(255, 126, 41, 0.8);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .review-tour-photos {
    padding: 0.75rem;
  }
  
  .tour-photos-grid {
    gap: 8px;
  }
  
  .review-tour-photo {
    width: 70px;
    height: 70px;
  }
  
  .tour-photos-title {
    font-size: 0.8rem;
  }
  
  .photo-modal-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}

/* Slide down animation removed */

/* iOS 15+ and newer iPhone models specific optimizations */
@media only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3),
       only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  
  /* iPhone 14 Pro Max, iPhone 14 Pro, iPhone 13/12 series optimizations */
  .navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(26, 26, 26, 0.8);
  }
  
  .home h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
  }
  
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
  
  .btn, .btn-outline {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1.1em;
  }
}

/* iOS Dark Mode specific improvements */
@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
  }
  
  .card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Final iOS performance optimizations */
@supports (-webkit-touch-callout: none) {
  /* iOS-specific optimizations */
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  input, textarea, select {
    -webkit-appearance: none;
    border-radius: 0;
  }
  
  /* Ensure hamburger menu is always visible on iOS devices */
  @media (max-width: 768px) {
    .menu-toggle {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: all !important;
      z-index: 1001 !important;
    }
    
    /* Make sure navigation links work on iOS */
    .nav-links a {
      -webkit-tap-highlight-color: rgba(255, 126, 41, 0.2);
      -webkit-touch-callout: none;
      -webkit-user-select: none;
    }
  }
}

/* Enhanced Mobile Button Interactions */
@media (max-width: 768px) {
  /* Ensure all buttons have proper touch targets */
  .btn, .btn-outline, .more-btn, .btn-cta, .btn-submit, .contact-btn {
    min-height: 48px !important;
    min-width: 48px !important;
    padding: 12px 20px !important;
    touch-action: manipulation; /* Prevents double-tap zoom */
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
  }
  
  /* Improve menu toggle button */
  .menu-toggle {
    min-height: 48px !important;
    min-width: 48px !important;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  /* Better navigation link touch targets */
  .nav-links a {
    min-height: 48px !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 126, 41, 0.3) !important;
  }
  
  /* Improve toolbar buttons */
  .toolbar a, .toggle-btn {
    min-height: 48px !important;
    min-width: 48px !important;
    touch-action: manipulation;
  }
  
  /* Better card interactions */
  .card, .tour-card {
    touch-action: manipulation;
    cursor: pointer;
  }
  
  /* Improve form elements */
  input, textarea, select, button {
    touch-action: manipulation;
    -webkit-appearance: none;
    font-size: 16px !important; /* Prevents zoom on iOS */
  }
  
  /* Better filter buttons */
  .filters button {
    min-height: 44px !important;
    padding: 10px 16px !important;
    touch-action: manipulation;
  }
  
  /* Star rating touch improvements */
  .star-rating span {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    touch-action: manipulation;
  }
}
