:root {
    --primary-color: #3f51b5;
    --secondary-color: #ff4081;
    --gradient-light: #e3f2fd;
    --gradient-dark: #bbdefb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--gradient-light), var(--gradient-dark));
    color: #333;
    overflow-x: hidden;
}
/*navigation*/

.navbar {
    width: 100%;
    padding: 0 1rem 0 1rem;
}

.fs-xl-5 {
    font-size: 1.25rem;
    /* Matches Bootstrap's fs-5 size */
}


@media (max-width: 992px) {
    .navbar {
        background-color: #ffffffc0;
        /* Replace with desired solid color */
        padding: 0 !important;
    }

    .nav-link {
        color: #000000 !important;
    }

    .navbar-toggler {
        color: rgb(22, 21, 21);
        border-color: rgb(0, 0, 0);
        /* Ensures the border of the button is white */
        margin: 0;
        /* Removes any margin */
        position: absolute;
        top: 2rem;
        right: 1rem;
        z-index: 1031;
        /* Ensures it appears above other elements */
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
        filter: brightness(-100%);
    }

    .fs-xl-5 {
        font-size: inherit;
        /* Reverts to default size on smaller screens */
    }

    .nav-item {
        margin-left: 1rem;
    }

    .book-now-btn {
        width: fit-content;
        margin: .5rem 0 0 .5rem;
        margin-bottom: 1rem;
        color: #000000 !important;
        border: 1px groove #000000 !important;
        box-shadow: 0px 2px 3px #000000 !important;
    }

    .hero-content {
        margin-top: 75% !important;
    }

    .nav-link::after {
        background-color: #000000 !important;
        transition: width 0.8s ease-out !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        margin-top: 50% !important;
    }

}




/* Navbar solid background when scrolled */
/* Scrolled state */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Nav link styles */
.nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
    position: relative;
}

/* Scrolled state for nav links */
.nav-link {
    color: #000000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    color: #000;
    transition: width 0.4s ease-out;

}

.nav-link::after {
    background-color: #000000;
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
    z-index: 1;
    transition: color 0.3s ease-in-out;
}
.dropdown-item{
    padding: 10px;
    color: #000000;
    font-weight: 400;
    cursor: pointer;
    position: relative;
}
.dropdown-item:hover{
    color: #ffffff;
    background-color: #3b3b3b;
}
/* Book Now button style */

.book-now-btn{
    background-color: #e9f0f8;
    color: #000000 !important;
    border: 1px groove #050505;
    transition: ease-in-out 0.3s;
    box-shadow: 0px 2px 3px #000000;;
    padding: 8px 20px;
    font-weight: 700;
    border-radius: 5px;
}

.book-now-btn:hover {
    color: #000000 !important;
    transition: ease-in-out 0.3s;
    box-shadow: 0px 4px 10px #383838;
    transform: scale(1.1);
}

.book-now-btn:active {
    transform: scale(0.9);
    box-shadow: inset 2px 2px 10px 3px #8b8b8b;
}

/* ---------navbar End--------- */

/* 3D Parallax Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('/Resources/munnar_package.webp') center/cover no-repeat;
    color: white;
    padding: 150px 0;
    text-align: center;
}
.hero h1{
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 15px;
    }
    .hero h1 {
        font-size: 2rem;
        margin-top: 25%;
    }
}

/* Floating Info Cards */
.info-section {
    padding: 4rem 0;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

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

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive Layout Swap for Contact Section */
.contact-section {
    padding: 4rem 0;
    background: rgba(255,255,255,0.9);
}
.contact-form {
        background: white;
        border-radius: 25px;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.contact-map {
    height: 450px;
    border-radius: 25px;
    box-shadow:5px 10px 10px rgba(0, 0, 0, 0.822);
}
iframe{
    border:2px groove #2c3e50;
    transition: filter 0.3s ease;
    border-radius: 25px;
    box-shadow: inset 5px 10px 10px rgb(129, 129, 129);;
}

.form-control {
    background: white;
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow:
        3px 3px 5px rgba(0,0,0,0.2),
        -3px -3px 5px rgba(255,255,255,0.5),
        inset 2px 2px 4px rgba(0,0,0,0.3),
        inset -2px -2px 4px rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline:1px groove #2c3e50;
    box-shadow:
        5px 5px 10px rgba(0,0,0,0.2),
        -5px -5px 10px rgba(255,255,255,1),
        inset 3px 3px 6px rgba(0,0,0,0.1),
        inset -3px -3px 6px rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

.btn-custom {
    background: linear-gradient(145deg, #186aa0, #2c3e50);
    color: white;
    border: none;
    transition: transform 0.3s ease;
}

.btn-custom:hover {
    background: linear-gradient(145deg, #2c3e50, #186aa0);
    transform: translateY(-5px);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-section .row {
        flex-direction: column-reverse;
    }

}
/* ----- Footer Styles---- */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #186aa0 100%);
    color: #f4f4f4;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

/* Add a subtle overlay effect */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

footer * {
    position: relative;
    z-index: 2;
}

footer h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

footer ul li a {
    color: #f4f4f4;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: #3498db;
    opacity: 1;
    transform: translateX(10px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    transform: scale(1.1);
}

/* --------footer end------ */



/* ---------social icons--------- */

/* Social contact Buttons*/

.social-contact-container {
    position: fixed;
    right: 20px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;

}

.social-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-contact-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn {
    background: linear-gradient(145deg, #25D366, #128C7E);
    box-shadow: inset 2px 3px 10px #013615;
}

.phone-btn {
    background: linear-gradient(145deg, #4CAF50, #45A049);
    box-shadow: inset 2px 3px 10px #034205;
}

.email-btn {
    background: linear-gradient(145deg, #FF4081, #F50057);
    box-shadow: inset 2px 3px 10px #57031f;
}

.social-contact-btn i {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.social-contact-btn:hover {
    transform: scale(1.1) translateZ(20px);
}

@media (max-width: 768px) {
    .social-contact-container {
        right: 10px;
        top: 80%;
    }

    .social-contact-btn {
        width: 40px;
        height: 40px;
    }
}