:root { --primary: #0056b3; --secondary: #ffcc00; --text: #333; --light: #f9f9f9; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; margin: 0; color: var(--text); line-height: 1.6; background: #fff; }
header {
    background: white;
    padding: 1rem 5%; /* Increased padding for a more breathable look */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 140px; /* Ensures the header is tall enough for the 120px logo */
}

.logo img {
    display: block;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600; /* Made slightly bolder to match the larger logo */
    font-size: 1.1rem; /* Scaled up the text slightly for balance */
}
nav a:hover { color: var(--primary); }
.container { max-width: 1100px; margin: 0 auto; padding: 4rem 5%; }
.hero { background: var(--primary); color: white; padding: 6rem 5%; text-align: center; }
.btn { background: var(--secondary); color: #000; padding: 15px 30px; text-decoration: none; border-radius: 50px; font-weight: bold; display: inline-block; transition: 0.3s; }
.btn:hover { background: #e6b800; transform: scale(1.05); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { background: var(--light); padding: 2rem; border-radius: 15px; border: 1px solid #eee; transition: 0.3s; }
.mission-section { background: #f0f4f8; padding: 4rem 5%; }
.center { text-align: center; }
.italic { font-style: italic; font-size: 1.3rem; }
footer {
    background: #222;
    color: #bbb;
    text-align: center;
    padding: 3rem 1rem;
    font-size: 0.9rem;
}
img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
    header {
        flex-direction: column; /* Stack logo above menu */
        min-height: auto;
    }
    .logo img {
        height: 80px !important; /* Slightly smaller on phones */
        margin-bottom: 10px;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }
}

.tour-video-wrapper {
    width: 100%;
    max-width: 800px; /* Limits the size on large screens */
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
}

.tour-video {
    width: 100%;
    display: block;
}

/* Style for the clickable image */
.zoom-img {
  cursor: zoom-in;
  transition: 0.3s;
}
.zoom-img:hover { opacity: 0.8; }

/* Update the Modal (Background) to allow scrolling */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.9);
  overflow-y: auto; /* This allows the popup to scroll if the image is tall */
  padding: 50px 0; /* Adds space at top and bottom */
}

/* Update Modal Content (The Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%; /* Responsive width */
  max-width: 1000px; /* Limits the size on large monitors */
  height: auto; /* Maintains aspect ratio */
  animation: zoom 0.3s; /* Quicker, smoother animation */
}

/* Ensure the Close button stays visible while scrolling */
.close {
  position: fixed; /* Keeps 'X' in the corner even when you scroll down */
  top: 20px; 
  right: 35px;
  color: #fff; 
  font-size: 50px; 
  font-weight: bold;
  cursor: pointer;
  z-index: 2100; /* Makes sure it's above the image */
}

/* Styling for the Community Poster */
.card img {
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    filter: brightness(1.05);
}

.insta-link {
    display: inline-block;
    margin-top: 10px;
    color: #E1306C; /* Instagram Branding Pink */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.insta-link:hover {
    text-decoration: underline;
}