/* Minimized and optimized CSS */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #FFE4C4;
    border: 0.2cm solid #b8860b;
    box-sizing: border-box;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px #FFFACD, 0 0 10px #FFFACD, 0 0 15px #FFFACD, 0 0 20px #FFFACD, 0 0 25px #FFFACD, 0 0 30px #FFFACD, 0 0 35px #FFFACD;
    }
    50% {
        opacity: 0.5;
        text-shadow: none;
    }
}


@keyframes glow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
    }
    50% {
        transform: scale(1);
        text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
    }
}

@keyframes neon {
    0%, 100% {
        text-shadow: 0 0 5px #FFFACD, 0 0 10px #FFFACD, 0 0 20px #FFFACD, 0 0 30px #FFFACD, 0 0 40px #FFFACD, 0 0 50px #FFFACD, 0 0 60px #FFFACD, 0 0 70px #FFFACD;
    }
    50% {
        text-shadow: 0 0 10px #FFFACD, 0 0 20px #FFFACD, 0 0 30px #FFFACD, 0 0 40px #FFFACD, 0 0 50px #FFFACD, 0 0 60px #FFFACD, 0 0 70px #FFFACD, 0 0 80px #FFFACD;
    }
}


header {
    position: relative;
    background-color: #FF7F50;
    padding: 20px;
    color: #b8860b;
    font-weight: 900;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: glow 1s infinite;
}

.header-content h1 {
    font-weight: 900;
    font-size: 50px;
}

.left-text, .right-text {
    font-size: 25px;
    font-weight: 900;
    animation: neon 3s infinite;
}

.scroller {
    background-color: #FFE4C4; /* Soft Bisque */
    color: #8B4513;
    padding: 10px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.45em;
    font-weight: 400;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    height: 25px; /* Adjust height */
    display: flex;
    align-items: center;
    width: 100%; /* Ensure full width */
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
}

.scroller-content {
    display: flex;
    width: max-content;
    white-space: nowrap; /* Keeps all text in one line */
    transform: translateX(100%);
    animation-name: scroll-left;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

/* Add spacing between spans */
.scroller-content span {
    display: inline-block;
    margin-right: 50px; /* Adjust spacing */
}

/* Smooth right-to-left scrolling */
@keyframes scroll-left {
    from {
        transform: translateX(10%); /* Start slightly visible */
    }
    to {
        transform: translateX(-100%);
    }
}


.images {
    display: flex;
    justify-content: center;
    margin: 20px 0 40px 0; /* Increase bottom margin to 40px */
    padding-bottom: 20px; /* Add bottom padding of 20px */
    flex-wrap: wrap;
}

.image-box {
    width: 100%;
    max-width: 650px; /* Set max-width to 650px */
    height: 100%;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.2cm solid #b8860b;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire box without distortion */
    border-radius: 0; /* Remove rounded corners if any */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
}

.images-content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px auto;
    max-width: 1200px; /* Adjust as needed */
}

/* Swiper styles */
.swiper-container {
    width: 100%;
    max-width: 460px; /* Set max-width to 650px */
    height: 450px; /* Set a fixed height */
    border: 0.5cm solid #b8860b; /* Dark gold thick border */
    position: relative; /* Ensure navigation buttons are positioned correctly */
    overflow: hidden; /* Hide overflow */
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
    display: flex; /* Ensure the wrapper is styled correctly */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure each slide takes full width of the container */
    height: 100%; /* Ensure each slide takes full height of the container */
}

.swiper-slide img {
    width: 100%;
    height: 100%; /* Ensure the image fits within the slide */
    object-fit: cover; /* Ensure the image covers the entire slide without distortion */
}

/* Swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    color: #b8860b; /* Dark gold color */
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    display: block;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px; /* Adjust the size of the arrows if needed */
    color: #b8860b;
}
/* Grid layout for content */
.content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #f5f5dc;
    padding: 25px;
    margin: 20px 20px 10px 20px; /* Decrease bottom margin to 10px */
    color: #b8860b;
    font-weight: bold;
    text-align: justify;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    hieght: 100%;
    overflow: auto;
}

/* Style the bullet points within the .content section */
/* Remove bullet points from the list items within the .content section */
.content ul {
    list-style-type: none; /* Remove default bullet points */
    padding-left: 0; /* Remove default padding */
}

.content ul li {
    padding-left: 0; /* Remove padding */
    margin-bottom: 10px; /* Add space between list items */
}

.content ul li::before {
    content: ''; /* Remove custom bullet points */
}

/* Apply custom colors to headings and text within the .content section */
.content h1,
.content h2,
.content h3 {
    color: #b8860b; /* Dark Gold color for headings */
}

.content p,
.content ul,
.content li {
    color: #A9A9A9; /* Dark Silver color for text */
}

/* Center the image and place the text below it within the .content section */
.content .image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 20px auto; /* Center the image block and add bottom margin */
}

.content .image-block img {
    max-width: 35%; /* Reduce the maximum width to 50% */
    height: auto;
    border-radius: 8px; /* Round image edges */
    margin-bottom: 20px; /* Add space below the image */
}

.content .container {
    text-align: center; /* Center the text */
}

/* Map container styles */
.map-container {
    display: block;
    width: 460px; /* Set width to 460px */
    margin: 20px auto; /* Center the map container and add margin */
    padding: 15px; /* Add padding */
    background-color: #f5f5dc; /* Light beige background */
    border: 2px solid #b8860b; /* Dark gold border */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Center the heading */
}

.map-container h2 {
    color: #b8860b; /* Dark Gold color for the heading */
    margin-bottom: 10px; /* Add space below the heading */
}

.map-container iframe {
    width: 100%;
    height: 430px; /* Set the height of the iframe */
    border: 0; /* Remove border */
    border-radius: 8px; /* Rounded corners for the iframe */
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.share-button {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background-color: #f5f5dc;
    color: #b8860b;
    text-decoration: none;
    border: 2px solid #b8860b;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.share-button i {
    margin-right: 8px;
}

.share-button:hover {
    background-color: #b8860b;
    color: #fff;
}
/* Grid layout for temple-info */
.temple-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9.5px;
    background-color: #f5f5dc;
    padding: 5px;
    margin: 1px auto;
    border: 2px solid #b8860b;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    text-align: left;
    height: 100%; /* Set a fixed height */
    overflow: auto; /* Add overflow to handle content overflow */
}

.temple-info h2 {
    color: #b8860b; /* Dark gold color for headings */
    margin-bottom: 7.3px; /* Add space below headings */
    font-size: 1em; /* Increase font size */
}

.temple-info p {
    color: #333; /* Darker color for text */
    margin-bottom: 6.3px; /* Add space below paragraphs */
    line-height: 1; /* Increase line height for better readability */
    font-size: 0.743em; /* Decrease font size */
}

.temple-info p strong {
    color: #b8860b; /* Dark gold color for strong text */
}

.temple-info a {
    color: #b8860b; /* Dark gold color for links */
    text-decoration: none; /* Remove underline from links */
    font-weight: bold; /* Bold links */
}

.temple-info a:hover {
    text-decoration: underline; /* Underline links on hover */
}

#switch-to-telugu, #switch-to-hindi {
    background-color: #f5f5dc; /* Light beige background */
    color: #A9A9A9; /* Dark silver text */
    border: none; /* Remove border */
    padding: 10px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 10px; /* Increase font size */
    font-weight: bold; /* Make the text bold */
    display: inline-block; /* Ensure background is extent of text */
}

#switch-to-telugu:hover, #switch-to-hindi:hover {
    background-color: #696969; /* Darker shade on hover */
    color: #fff; /* White text on hover */
}

footer {
    background: linear-gradient(to right, #FF7F50, #FF7F50); /* Gradient background */
    padding: 20px;
    color: #8B4513;
    font-weight: bold; /* Make text bold */
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-size: 0.8em; /* Adjust font size as needed */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Add a subtle shadow to make it prominent */
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #8B4513;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.notranslate {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden-content {
    display: none;
}


@media (max-width: 600px) {
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        text-align: center;
        background-color: #FFE4C4;
        box-sizing: border-box;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    header {
        background-color: #FF7F50;
        padding: 10px;
        color: #b8860b;
        font-weight: 900;
        font-family: 'Oswald', sans-serif;
        text-transform: uppercase;
        font-size: 1.2em;
        text-align: center;
        overflow-x: auto;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;

    }

    .header-content h1 {
        font-size: 1.2em;
    }

    .left-text, .right-text {
        font-size: 0.8em;
    }

    button {
        background-color: #f5f5dc;
        color: #A9A9A9;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        margin: 10px;
    }

    button:hover {
        background-color: #696969;
        color: #fff;
    }

    .images-content-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 5px auto;
        width: 100%;
    }

    .images {
        width: 100%;
        margin: 10px 0;
        overflow-x: auto; /* Add horizontal scroll */
        overflow-y: auto; /* Add vertical scroll */
        height: 50%;
        width: 100%;
    }

    .swiper-container {
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .map-container {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
        background-color: #f5f5dc;
        border: 2px solid #b8860b;
        border-radius: 10px;
        text-align: center;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
        border: 0;
        border-radius: 8px;
    }

    .share-buttons {
        display: flex;
        justify-content: flex-start; /* Align buttons to the start */
        gap: 5px; /* Reduce gap between buttons */
        margin: 10px 0; /* Adjust margin */
        overflow-x: auto; /* Add horizontal scroll */
    }

    .share-button {
        padding: 3px 5px; /* Reduce padding */
        font-size: 0.8em; /* Reduce font size */
    }

    .temple-info {
        width: 100%;
        margin: 20px auto;
        padding: 15px;
        background-color: #f5f5dc;
        border: 2px solid #b8860b;
        border-radius: 10px;
        text-align: left;
        overflow-x: auto;
        overflow-y: auto; /* Add vertical scroll */
        max-height: 400px; /* Set a max height */
    }

    .temple-info h2 {
        color: #b8860b;
        margin-bottom: 10px;
        font-size: 1.2em;
    }

    .temple-info p {
        color: #333;
        margin-bottom: 10px;
        line-height: 1.5;
        font-size: 1em;
    }

    .temple-info a {
        color: #b8860b;
        text-decoration: none;
        font-weight: bold;
    }

    .temple-info a:hover {
        text-decoration: underline;
    }

    .content {
        width: 80%;
        padding: 20px;
        background-color: #f5f5dc;
        color: #b8860b;
        font-weight: bold;
        text-align: justify;
        overflow-x: auto;
        overflow-y: auto; /* Add vertical scroll */
        max-height: 400px; /* Set a max height */
        border-radius: 10px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .content h2 {
        color: #b8860b;
    }

    .content p, .content ul, .content li {
        color: #A9A9A9;
    }

    .content .image-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto 20px auto;
    }

    .content .image-block img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    footer {
        background-color: #FF7F50;
        padding: 20px;
        color: #8B4513;
        font-weight: bold;
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        font-size: 0.6em;
        text-align: center;
    }

    footer p {
        margin: 10px 0;
    }

    footer a {
        color: #8B4513;
        text-decoration: none;
    }

    footer a:hover {
        text-decoration: underline;
    }
}