/* 
 * LeoPalace Resort Guam - Off Road Adventure Page Styles
 * /optional-tours/css/index.css
 */

/* ----------------------------------------
   Hero Section Specific for Activities
---------------------------------------- */
.activities-hero .slideshow-item:nth-child(1) {
  background-image: url('/optional-tours/img/hero-off-road-adventure.jpg');
  background-position: center;
  background-size: cover;
}

h3.under-style {
    color: var(--color-primary);
    text-align: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: normal;
    letter-spacing: 3.6px;
    margin-bottom: var(--spacing-lg);
}

p {
  letter-spacing: 1px;
}

.detail-icon svg {
    width: 45%;
    fill: #ffffff;
}

/* ----------------------------------------
   Page Title Section
---------------------------------------- */
.page-title {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(145, 138, 122, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.page-subtitle {
  color: var(--color-text-light);
  font-size: var(--font-size-md);
  font-weight: 300;
  margin-top: 10px;
  letter-spacing: 2px;
}

/* ----------------------------------------
   Tour Overview Section
---------------------------------------- */
.tour-overview {
  padding: 80px 0;
}

/* ----------------------------------------
   Important Notes Section
---------------------------------------- */
.important-notes {
  padding: 80px 0;
  background-image: url('/common/img/background2.jpg');
  background-size: cover;
  background-position: center;
}

.notes-content {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.note-item {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px 30px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.note-item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
  font-size: var(--font-size-sm);
  text-align: center;
}

.note-item strong {
  color: var(--color-primary);
  font-weight: 600;
}

.closing-note {
  text-align: center;
  font-size: var(--font-size-md);
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 40px;
  padding: 30px 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  border: 2px solid var(--color-primary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------
   Vehicle Options Section
---------------------------------------- */
.vehicle-options {
  padding: 80px 0;
}

.vehicle-list {
  margin-top: 40px;
}

.vehicle-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.vehicle-item:nth-child(even) {
  flex-direction: row-reverse;
}

.vehicle-img {
  width: 45%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-item:hover .vehicle-img img {
  transform: scale(1.05);
}

.vehicle-info {
  width: 55%;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vehicle-info h3 {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 20px;
  text-align: left;
  letter-spacing: 2px;
}

.vehicle-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

.vehicle-info p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   Quick Details Section
---------------------------------------- */
.quick-details {
  padding: 80px 0;
  background-image: url('/common/img/background2.jpg');
  background-size: cover;
  background-position: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.detail-card {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--color-primary);
}

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

.detail-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.detail-card h4 {
  color: var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
}

.detail-card p {
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin-bottom: 0;
}

.detail-card a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.detail-card a:hover {
  color: var(--color-hover);
  text-decoration: underline;
}

.detail-card strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ----------------------------------------
   Booking CTA Section
---------------------------------------- */
.booking-cta {
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content > p {
  font-size: var(--font-size-md);
  color: var(--color-text-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.booking-btn {
  display: inline-flex;
  margin: 0 auto 20px;
  padding: 0 50px;
  height: 60px;
  font-size: var(--font-size-md);
  font-weight: 500;
  background-color: var(--color-hover);
  transition: all 0.3s ease;
  border-radius: 32px;
}

.booking-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.booking-note {
  color: var(--color-text-light);
  font-size: var(--spacing-sm);
  line-height: 1.4;
  margin: 0;
}

/* ----------------------------------------
   Adventure Contact Section
---------------------------------------- */
.adventure-contact {
  padding: 80px 0;
  background-image: url('/common/img/background2.jpg');
  background-size: cover;
  background-position: center;
}

.contact-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-content h2 {
  margin-bottom: 15px;
  color: var(--color-white);
}

.contact-content > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-md);
  margin-bottom: 40px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--color-primary);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.contact-item h4 {
  color: var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact-item p {
  margin-bottom: 5px;
  color: var(--color-text);
}

.contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-hover);
  text-decoration: underline;
}

.contact-item small {
  color: var(--color-text-light);
  font-size: 12px;
}

/* ----------------------------------------
   Responsive Design
---------------------------------------- */
@media screen and (max-width: 1024px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .contact-methods {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vehicle-info {
    padding: 25px 30px;
  }
}

@media screen and (max-width: 768px) {
  .page-title {
    padding: 60px 0 40px;
  }
  
  .tour-overview,
  .important-notes,
  .vehicle-options,
  .quick-details,
  .booking-cta,
  .adventure-contact {
    padding: 60px 0;
  }
  
  .details-grid,
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .vehicle-item {
    flex-direction: column !important;
    margin-bottom: 40px;
  }
  
  .vehicle-img,
  .vehicle-info {
    width: 100%;
  }
  
  .vehicle-info {
    padding: 25px;
  }
  
  .vehicle-info h3 {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .detail-card,
  .contact-item {
    padding: 20px 15px;
  }
  
  .booking-btn {
    padding: 0 40px;
    height: 50px;
  }
}

@media screen and (max-width: 550px) {
  .page-title {
    padding: 40px 0 30px;
  }
  
  .page-title h2 {
    font-size: calc(var(--font-size-lg) - 2px);
  }
  
  .page-subtitle {
    font-size: var(--font-size-sm);
  }
  
  .note-item {
    padding: 15px 20px;
  }
  
  .vehicle-info {
    padding: 20px;
  }
  
  .vehicle-info h3 {
    font-size: var(--font-size-md);
  }
  
  .detail-card,
  .contact-item {
    padding: 20px 15px;
  }
  
  .detail-icon,
  .contact-icon {
    width: 45px;
    height: 45px;
  }
  
  .detail-icon img {
    width: 25px;
    height: 25px;
  }
  
  .booking-btn {
    padding: 0 30px;
    height: 45px;
    font-size: var(--font-size-sm);
  }
  
  .cta-content > p {
    font-size: var(--font-size-sm);
  }
}

/* ----------------------------------------
   Header Navigation Override
---------------------------------------- */
/* Remove green hover bars from header navigation */
.header .menu a::after {
  display: none !important;
}

.header .language-switch a::after {
  display: none !important;
}

/* Remove green bar from header top */
.header {
  border-top: none !important;
  border-bottom: none !important;
}

.header.scrolled {
  border-top: none !important;
  border-bottom: none !important;
}

/* Remove any green background or border elements */
.header::before,
.header::after {
  display: none !important;
}

.header.scrolled::before,
.header.scrolled::after {
  display: none !important;
}

/* ----------------------------------------
   Animation Enhancements
---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.note-item,
.vehicle-item,
.detail-card,
.contact-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for grid items */
.note-item:nth-child(1) { animation-delay: 0.1s; }
.note-item:nth-child(2) { animation-delay: 0.2s; }
.note-item:nth-child(3) { animation-delay: 0.3s; }

.vehicle-item:nth-child(1) { animation-delay: 0.1s; }
.vehicle-item:nth-child(2) { animation-delay: 0.2s; }
.vehicle-item:nth-child(3) { animation-delay: 0.3s; }

.detail-card:nth-child(1) { animation-delay: 0.1s; }
.detail-card:nth-child(2) { animation-delay: 0.2s; }
.detail-card:nth-child(3) { animation-delay: 0.3s; }
.detail-card:nth-child(4) { animation-delay: 0.4s; }
.detail-card:nth-child(5) { animation-delay: 0.5s; }
.detail-card:nth-child(6) { animation-delay: 0.6s; }

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }