* {
  margin: 0;
  padding: 0;
  font-family: 'poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

.logo {
  width: 190px;
  padding-bottom: 5px;
  padding-top: 10px;
  cursor: pointer;
}

body {
  background-color: rgb(62, 62, 62);
  color: #333;
}
.header {
    width: 100%;
}
.header nav {
    padding-top: 10px;
    padding-bottom: 15px;
}
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    background-color:#333;
    position: relative;
    z-index: 10;
}

.hero-image {
    height: 50vh;
    width: 100%;
    background-image: url(/PICTURES/RanchoLogo.jpg);
    background-size: cover;
    background-position: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

nav img {
    width: 150px;
}

.menu-bar {
    position: fixed;
    height: 100vh;
    z-index: 2;
    width: 200px;
    top: 0;
    right: -250px;
    background: gray;
    text-align: left;
    transition: 1s;
    display: flex;
    flex-direction: column;
  }
  .menu-bar li {
    list-style: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
  }
 
.menu-bar ul {
    padding-top: 50px;
    padding-left: 10px;
  }
  
  .menu-bar ul li {
    display: block;
    position: relative;
  }
  
.tours-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .activity-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .activity-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    }
    
    .activity-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .activity-info {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    
    .activity-info h2 {
        margin: 0 0 15px 0;
        font-size: 1.25rem;
        font-weight: bold;
        color: #333;
    }
    
    .activity-info p1 {
        flex-grow: 1;
        margin-bottom: 15px;
        line-height: 1.5;
        color: #666;
        font-size: 0.9rem;
    }
    
    .activity-info .duration,
    .activity-info .price {
        margin: 5px 0;
        font-weight: 600;
        color: #333;
    }
    
    .activity-info .price {
        color: #e74c3c;
        font-size: 1.1rem;
    }
    
    .booking-section {
        margin-top: auto;
        padding-top: 15px;
    }
    
    .whatsapp-btn {
        display: inline-block;
        width: 100%;
        padding: 12px;
        background-color: #25d366;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }
    
    .whatsapp-btn:hover {
        background-color: #128c7e;
    }
    
    .ticket-only {
        background-color: #f8f9fa;
        padding: 10px;
        border-radius: 5px;
        margin: 10px 0;
        border-left: 4px solid #007bff;
    }
    
    .ticket-only h4 {
        margin: 0 0 5px 0;
        color: #007bff;
        font-size: 0.9rem;
    }
    
    .ticket-only p {
        margin: 2px 0;
        font-size: 0.8rem;
        color: #666;
    }

.dropdown-icon {
    font-size: 20px;
    position: relative;
    right: -10px;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out all;
}

.services:hover .dropdown-icon {
    transform: rotate(180deg);
    display: block;
}

.drop-down li:hover {
    background: rgb(173, 170, 170);
    color: white;
    border-radius: 0.5rem;
}

.text-box {
  width: 90%;
  color: gray;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 120px;
  margin-bottom: 10px;
}

.booking-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #25D366;
  border-radius: 6px;
  max-width: 300px;
  margin: 0 auto;
}

.booking-unavailable {
  color: #ff0000;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
}



.footer a {
  text-decoration: none;
  color: #999;
  font-size: 22px;
  margin: 0 10px;
}

.footer {
  background-color: #1a202c;
  padding-top: 15%;
  color: #a0aec0;
  margin: 30px 0 0;
  text-align: center;
  padding-bottom: 10px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px;
  margin-bottom: 2rem;
}

.footer-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: #a0aec0;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #2d3748;
}

.title {
  background-color: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 100px;
  margin-left: 180px;
  margin-right: 180px;
  border-radius: 8px;
}

.title h1 {
  margin: 0;
}

.overview {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.content {

  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 70px;
}
.content h1 {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    padding: 0 20px;
}

/* Add extra spacing for the first h1 after header */
.content:first-of-type h1 {
    margin-top: 100px;
}

.overview h2 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.overview ul {
  padding-left: 20px;
}


.booking-info {
  background-color: #f1f8ff;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

.booking-info h3 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 18px;
}

.rezdy {
  width: 100%;
  border: none;
  margin-top: 100px;
}



.gotopbtn {
  position: fixed;
  width: 50px;
  height: 50px;
  background: #eb0404;
  bottom: 40px;
  right: 50px;
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  color: white;
  font-size: 22px;
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

  nav .fa {
    display: block;
    margin: 10px;
    font-size: 30px;
    cursor: pointer;
  }

.fa-bars-container {
  position: absolute;
  right: 30px;
  top: 20px;
  padding: 10px;
}

.fa-bars {
  font-size: 24px;
  cursor: pointer;
  color: white;
}


@media only screen and (max-width: 650px) {
  .text-box h1 {
    font-size: 50px;
  }
  
  .menu-bar {
    position: fixed;
    height: 100vh;
    z-index: 2;
    width: 200px;
    top: 0;
    right: -250px;
    background: gray;
    text-align: left;
    transition: 1s;
    display: flex;
    flex-direction: column;
  }
   .hero-image {
    height: 30vh; /* Smaller hero image on mobile */
    margin-top: 10px;
    margin-bottom: 20px;
  }
  .menu-bar li {
    list-style: none;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
  }
 

  .menu-bar ul li {
    display: block;
  }
  
  nav .fa {
    display: block;
    margin: 10px;
    font-size: 30px;
    cursor: pointer;
  }
  
  .menu-bar ul {
    padding-top: 50px;
    padding-left: 10px;
  }
  
  .title {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 50px;
  }
  
  /* Mobile Booking Section - Even Smaller */
  .booking-section {
    padding: 6px 10px;
    font-size: 14px;
    margin-right: 6px;
    margin-left: 6px;
  }
  
  .booking-unavailable {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .whatsapp-btn {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .whatsapp-btn i {
    margin-right: 6px;
  }
  
  /* Mobile Booking Info - Reduced */
  .booking-info {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .booking-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  /* Hide detailed information on mobile */
  
  .activity-info p1 {
    display: none;
  }
  
  .overview ul {
    display: none;
  }
  
  /* Mobile Activity Card Layout - Horizontal Layout */
  .activity-card {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
    height: auto;
    min-height: 120px;
  }
  
  .activity-card img {
    width: 35%;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .activity-info {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .activity-info h2 {
    font-size: 20px;
    margin-bottom: 6px;
    line-height: 1.2;
  }
  
  .activity-info p {
    font-size: 13px;
    margin-bottom: 1px;
    line-height: 1.3;
  }
  
  .activity-info .price {
    font-size: 15px;
    font-weight: bold;
    color: #e74c3c;
  }
  
  .activity-info .duration {
    font-size: 11px;
    font-style: italic;
    color: #7f8c8d;
  }
  
  /* Ensure content grid is single column on mobile */
  .content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }
  .content h1 {
        font-size: 2rem;
        margin-top: 60px;
        margin-bottom: 30px;
        color: white;
    }
    
    .content:first-of-type h1 {
        margin-top: 80px;
    }
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
  .overview {
    margin-right: 0;
    min-width: auto;
  }
  
  .overview h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .ticket-only{
    display: none;
  }
}