/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables & Design System */
:root {
  /* Official Color Tokens */
  --deep-ocean: #003366;
  --crest-teal: #139A8C;
  --sunset-gold: #D4AF37;
  --coral-sunset: #FF6B6B;
  --soft-sand: #EEF4F8;
  --fresh-white: #FFFFFF;

  /* Accent Tints & Shades */
  --deep-ocean-dark: #002244;
  --crest-teal-hover: #0F8377;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(0, 51, 102, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--soft-sand);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-ocean);
  font-weight: 700;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--crest-teal);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep-ocean);
}

.logo span {
  color: var(--crest-teal);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--deep-ocean);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--crest-teal);
  transition: var(--transition-fast);
}

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

.nav-links a:hover {
  color: var(--crest-teal);
}

.btn-nav {
  background-color: var(--crest-teal);
  color: var(--fresh-white) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(19, 154, 140, 0.2);
}

.btn-nav:hover {
  background-color: var(--crest-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(19, 154, 140, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--fresh-white);
  overflow: hidden;
  background-color: var(--deep-ocean-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 51, 102, 0.4) 0%, rgba(0, 51, 102, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--sunset-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--fresh-white);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  display: inline-block;
  background-color: var(--crest-teal);
  color: var(--fresh-white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(19, 154, 140, 0.3);
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--crest-teal-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(19, 154, 140, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--fresh-white);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--fresh-white);
  margin-left: 15px;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--fresh-white);
  color: var(--deep-ocean);
  transform: translateY(-3px);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  background: var(--fresh-white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.04);
  border: 1px solid rgba(0, 51, 102, 0.05);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 51, 102, 0.08);
  border-color: rgba(19, 154, 140, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(19, 154, 140, 0.08);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--crest-teal);
  font-size: 1.8rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background-color: var(--crest-teal);
  color: var(--fresh-white);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tours Grid & Cards */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.tour-card {
  background: var(--fresh-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.04);
  border: 1px solid rgba(0, 51, 102, 0.05);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 51, 102, 0.08);
  border-color: rgba(19, 154, 140, 0.2);
}

.tour-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover .tour-image {
  transform: scale(1.08);
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--coral-sunset);
  color: var(--fresh-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.25);
  z-index: 10;
}

.tour-duration-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(0, 51, 102, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--fresh-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tour-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.tour-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 51, 102, 0.05);
  padding-top: 20px;
  margin-top: auto;
}

.tour-price-box {
  display: flex;
  flex-direction: column;
}

.tour-original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.tour-current-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--deep-ocean);
  font-family: var(--font-heading);
}

.tour-current-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-card {
  background-color: var(--crest-teal);
  color: var(--fresh-white);
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(19, 154, 140, 0.15);
  transition: var(--transition-fast);
}

.btn-card:hover {
  background-color: var(--crest-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(19, 154, 140, 0.25);
}

/* Testimonials / Social Proof */
.testimonials {
  background-color: var(--fresh-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.testimonial-card {
  background-color: var(--soft-sand);
  padding: 35px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 51, 102, 0.03);
  position: relative;
}

.stars {
  color: var(--sunset-gold);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-size: 0.98rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: var(--deep-ocean);
  color: var(--fresh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

body.modal-open {
  overflow: hidden !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 34, 68, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
}


.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--fresh-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--coral-sunset);
  transform: scale(1.1);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--deep-ocean);
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(0, 51, 102, 0.1);
  background-color: #F8FAFC;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--crest-teal);
  background-color: var(--fresh-white);
  box-shadow: 0 0 0 4px rgba(19, 154, 140, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  background-color: var(--crest-teal);
  color: var(--fresh-white);
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background-color: var(--crest-teal-hover);
}

.btn-submit:disabled {
  background-color: var(--text-muted);
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--fresh-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading span {
  display: none;
}

/* Modal feedback */
.form-feedback {
  display: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.form-feedback.error {
  display: block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fresh-white);
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-normal);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2s infinite;
  pointer-events: none;
}

/* Footer styling */
footer {
  background-color: var(--deep-ocean-dark);
  color: var(--fresh-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--fresh-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #94A3B8;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--crest-teal);
  padding-left: 5px;
}

.footer-about p {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748B;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--crest-teal);
}

/* --- ADMIN PANEL CSS --- */
.admin-login-body {
  background-color: var(--soft-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.admin-login-box {
  background: var(--fresh-white);
  border-radius: var(--radius-lg);
  padding: 45px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 15px 35px rgba(0, 51, 102, 0.06);
  border: 1px solid rgba(0, 51, 102, 0.05);
}

.admin-body {
  background-color: #F1F5F9;
  min-height: 100vh;
  padding-top: 95px;
}

.admin-container {
  width: 95%;
  max-width: 1300px;
  margin: 30px auto;
  padding-bottom: 80px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background-color: var(--fresh-white);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.admin-nav-actions {
  display: flex;
  gap: 15px;
}

.btn-danger {
  background-color: var(--coral-sunset);
  color: var(--fresh-white);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-danger:hover {
  background-color: #E25555;
  transform: translateY(-2px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 1024px) {
  .admin-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.admin-card {
  background: var(--fresh-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 51, 102, 0.03);
}

.admin-card h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--soft-sand);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CRUD Table styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background-color: var(--soft-sand);
  padding: 12px 15px;
  font-weight: 600;
  color: var(--deep-ocean);
  border-bottom: 2px solid rgba(0, 51, 102, 0.05);
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 51, 102, 0.05);
  vertical-align: middle;
}

.admin-tour-thumb {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.badge-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-status.active {
  background-color: #DEF7EC;
  color: #03543F;
}

.badge-status.hidden {
  background-color: #F3F4F6;
  color: #4B5563;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--fresh-white);
}

.btn-icon.edit {
  background-color: var(--crest-teal);
}

.btn-icon.edit:hover {
  background-color: var(--crest-teal-hover);
}

.btn-icon.delete {
  background-color: var(--coral-sunset);
}

.btn-icon.delete:hover {
  background-color: #E25555;
}

/* Image preview box */
.image-preview-container {
  margin-top: 10px;
  width: 100%;
  height: 180px;
  border: 2px dashed rgba(0, 51, 102, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

.image-preview-placeholder {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

.image-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.btn-upload {
  display: block;
  background-color: var(--soft-sand);
  color: var(--deep-ocean);
  border: 2px solid rgba(0, 51, 102, 0.1);
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
  margin-bottom: 8px;
}

.btn-upload:hover {
  border-color: var(--crest-teal);
  background-color: rgba(19, 154, 140, 0.05);
}

.image-upload-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

/* Admin floating trigger */
.admin-badge-trigger {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--deep-ocean);
  color: var(--fresh-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.admin-badge-trigger:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile bypass for clean structure */
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
    display: block;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- DYNAMIC TOURS CAROUSEL --- */
.tours-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tours-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
}

.tours-carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.tours-carousel-slide {
  flex: 0 0 100%;
  padding: 0 12px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .tours-carousel-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .tours-carousel-slide {
    flex: 0 0 33.333%;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--fresh-white);
  border: 1px solid rgba(0, 51, 102, 0.1);
  color: var(--deep-ocean);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 33, 102, 0.08);
  transition: var(--transition-normal);
}

.carousel-arrow:hover {
  background-color: var(--crest-teal);
  color: var(--fresh-white);
  border-color: var(--crest-teal);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: -25px;
}

.carousel-arrow.next {
  right: -25px;
}

@media (max-width: 1024px) {
  .carousel-arrow.prev {
    left: -10px;
  }
  .carousel-arrow.next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .carousel-arrow {
    display: none; /* Rely on swiping / dots on small mobile viewports */
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 51, 102, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--crest-teal);
  transform: scale(1.2);
  width: 22px;
  border-radius: 5px;
}

/* --- VIDEO REVIEWS GRID --- */
.video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 1024px) {
  .video-reviews-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop for TikTok layout */
  }
}

.video-review-card {
  background: var(--fresh-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.04);
  border: 1px solid rgba(0, 51, 102, 0.05);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.video-review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 51, 102, 0.08);
  border-color: rgba(19, 154, 140, 0.2);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Cinematic vertical layout (reels/shorts) */
  background: #000000;
  overflow: hidden;
}

.review-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-info {
  padding: 15px 20px;
  text-align: center;
  background-color: var(--fresh-white);
  border-top: 1px solid rgba(0, 51, 102, 0.05);
}

.video-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-ocean);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- CATALOG CONTROLS --- */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
  background: var(--fresh-white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 51, 102, 0.03);
  border: 1px solid rgba(0, 51, 102, 0.05);
}

@media (min-width: 768px) {
  .catalog-controls {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 100%;
}

@media (min-width: 768px) {
  .search-box {
    max-width: 350px;
  }
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-box input {
  width: 100%;
  padding: 12px 20px 12px 48px;
  border-radius: 30px;
  border: 2px solid rgba(0, 51, 102, 0.08);
  outline: none;
  background-color: var(--soft-sand);
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.search-box input:focus {
  border-color: var(--crest-teal);
  background-color: var(--fresh-white);
  box-shadow: 0 0 0 4px rgba(19, 154, 140, 0.1);
}

.filter-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-filter {
  background-color: var(--soft-sand);
  color: var(--deep-ocean);
  border: 1px solid rgba(0, 51, 102, 0.03);
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-filter:hover, .btn-filter.active {
  background-color: var(--crest-teal);
  color: var(--fresh-white);
  border-color: var(--crest-teal);
  box-shadow: 0 4px 10px rgba(19, 154, 140, 0.15);
}

