/* Styles for dashboard.html */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Mulish', sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

#app {
  width: 100%;
  overflow: hidden;
}

.header {
  background-color: #ffffff;
  padding: 20px 60px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img-full {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.nav a {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
}

.nav a:hover {
  color: #ea580c;
}

.separator {
  width: 2px;
  height: 33.5px;
  background-color: #d1d5db;
}

.user-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-section span {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  white-space: nowrap;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #ffffff;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-primary {
  padding: 10px 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ef7f1a 0%, #be2a2a 100%);
  border: none;
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.nav .btn-primary {
  color: #ffffff !important;
}

.nav .btn-primary:hover {
  opacity: 0.9;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  position: relative;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #ea580c;
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.card-selector-container {
  position: relative;
  background: #ffffff;
  border-radius: 12px 0 0 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0;
}

.card-preview-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-preview-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-selected-number {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6b7280;
}

.card-name {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #000000;
  line-height: 1.3;
}

.card-view-link {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #ea580c;
}

.dropdown-arrow {
  font-size: 12px;
  color: #ffffff;
  background-color: #ea580c;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.card-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 20;
}

.card-dropdown-menu.active {
  display: flex;
}

.card-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.card-option:hover {
  background-color: #f9fafb;
}

.card-option:not(:last-child) {
  border-bottom: 1px solid #e5e7eb;
}

.card-option img {
  width: 40px;
  height: 40px;
}

.card-option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-option-name {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #000000;
}

.card-option-number {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6b7280;
}

.hero-section {
  width: 100%;
  height: 450px;
  background-image: url('/public/Mask group.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-overlay {
  text-align: center;
  padding: 0 20px;
  margin-top: 60px;
}

.hero-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-section {
  background: #ffffff;
  padding: 0 95px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.stats-cards {
  display: flex;
  gap: 0;
  flex: 1;
  justify-content: flex-start;
  background: linear-gradient(180deg, #ef7f1a 0%, #be2a2a 100%);
  border-radius: 0 12px 12px 0;
  padding: 32px 48px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  min-width: auto;
  flex: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 15px;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 14px);
  color: #ffffff;
  line-height: 1.3;
}

.stat-value {
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 28px);
  color: #ffffff;
}

.experience-section {
  background-color: #f4f6f9;
  padding: 80px 95px;
}

.section-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #000000;
  text-align: center;
  margin-bottom: 64px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1800px;
  margin: 0 auto;
}

.experience-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 1px 2px 24px rgba(179, 179, 179, 0.25);
  transition: transform 0.3s;
  cursor: pointer;
  display: block;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.card-content {
  padding: 32px;
}

.card-content h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  color: #e3530f;
  margin-bottom: 16px;
}

.card-content p {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  line-height: 24px;
  margin-bottom: 24px;
}

.benefits-section {
  background: linear-gradient(180deg, #ef7f1a 0%, #be2a2a 100%);
  padding: 80px 95px;
}

.section-title-white {
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 36px);
  color: #ffffff;
  text-align: center;
  margin-bottom: 64px;
}

.benefits-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 1600px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 183px;
}

.benefit-item img {
  width: clamp(60px, 8vw, 100px);
  height: clamp(60px, 8vw, 100px);
}

.benefit-item h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
}

.benefit-divider {
  width: 2px;
  height: clamp(150px, 15vw, 210px);
  background-color: rgba(255, 255, 255, 0.3);
}

.booking-section {
  background-color: #ffffff;
  padding: 80px 95px;
}

.booking-table {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 32px;
  border-collapse: collapse;
  background-color: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
}

.booking-table thead {
  background-color: #f3f4f6;
}

.booking-table th {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  text-align: left;
  padding: 20px 24px;
}

.booking-table td {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
}

.status-processing {
  background-color: #fef3c7;
  color: #d97706;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
}

.status-cancelled {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
}

.status-confirmed {
  background-color: #d1fae5;
  color: #059669;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
}

.btn-view-all {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.btn-view-all:hover {
  opacity: 0.9;
}

.testimonials-section {
  background-color: #E3530F;
  background-image: url('/public/testimonial-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 95px;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background-color: transparent;
  opacity: 1;
  margin: 0 6px;
}

.carousel-indicators .active {
  background-color: #ffffff;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12);
  text-align: center;
  height: 100%;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.testimonial-name .name {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000000;
}

.testimonial-name .title {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #7e7e7e;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 24px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  line-height: 26px;
}

.footer {
  background: #fef3e8;
  padding: 40px 60px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand h2 {
  font-family: 'Mullish', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  color: #666;
  max-width: 400px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ea580c;
}

@media (max-width: 1400px) {
  .header {
    padding: 20px 40px;
  }

  .stats-section,
  .experience-section,
  .benefits-section,
  .booking-section,
  .testimonials-section,
  .footer-content {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1200px) {
  .header {
    padding: 16px 32px;
  }

  .logo-img-full {
    height: 45px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 99;
    overflow-y: auto;
    gap: 20px;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .separator {
    display: none;
  }

  .user-section {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
    order: -2;
  }
}

@media (max-width: 1024px) {
  .benefits-grid {
    flex-direction: column;
    gap: 32px;
  }

  .benefit-divider {
    width: 100%;
    height: 2px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }



  .hero-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
  }



  .hero-section {
    height: 400px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .stats-section {
    padding: 0 24px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-direction: column;
  }

  .card-selector-container {
    max-width: 100%;
    min-width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .stats-cards {
    border-radius: 0 0 12px 12px;
    padding: 20px 12px;
    flex-direction: row;
    gap: 8px;
  }

  .stat-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    border-right: none;
    padding: 0;
    gap: 8px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .stat-label {
    font-size: 11px;
  }

  .stat-value {
    font-size: 20px;
  }

  .experience-section,
  .benefits-section,
  .booking-section,
  .testimonials-section {
    padding: 40px 24px;
  }

  .section-title,
  .section-title-white {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 250px;
  }

  .booking-table {
    display: block;
    overflow-x: auto;
  }

  .booking-table th,
  .booking-table td {
    white-space: nowrap;
    font-size: 14px;
    padding: 12px 16px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-quote {
    font-size: 16px;
    line-height: 28px;
  }

  .footer {
    padding: 32px 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .carousel-indicators {
    bottom: -30px;
  }
}

@media (max-width: 480px) {


  .hero-title {
    font-size: 22px;
    margin-top: -12px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title,
  .section-title-white {
    font-size: 24px;
  }

  .card-content h3 {
    font-size: 24px;
  }

  .card-content p {
    font-size: 16px;
  }

  .benefit-item h3 {
    font-size: 18px;
  }
}
/* Profile Dropdown Styles */
.user-section {
    position: relative;
    cursor: pointer;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 150px;
    display: none;
    z-index: 1000;
    margin-top: 10px;
}

.profile-dropdown.active {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.profile-dropdown a:hover {
    background: #f5f5f5;
    color: #ea580c;
}

/* Mobile Nav Adjustments */
@media (max-width: 1200px) {
    .nav .btn-primary {
        order: -1; /* Move below user section which is order -2 */
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
        padding: 12px 24px !important; /* Fix padding */
    }
    
    .nav .logout-link-mobile {
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f3f4f6;
        color: #dc2626 !important; /* Red color for logout */
    }
}

@media (min-width: 1201px) {
    .logout-link-mobile {
        display: none;
    }
}

/* Desktop Nav Adjustments for Reordered Elements */
@media (min-width: 1201px) {
    .nav {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    /* Reset order for desktop to match visual design */
    .nav > a:not(.btn-primary):not(.logout-link-mobile) {
        order: 1;
    }
    
    .separator {
        order: 2;
        display: block;
    }
    
    .user-section {
        order: 3;
    }
    
    .nav .btn-primary {
        order: 4;
    }
}
