/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ===== GLOBAL ===== */
html, body {
    min-height: 100%;
}

body {
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
background: linear-gradient(135deg, #89f7fe 0%, #89f7fe 50%, #66a6ff 100%);

    color: #333;
    line-height: 1.7;
    font-size: 16px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box; 
   position: sticky;
    top: 0;
    z-index: 10;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img {
    width: 92px;
    height: auto;
}

/* THE RSB CABS TEXT */
/* THE RSB CABS TEXT */
.brand-name{
    font-family: 'Pacifico', cursive; /* or 'Lobster' */
    font-size: 42px;
    color: #ff1f7a; /* pink */
    letter-spacing: 2px;
    font-weight: normal;
}
.popup-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 350px;
    border-radius: 10px;
}


.header nav a {
    margin-right: 22px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}
.header nav a:hover { color: #0078ff; }

.header nav .btn {
    background: #0078ff;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
}
.header nav .btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}  .slideshow {
              position: relative;
              width: 100%; /* Full width */
              height: 500px; /* Adjust height as needed */
              overflow: hidden; /* Prevent any overflow */
              margin: 0 auto; /* Center the slideshow */
        }

        .slideshow img {
             width: 100%;
             height: 100%;
             object-fit: cover; /* Ensure the image covers the entire container */
             display: none;
        }

        .slideshow img:first-child {
            display: block;
        }

/* ===== HERO SECTION ===== */
.hero {
    height: 70vh;
    background: url(".jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: #3ea8ff;
}
.hero h1 {
    font-size: 45px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.hero p {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
}
.road-hero{
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(#7ec8ff, #dff3ff);
}
.hero-banner{
  width:100%;
  overflow:hidden;
}

.hero-banner img{
  width:100%;
  height:300px;       /* height change panna OK */
  object-fit:cover;   /* image stretch aagaama fit aagum */
  display:block;
}
.slideshow {
  aspect-ratio: 16 / 9; 
  position: relative;
  overflow: hidden;
}

.slideshow img {
  width: 100%;
  height: 100%;              /* important */
  object-fit: contain; /* cut aagama full image */
  position: relative;
  z-index: 2;    
}

.slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 1;
}

.packages{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:30px;
  padding:60px 8%;
  background:#f6f8ff;
}

.package-card{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 15px 30px rgba(0,0,0,0.2);
  text-decoration:none;
}

.package-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  transition:transform 0.4s ease;
}

.package-card h3{
  position:absolute;
  bottom:15px;
  left:15px;
  background:rgba(0,0,0,0.6);
  color:#fff;
  padding:10px 18px;
  border-radius:30px;
  font-size:18px;
}

.package-card:hover img{
  transform:scale(1.1);
}

.city{
  position: absolute;
  bottom: 110px;              /* road mela */
  left: 0;
  width: 500%;
  height: 180px;
  background: url("city.png") repeat-x;
  background-size: contain;
  animation: cityMove 3s linear infinite;
  z-index: 1;                 /* BEHIND car */
}


.road{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: #546e7a;
  z-index: 2;
}


/* CAR */
.car{
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
 z-index: 3;
}

/* BODY */
.car-body{
  width: 420px;
  display: block;
}

/* WHEELS */
.wheel{
  position: absolute;
  width: 65px;
  bottom: 6;
  animation: wheelSpin 1s linear infinite;
}

.wheel-left{
  bottom:85px;
  left: 285px;
}

.wheel-right{
  bottom:85px;
  right: 150px;
}

/* ANIMATIONS */
@keyframes roadMove{
  from { background-position-x: 0; }
  to { background-position-x: -1500px; }
}

@keyframes cityMove{
  from { background-position-x: -1000px; }
  to { background-position-x: 0; }
}

@keyframes wheelSpin{
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.welcome-text{
    text-align: center;
    margin-top: 20px;
    padding: 20px;
}

.welcome-text h1{
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0d6efd;
    animation: fadeDown 1.2s ease;
}

.welcome-text h1 span{
    color: #ff2f92;
    text-shadow: 0 0 15px rgba(255,47,146,0.5);
}
.place{
  display:flex;
  align-items:center;
  gap:40px;
  padding:70px 10%;
  background:#fff;
}

.place.reverse{
  flex-direction:row-reverse;
  background:#f0f4ff;
}

.place img{
  width:45%;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.place .content{
  width:55%;
}

.place h2{
  font-size:32px;
  color:#1e3c72;
  margin-bottom:15px;
}

.place p{
  font-size:18px;
  line-height:1.8;
  color:#444;
}
.temple-box-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px;
}

.temple-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Flex layout */
.temple-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Text area */
.temple-text {
  flex: 1;
}

/* Image area */
.temple-image {
  flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.temple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* professional look */
}

/* Footer text */
.box-footer {
  margin-top: 15px;
  font-weight: 500;
}

.welcome-text p{
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(90deg,#00c6ff,#0072ff);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    color: #fff;
    animation: fadeUp 1.2s ease;
}
welcome-text{
  background: 
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("tirunelvli.jpg") center/cover no-repeat;
  color: #fff;
}


/* Animations */
@keyframes fadeDown{
    from{opacity:0; transform: translateY(-20px);}
    to{opacity:1; transform: translateY(0);}
}

@keyframes fadeUp{
    from{opacity:0; transform: translateY(20px);}
    to{opacity:1; transform: translateY(0);}
}
/* BUTTONS */
.btn.big {
    margin-top: 20px;
    padding: 12px 25px;
    background: white;
    color: #0077c7;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn.big:hover {
    background: #e6f3ff;
    transform: scale(1.05);
}

/* ===== ARTICLE ===== */
.article {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(175, 218, 255, 0.6);
}
.article h2 {
    font-size: 32px;
    color: #0077c7;
    margin-bottom: 20px;
}
.article h3 {
    font-size: 24px;
    margin-top: 25px;
    color: #005b96;
}
.article p { font-size: 18px; color: #444; }
.article ul {
    margin-top: 15px;
    text-align: left;
    display: inline-block;
    font-size: 18px;
}
/* Floating container */
.floating-icons {
    position: fixed;
    right: 15px;
    bottom: 90px;
    z-index: 9999;
}

/* Common floating style */
.float {
    display: block;
    margin-bottom: 15px;
    animation: floatUpDown 2.8s ease-in-out infinite;
}

/* Icon image */
.float img {
    width: 80px;
    transition: transform 0.3s;
}

/* Hover zoom */
.float:hover img {
    transform: scale(1.15);
}

/* Different delay so both don't move same time */
.float.phone {
    animation-delay: 0s;
}

.float.whatsapp {
    animation-delay: 1.2s;
}

/* 🔁 Floating animation */
@keyframes floatUpDown {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* ===== OUR CARS ===== */
.our-cars {
    padding: 40px 20px;
    text-align: center;
}

.our-cars h2 {
    font-size: 32px;
    color: #0078ff;
    margin-bottom: 25px;
}

/* ===== DESKTOP VIEW (ONE ROW) ===== */
.car-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Car Card */
.car-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 260px;            /* 🔑 FIXED SIZE – no zoom */
    transition: 0.3s;
}

.car-box img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.car-box h3 {
    margin: 12px 0 5px;
    color: #0078ff;
}

.car-box p {
    color: #444;
    font-size: 15px;
    padding-bottom: 15px;
}

.car-box:hover {
    transform: translateY(-5px);
}


/* HEART BUTTON */
.heart-btn {
    position: relative;
    background: #ff0066;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s;
}

/* Heart Shape - Left Side */
.heart-btn:before,
.heart-btn:after {
    content: "";
    position: absolute;
    top: -10px;
    width: 20px;
    height: 30px;
    background: #ff0066;
    border-radius: 20px 20px 0 0;
}

/* Left curve */
.heart-btn:before {
    left: 10px;
    transform: rotate(-45deg);
}

/* Right curve */
.heart-btn:after {
    right: 10px;
    transform: rotate(45deg);
}

/* Hover effect */
.heart-btn:hover {
    background: #e6005c;
    transform: scale(1.07);
}


/* ===== SERVICES ===== */
.services {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #89f7fe, #66a6ff);

}
.service-boxes {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}
.box {
    background: white;
    padding: 20px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 0 10px #8ccfff;
    transition: 0.3s;
}
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: #0d6efd;
    color: white;
    padding: 25px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Footer Links */
.footer-links a {
    margin: 0 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 5px;
    transition: 0.3s;
}
.footer-links a:hover {
    background: #ffc107;
    color: #0d6efd;
}

/* Book Now */
.footer-book-btn {
    background: #ffc107;
    color: #000;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}
.footer-book-btn:hover {
    background: #e6b800;
    color: #fff;
    transform: scale(1.05);
}
.social-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}


/* Social Icons */
/* Common style for all icons */
.footer-social a {
    margin: 0 8px;
    font-size: 22px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #0d6efd;
    transition: 0.3s;
    text-decoration: none;
}

/* WhatsApp Hover */
.footer-social a.whatsapp:hover {
    background: #25D366;
    color: white;
    transform: scale(1.15);
}

/* Phone Hover */
.footer-social a.phone:hover {
    background: #0A7BFF;
    color: white;
    transform: scale(1.15);
}

/* Gmail Hover */
.footer-social a.gmail:hover {
    background: #D44638; /* Gmail red */
    color: white;
    transform: scale(1.15);
}


.footer-copy {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #d0d0d0;
}

/* ===== TOURISM HERO ===== */
.tourism-hero img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: brightness(70%);
}
.tourism-hero h1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 36px;
    font-weight: 800;
}
.tourism-hero p {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
}

/* ===== PLACES GRID ===== */
.places-container {
    max-width: 1100px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}
.place-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}
.place-card img {
    width: 100%;
    height: 200px;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}
.place-card h2 {
    margin-top: 12px;
    color: #0078ff;
}
.place-card p {
    padding: 10px 15px;
    color: #444;
}
#bookingForm {
  display: none;
}
/* POPUP BACKDROP */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* POPUP BOX */
.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 380px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: popupShow 0.3s ease;
}

/* POPUP ANIMATION */
@keyframes popupShow {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #d3165a;
}

/* INPUTS */
.popup-content input,
.popup-content textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0 18px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* SUBMIT BUTTON */
.submit-btn {
    width: 100%;
    background: #ff006a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.2s;
}

.submit-btn:hover {
    background: #e6005e;
}

/* CLOSE BUTTON */
.close-btn {
    width: 100%;
    background: #333;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    background: #000;
}
.gif-book-container {
    position: relative;
    width: 160px;
    margin: 10px auto;
    cursor: pointer;
    animation: float 2s ease-in-out infinite;
}

.book-gif {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(255, 0, 120, 0.3);
}

.gif-book-text {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 20, 147, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 10px;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

@keyframes float {
    0% { transform: translateY(0); } 
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}




/* ===== RESPONSIVE ===== */
/* ===== MOBILE SWIPE VIEW ===== */
@media (max-width: 768px) {
 .temple-flex {
    flex-direction: column;
  }
   .welcome-text h1{
        font-size: 26px;
    }
    .welcome-text p{
        font-size: 16px;
    }

    .car-grid {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 10px;
    }

    .car-box {
        min-width: 80%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    /* Hide scrollbar */
    .car-grid::-webkit-scrollbar {
        display: none;
    }

 
    .header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
    }

    .header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 8px;
    }

    .header nav a {
        margin: 6px 10px;
        font-size: 15px;
        padding: 6px 10px;
        background: #f2f7ff;
        border-radius: 6px;
        border: 1px solid #d0e4ff;
    }

    .header nav .btn {
        background: #0078ff;
        color: #fff;
        padding: 6px 12px;
        border-radius: 6px;
        margin-top: 5px;
    }

     .service-boxes {
        flex-direction: column;
        align-items: center;
    }
    .box {
        width: 90%;
    }

  /* HEADER */
  .header {
    flex-direction: column;
    padding: 15px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  /* PLACE SECTION */
  .place,
  .place.reverse {
    flex-direction: column;
    padding: 25px 15px;
    text-align: center;
  }

  .place img {
    width: 100%;
    max-width: 100%;
  }

  .place .content {
    width: 100%;
  }

  /* TEMPLE BOX SECTION */
  .temple-flex {
    flex-direction: column;
  }

  .temple-image img {
    width: 100%;
  }


}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
}




