/* styles.css - Golden Tour Booking Styles */

:root {
    --gold: #C7A24F;    
    --gold-primary: #C7A24F;
    --gold-light: #E4CA7A;
    --gold-dark: #A68741;
    --cream: #FAF9F6;
    --text-dark: #2C2C2C;
    --text-muted: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}


.hf-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(199, 162, 79, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  z-index: 1000;
}
.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: 1px;
}
.brand-text {
  position: relative;
}
.brand-dot {
  color: var(--gold);
  font-size: 2rem;
  margin-left: 4px;
  animation: pulse 2s infinite;
}
.hf-navbar .nav-link {
  color: var(--gray-900) !important;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-smooth);
}
.hf-navbar .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.hf-navbar .nav-link:hover::before {
  width: 70%;
}
.hf-navbar .nav-link:hover {
  color: var(--gold) !important;
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}
.dropdown-item {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
}
.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(199, 162, 79, 0.1), rgba(199, 162, 79, 0.05));
  color: var(--gold);
}





/* Header */
.header {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/assets/tour/egypt-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
}
.header-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.header-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}



/* Main Content */
.main-content {
    padding: 3rem 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}



/* Tours Grid */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.25rem;
    grid-column: 1 / -1;
}



/* Tour Card */
.tour-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(199, 162, 79, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(199, 162, 79, 0.25);
}
.tour-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.tour-price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--gold-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.125rem;
}
.tour-content {
    padding: 1.5rem;
}
.tour-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.tour-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.tour-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.tour-duration,
.tour-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.star-icon {
    color: var(--gold-primary);
}
.tour-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}
.tour-dates {
    margin-bottom: 1rem;
}
.dates-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}
.dates-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.date-badge {
    background-color: var(--gold-light);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.tour-included {
    margin-bottom: 1.5rem;
}
.included-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}
.included-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.included-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.check-icon {
    color: var(--gold-primary);
    flex-shrink: 0;
}
.btn-book {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--gold-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-book:hover {
    background-color: var(--gold-dark);
}



/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal.active {
    display: flex;
}
.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 0.5rem;
}
.modal-close:hover {
    color: var(--text-dark);
}
.modal-title {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}
.modal-tour-name {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}



/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
}
.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}



/* Price Summary */
.price-summary {
    padding: 1rem;
    background-color: var(--cream);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.price-row.total {
    padding-top: 0.5rem;
    border-top: 2px solid var(--gold-light);
    font-size: 1.25rem;
    font-weight: 700;
}
.price-value {
    font-weight: 600;
}
.price-total {
    color: var(--gold-primary);
    font-weight: 700;
}
.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--gold-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0.5rem;
}
.btn-submit:hover {
    background-color: var(--gold-dark);
}



/* Confirmation Modal */
.confirmation-modal {
    text-align: center;
}
.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.confirmation-title {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.confirmation-message {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.booking-details {
    background-color: var(--cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: left;
}
.detail-row {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.detail-row:last-child {
    margin-bottom: 0;
}
.detail-row strong {
    color: var(--text-dark);
    font-size: 0.875rem;
}
.detail-row span {
    color: var(--text-muted);
}
.confirm-total {
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: 700;
}



.hf-footer {
  color: #000;
  background: rgba(85, 87, 88, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E4E6EB;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.hf-footer a { 
  color: #000; 
  text-decoration: none; 
}
.hf-footer a:hover { 
  color: #D2AD67; 
}
.hf-heading {
  color: #D2AD67;
  letter-spacing: .02em;
  margin-bottom: .75rem;
}
.ft-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
#ft-container01, #ft-container02 {
  border-right: 1px solid rgba(251, 250, 246, 0.12);
}
#mailto01 {
  overflow-wrap: break-word;
}
.mb-2 h6 {
  font-weight: bold;
}
.col-md-4.mb-4 {
  margin: 0;
}
.hf-hours li {
  display: flex;
  justify-content: space-between;
  padding: .3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hf-hours li:last-child { 
  border-bottom: 0; 
}
.hf-hours .day { 
  font-weight: 600; 
}
.hf-hours .time { 
  opacity: .8; 
}
.btn-gold {
  background: linear-gradient(135deg,#C7A24F,#E4CA7A);
  color: #fff;
  border: 0; 
  border-radius: 999px;
  padding: .7rem 1.4rem;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(199,162,79,.22);
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-gold:hover { 
  filter: brightness(1.05); 
  transform: translateY(-2px); 
}
.social-icon {
  margin-left: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.social-icon img {
  margin-right: 10px;
  border-radius: 50%;
}
.hf-social-link {
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease, color .15s ease;
}
.hf-social-link:hover {
  transform: translateY(-2px);
  border-color: #D2AD67;
  color: #111;
}




/* Responsive */
@media (max-width: 768.98px) {
    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
    }
      #ft-container01, #ft-container02 {
    max-width: 490px;
    border-bottom: 1px solid rgba(251, 250, 246, 0.12);
    border-right: none;
    padding-bottom: 15px;
  }
}