* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    text-align: center;
    color: white;
}

/* Hero Section */
.hero {
    background: url('./images/india.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    padding: 20px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero h1, .hero p {
    position: relative;
    z-index: 2;
}

/* Parallax Sections */
.parallax {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-attachment: fixed;
    background-position: center center;
    background-size: contain; /* Ensure full image is visible */
}


.parallax1 {
    background-image: url('./images/Manali.webp');
    background-size: contain; /* Ensure full image is visible */
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax2 {
    background-image: url('./images/ladakh.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax3 {
    background-image: url('./images/kerala.jpg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

@media screen and (min-width: 769px) {
    .parallax1, .parallax2, .parallax3 {
        background-size: cover;
    }
}

@media screen and (max-width: 768px) {
    .parallax1, .parallax2, .parallax3 {
        background-size: contain;
    }
}


/* Fix Parallax Issue on iPhones */
@supports (-webkit-touch-callout: none) {
    .parallax1, .parallax2, .parallax3 {
        background-attachment: scroll !important; /* Disables fixed background on iOS */
    }
}

/* Ensure Proper Scaling on Mobile */
@media screen and (max-width: 768px) {
    .parallax1, .parallax2, .parallax3 {
        min-height: 300px; /* Adjust height for mobile */
        background-size: cover;
        background-position: center;
    }
}


.content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

/* Footer */
.footer__container {
    background: #141414;
    padding: 20px;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}

.attractions__image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.attractions__image img {
    width: 100%;
    height: auto;  /* Ensures proper scaling */
    max-height: 350px; /* Adjust as needed */
    object-fit: cover;
}

