/* ---------------------------------------------------------
   GLOBAL STYLES
--------------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #333;
}

/* ---------------------------------------------------------
   HEADER + NAVIGATION
--------------------------------------------------------- */

header {
    width: 100%;
    background: linear-gradient(to right, rgb(183 131 64), rgb(35 138 50));
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999; /* Highest layer */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 2%;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: white;
    line-height: 0.75;
    text-align: center;
}
.logoSpan1{
	font-family: 'Playfair Display', serif;
    color: #2e7d32;
    font-size: 36px;
    font-weight: 700;
}
.logoSpan2{
	font-size: medium;
    color: #1b5e20;
}

nav a,
nav .dropbtn {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

nav a:hover,
nav .dropbtn:hover {
    color: #FFB300; /* Safari orange */
}

/* ---------------------------------------------------------
   DROPDOWN MENU
--------------------------------------------------------- */

.dropdown {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #76cb7c;
    min-width: 220px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.25);
    padding: 5px 0;
    z-index: 9999;
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* SUBMENU CONTAINER */
.submenu {
    position: relative;
}

/* RESERVE NAME */
.submenu-title {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.submenu-title:hover {
    background-color: #f3f3f3;
}

/* SECOND LEVEL */
.submenu-content {
    display: none;
    height: 200px;
    overflow-y: scroll;
    top: 0;
    left: 100%;
    background-color: #76cb7c;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10000;
}

/* Show gates on reserve hover */
.submenu:hover .submenu-content {
    display: block;
}

/* GATE LINKS */
.submenu-content a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
}

.submenu-content a:hover {
    background-color: #eaeaea;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */

.hero {
    position: relative;
    background: url('../images/home-page.png') center/cover no-repeat;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2%; /* space for fixed header */
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    z-index: 1;
}

.hero-text {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 20px;
}

.hero-text button {
    padding: 12px 28px;
    background: rgb(231, 145, 79);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.hero-text button:hover {
    background: #FF8F00;
}

/* ---------------------------------------------------------
   INFO CARDS
--------------------------------------------------------- */

.info-cards {
    display: flex;
    gap: 25px;
    padding: 50px;
    justify-content: center;
}

.card {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.card button{
	padding: 12px 28px;
    background: rgb(231, 145, 79);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* ---------------------------------------------------------
   GALLERY
--------------------------------------------------------- */

.gallery {
    display: flex;
    justify-content: space-evenly;
    padding: 50px 20px;
    flex-wrap: wrap;
}
.gallery h2{
	margin-bottom: 15px;
    color: #1b5e20;
}

.gallery img {
    width: 30%;
    min-width: 280px;
    margin: 10px;
    border-radius: 12px;
    transition: 0.35s;
    height: 200px;
    object-fit: cover;
}

.gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

/* ---------------------------------------------------------
   CONTACT POPUP
--------------------------------------------------------- */

.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);
    z-index: 99999; /* above all */
}

.contact-popup-content {
    background: #fff;
    width: 90%;
    margin: 8% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
    height: 70%;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
}

/* Form fields */
.contact-popup-content input,
.contact-popup-content textarea {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #aaa;
}

.contact-popup-content button,
.privacy-popup-content button
 {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: #FF6F00;
    border: none;
    color: white;
    font-size: 17px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-popup-content button:hover {
    background: #FF8F00;
}

/* Fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   RESPONSIVE DESIGN
--------------------------------------------------------- */

@media (max-width: 768px) {

    nav {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 90%;
    }
}
/*--------------------------------------------------------
	FOOTER
----------------------------------------------------------*/
.footer{
	text-align: center;
	background-color: rgb(27, 94, 32);
	color: white;
	bottom: 0;
	width: 100%;
}
.footer a{
	text-decoration: none;
    color: white;
}
/*--------------------------------------------------------
	POPULAR DESTINATION CARD
----------------------------------------------------------*/
.pop-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pop-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.pop-card:hover {
    transform: translateY(-6px);
}
/*--------------------------------------------------------*/

.gatedetails{
	background-color: darkseagreen;
	width: 100%;
    height: 90vh;
    margin-top: 5%;
}
.gatedetail-text {
    z-index: 2;
    text-align: center;
    color: white;
}

.gate-detail-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 10px 20px;
    line-height: 1.8;
}

.gate-title {
    font-size: 36px;
    color: #1b5e20;
    margin-bottom: 5px;
}

.reserve-name {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.gate-section {
    margin-bottom: 30px;
}

.gate-section h2 {
    font-size: 22px;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
    padding-left: 10px;
    margin-bottom: 10px;
}

.gate-section p {
    font-size: 16px;
    color: #333;
}

.wildlife-list {
    list-style: disc;
    padding-left: 25px;
}

.wildlife-list li {
    margin-bottom: 6px;
}

.gate-actions {
    margin-top: 40px;
}

.btn-primary {
    background: #2e7d32;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
}

.btn-secondary {
    background: #eee;
    color: #333;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.info-card {
	background-color: darkseagreen;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.info-card img{
	object-fit: cover;
    width: 100%;
    height: 220px;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* Headings */
.info-card h2 {
    margin-bottom: 15px;
    color: #1b5e20;
}

/* Icon bullet list */
.icon-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5%;
}

.icon-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16px;
}

.icon-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.slide-in {
    animation: slideIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}
/* Gallery Page */
.gallery-page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
    margin-top: 6%;
}

.gallery-title {
    font-size: 36px;
    color: #1b5e20;
    margin-bottom: 10px;
}

.gallery-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Zoom */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Caption overlay */
.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.gallery-caption p {
    margin: 0;
    font-size: 14px;
    color: #ddd;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation */
.gallery-item:nth-child(1) { animation-delay: 0s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.3s; }
.gallery-item:nth-child(5) { animation-delay: 0.4s; }

/* Gate pills */
.gate-tags a {
    display: inline-block;
    background: #e8f5e9;
    color: #1b5e20;
    padding: 8px 14px;
    border-radius: 20px;
    margin: 6px;
    font-size: 14px;
    text-decoration: none;
}
.gate-tags span {
    display: inline-block;
    background: #e8f5e9;
    padding: 8px 14px;
    border-radius: 20px;
    margin: 6px;
    font-size: 14px;
}
.destinationDiv{
	display: none;
}
.reach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reach-card {
    background: #f9fdf9;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease;
}

.reach-card:hover {
    transform: translateY(-6px);
}

.reach-card h3 {
    margin-bottom: 10px;
    color: #1b5e20;
}

/* Direction button */
.direction-btn {
    text-align: center;
    margin-top: 25px;
}

.cta-btn-map {
    display: inline-block;
    padding: 12px 26px;
    background: #2e7d32;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
}

.cta-btn-map:hover {
    background: #1b5e20;
}
.privacy-popup{
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);
    z-index: 99999; /* above all */
}
.privacy-popup-content {
    background: #fff;
    width: 90%;
    margin: 8% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}
.footer-popup{
	text-align: center;
	background-color: rgb(27, 94, 32);
	color: white;
	position: fixed;
	bottom: 0;
	width: 100%;
}
.contact-frm-popup{
	float: right;
    width: 50%;
}
.email-popup{
	float: left;
    width: 40%;
    color: black;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

/****** Image scroll*******/
.slider {
  width: 60%;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

.slide-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.slide-track img {
  width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 4));
  }
}
.arrow {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 1.5rem;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    cursor: pointer;
    user-select: none;
}

.prev { left: 10px; }
.next { right: 10px; }

.arrow:hover {
    background: rgba(0,0,0,0.8);
}

.all-stays {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.slider-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}
.slider-info {
    width: 50%;
    background: rgb(239 245 239);
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
}

.slider-info h3 {
    margin-top: 0;
}
.slider-info p{
	margin-top: 10px;
}
.destination-page{
	margin-top: 4.5%;
}
.gate-page{
	margin-top: 4.5%;
}
#vidarbhaMap {
    width: 70%;
    height: 500px;
    border-radius: 10px;
}
.icon-small {
    width: 20px;
    height: 20px;
    vertical-align: sub;
}
.safariinformation-cta {
    margin: 3.5%;
    text-align: center;
}
.safariinformation-cta-btn {
    padding: 10px 10px;
    border-radius: 20px;
    border: 1px solid #2e7d32;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    background: #2e7d32;
    color: white;
}
.safariinformation-cta h2,
.safariinformation-cta p{
    margin-bottom: 5vh;
}