/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* Viewport for Mobile */
body {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar Styling */
nav {
    width: 100%;
    background-color: #00b1ff;
    font-size: 14px;

}



.navcontainer{
    color:#fff700;
    justify-items: center;
    padding:10px
}

.secondinnavcon{
    display:flex;
    align-items:center;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight:bold;
    
}

nav a:hover {
    color: #ffeb3b;
}


.logo {
    width: 50px;
}



/* Header Styling */
header {
    padding: 2em;
    text-align: center;
    background-color: #00aeff;
    color: #fff;
    width: 100%;
    margin-top: px;
}

header h1 {
    font-size: 30px;
}

header a {
    color: #ffeb3b;
    font-size: 1.2em;
    text-decoration: none;
}

header a:hover {
    color: #ffd600;
}

/* Section Styling */
section {
    padding: 2em;
    width: 80%;
    margin: 1em auto;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Section Titles */
section h2 {
    color: #000000;
    font-size: 2em;
    margin-bottom: 1em;
}

/* Video Section Styling */
.video-section {
    text-align: center;
    margin-bottom: 2em;
}

/* Photo Gallery */
.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-wrap: wrap;
}

.gallery img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    transition: opacity 5s ease;
    border-radius: 8px;
}

.gallery img.hidden {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%;
    z-index: 100;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}




/* Glowing Animation */
@keyframes glowing {
    0% {
        box-shadow: 0 0 10px rgba(255, 235, 59, 0.8);
    }

    50% {
        box-shadow: 0 0 20px rgb(255, 17, 0), 0 0 40px rgba(255, 7, 7, 0.8);
    }

    100% {
        box-shadow: 0 0 10px rgba(236, 0, 0, 0.8);
    }
}



/* Footer Styling */
footer {
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
    color: #fff;
    background-color: #076f9d;
    width: 100%;
}

/* Google Translate Positioning */
.translate-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

/* Video Section Styling */
.video-container {
    width: 100%;
    max-width: 900px;
    margin: 2em auto;
    /* border: 8px solid #00796b; */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 350px;
}



/* Floating Box for Link */
.floating-box {
    position: fixed;
    bottom: 200px;
    right: 20px;
    height: fit-content;
    width: 300px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    /* Vibrant blue gradient */
    color: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    /* More rectangular with rounded corners */
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.8), 0 0 30px rgba(0, 114, 255, 1);
    z-index: 1000;
    animation: fast-glow 1s infinite alternate, float 2s ease-in-out infinite;
    text-align: center;
    font-family: "Verdana", sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Link Styling */
.floating-box a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.floating-box a:hover {
    color: #e0f7fa;
    text-decoration: underline;
}

/* Close Button */
.floating-box .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-box .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Faster Glow Animation */
@keyframes fast-glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 194, 255, 0.8), 0 0 30px rgba(255, 0, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 194, 255, 1), 0 0 50px rgb(255, 0, 0);
    }
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav a {
        font-size: 1em;
        margin: 0 8px;
    }

    .logo {
        width: 80px;
    }

    section {
        width: 95%;
    }

    .gallery img {
        width: 90%;
        max-width: 100%;
    }

    .nav-button {
        padding: 8px;
        font-size: 1.2em;
    }

    footer {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    nav a {
        font-size: 0.9em;
        margin: 0 5px;
    }

    .gallery img {
        width: 100%;
    }

    .video-container iframe {
        height: 250px;
    }

    footer {
        font-size: 0.7em;
    }
}



/* added ws3 */
body {margin:0;font-family:Arial}

.topnav {
  overflow: hidden;
  background-color: #076f9d;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
    background-color: #076f9d;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}



/* Section Wrapper */
#heritageinfo {
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa; /* Light background for section */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    border-radius: 8px; /* Rounded corners */
    /* max-width: 900px; Restrict width */
}

/* Heritage Info Container */
.heritageinfo {
    display: flex;
    flex-wrap: wrap; /* Ensures wrapping on smaller screens */
    gap: 20px; /* Spacing between image and text */
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 30px; /* Add space between 2 entries */
}

/* Image and Info Box */
.heritagephoto {
    width: 250px; /* Fixed width for the box */
    flex-shrink: 0; /* Prevent shrinking */
}

.heritagephoto img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners */
    border: 2px solid #ddd; /* Subtle border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow around the image */
}

/* Name and Location Box */
.heritagephoto h2, .haritagephoto h3 {
    text-align: center;
    margin: 10px 0;
    font-size: 1.1rem;
    color: #333; /* Dark text */
    font-weight: bold;
}

.heritagephoto h3 {
    font-size: 1rem;
    text-align: center;
    color: #555; /* Slightly lighter for Location */
}

/* Brief Information Styling */
.heritagedetails {
    flex: 1; /* Allow text to take remaining space */
    font-size: 1rem;
    color: #666; /* Muted text for readability */
    text-align: justify;
    line-height: 1.6;
}

.heritagedetails h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .heritageinfo {
        flex-direction: column; /* Stack image and text */
    }

    .heritagephoto {
        width: 100%; /* Full width for image box */
        text-align: center; /* Center content */
    }

    .heritagedetails {
        text-align: justify; /* Ensure justified text for small screens */
    }
}