:root {
  --blue: #003264;
  --black: #202124;
  --white: #f8f9fa;
  --red: #8B0000;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #757575;
}

/* Reset & Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', cursive;
  background-color: #f4f4f4;
  padding-top: 80px;
  line-height: 1.6;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 80px;
  transition: all 0.3s ease;
}

.header-container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
}

/* Hamburger menu - hidden by default on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV MENU - Desktop version */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.nav-menu a {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  padding: 5px 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background-color: rgba(0, 50, 100, 0.1);
}

.nav-menu a.active {
  background-color: var(--red);
  color: white;
}

/* DROPDOWN MENU - For both desktop and mobile */
.dropdown {
  position: relative;
}

.dropdown > a::after {
  content: ' ▼';
  font-size: 0.6em;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--red);
  min-width: 200px;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.dropdown-content a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background-color: var(--blue);
}

/* Show dropdown when active class is added */
.dropdown-content.show {
  display: block;
}

/* Mobile styles */
@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background-color: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 10px;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .nav-menu.show {
    left: 0;
  }
  
  .nav-menu a {
    color: white;
    width: 100%;
  }
  
  .dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 5px;
  }
  
  /* Animate hamburger to X when menu is open */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Car Rental Hero Section */
.hero-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: slideBackground 24s infinite ease-in-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

@keyframes slideBackground {
  0%, 16% {
    background-image: url('../images/car1.jpg');
  }
  17%, 33% {
    background-image: url('../images/car2.jpg');
  }
  34%, 50% {
    background-image: url('../images/car3.jpg');
  }
  51%, 67% {
    background-image: url('../images/carbg.jpg');
  }
}

.activities-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content-bg {
  background-color: rgba(255, 255, 255, 0.2); 
  padding: 30px 40px;
  border-radius: 20px;
  display: inline-block;
}

.hero-content h1 {
  color: var(--red);
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease;
}

.hero-content h1 span {
  color: var(--blue);
}

.hero-content p {
  color: var(--black);
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

/* Price List Section */
.price-list-section {
  padding: 60px 20px;
  background-color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
}

.price-list-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.price-list-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 20px;
}

.price-list-section .section-header h2 span {
  color: var(--red);
}

.price-list-section .section-header p {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--red);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: var(--blue);
  transform: translateY(-2px);
}

.our-cabs {
  text-align: center;
  margin: 40px 0;
}

.our-cabs h3 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 20px;
}

.price-table-container {
  margin-top: 40px;
}

.price-table-container h2 {
  font-size: 2rem;
  color: var(--blue);
  text-align: center;
  margin-bottom: 30px;
}

.price-table-container h3 {
  font-size: 1.5rem;
  color: var(--red);
  margin: 30px 0 15px;
  padding-left: 10px;
  border-left: 4px solid var(--blue);
}

.price-table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.price-table thead {
  background-color: var(--blue);
  color: white;
}

.price-table th, .price-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

.price-table th {
  font-weight: bold;
}

.price-table tbody tr:nth-child(even) {
  background-color: rgba(0, 50, 100, 0.05);
}

.price-table tbody tr:hover {
  background-color: rgba(0, 50, 100, 0.1);
}

.price-note {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(139, 0, 0, 0.1);
  border-left: 4px solid var(--red);
  border-radius: 5px;
}

.price-note p {
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .price-list-section .section-header h2,
  .price-table-container h2 {
    font-size: 2rem;
  }
  
  .price-list-section .section-header p {
    font-size: 1rem;
  }
  
  .price-table-container h3 {
    font-size: 1.3rem;
  }
  
  .price-table th, .price-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .price-list-section .section-header h2,
  .price-table-container h2 {
    font-size: 1.8rem;
  }
  
  .price-table-container h3 {
    font-size: 1.2rem;
  }
  
  .price-table th, .price-table td {
    padding: 8px;
    font-size: 0.85rem;
  }
}

/* Cabs Display Grid */
.cab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.cab-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 220px;
}

.cab-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 2px solid var(--blue);
}

.cab-card h4 {
  margin: 12px 0;
  font-size: 1.1rem;
  color: var(--blue);
}

.cab-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 50, 100, 0.2);
}



/* Car Rental Enquiry Form Styles */
.activity-enquiry-form {
  padding: 80px 20px;
  background-color: var(--light-gray);
  position: relative;
}

.activity-enquiry-form .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.activity-enquiry-form .section-header h2 {
  font-size: 2.5rem;
  color: var(--blue);
}

.activity-enquiry-form .section-header h2 span {
  color: var(--red);
}

.activity-enquiry-form .section-header p {
  font-size: 1.2rem;
  color: var(--dark-gray);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--blue);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  font-family: 'Comic Neue', cursive;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 50, 100, 0.2);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background-color: var(--red);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
}

.submit-btn:hover {
  background-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 50, 100, 0.3);
}

/* Scroll to form animation */
@keyframes highlightForm {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 50, 100, 0);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(0, 50, 100, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 50, 100, 0);
  }
}

.highlight-form {
  animation: highlightForm 1.5s ease;
}

/* Footer Styling */
.main-footer {
  background-color: #003264;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-family: 'Comic Neue', cursive;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1 1 300px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  color: #ffffff;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #ffffff;
}

/* Hover Underline Animation */
.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #8B0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Social Media Icons */
.social-media-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #8B0000;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #ffffff;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .price-list-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .price-list-section .section-header h2,
  .activity-enquiry-form .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-content-bg {
    padding: 20px;
  }
  
  .price-list-section .section-header h2,
  .activity-enquiry-form .section-header h2 {
    font-size: 1.8rem;
  }
  
  .price-category {
    padding: 20px 15px;
  }
  
  .price-category h3 {
    font-size: 1.3rem;
  }
  
  .price-category ul li {
    font-size: 1rem;
  }
  
  .submit-btn {
    width: 100%;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
}