/* 🔹 Basic Styling for the Page */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: black;
    overflow-x: hidden;
}

/* 🔹 Top Bar Section */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #b1d0f3;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* 🔹 Social Media Icons */
  .social-media {
    display: flex;
    gap: 15px;
  }
  
  .social-media a {
    text-decoration: none;
  }
  
  .social-media img {
    width: 30px;
    height: 30px;
  }
  
  /* 🔹 Logo */
  .logo {
    font-size: 28px;
    font-weight: bold;
    color: black;
    text-align: center;
    flex-grow: 1;
    font-family: 'Kaushan Script', cursive;
  }
  
  /* 🔹 Navigation */
  .navigation {
    display: flex;
    justify-content: flex-end;
  }
  
  .navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .navigation li {
    display: inline;
  }
  
  .navigation a {
    text-decoration: none;
    color: black;
    font-weight: 600;
  }
  
  /* 🔹 Responsive Top Bar for Mobile */
  @media (max-width: 768px) {
    .top-bar {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 10px 15px;
    }
  
    .social-media {
      justify-content: center;
      margin-bottom: 10px;
    }
  
    .logo {
      text-align: center;
      font-size: 24px;
    }
  
    .navigation {
      justify-content: center;
      width: 100%;
    }
  
    .navigation ul {
      flex-direction: column;
      gap: 10px;
    }
  }

/* 🔹 Quiz Nights Section */
.family-quiz {
    text-align: center;
    padding: 20px;
    background: url('backgroundquiz1.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
}

/* 🔹 Dark Overlay */
.family-quiz::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 🔹 Title */
.banner h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 50px;
    color: white;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

/* 🔹 Text Content */
.content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* 🔹 Contact Button */
.contact-btn-container {
    margin-top: 20px;
    margin-bottom: 40px;
}

.contact-btn {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    background-color: #207972;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.contact-btn:hover {
    background-color: #165c4a;
}

/* 🔹 Full-Width Review Images (Aligned in a Row) */
.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 90%;
    margin: auto;
    flex-wrap: nowrap; /* Keeps images in a row */
}

/* 🔹 Full Review Images - Ensuring Full Display */
.image-container {
    flex: 1;
    max-width: 32%; /* 3 Images in One Row */
    text-align: center;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* 🔹 4 Landscape Images in 2x2 Grid */
.landscape-image-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 90%;
    margin: auto;
    padding: 30px 0;
}

/* 🔹 Ensure Landscape Images Fill More Space */
.landscape-image-container img {
    width: 100%;
    height: 300px; /* Increased height */
    object-fit: cover;
    border-radius: 15px;
}

/* 🔹 Interactive Map Section */
.map-section {
    text-align: center;
    background-color: #b1d0f3;
}

.map-section iframe {
    border: 0;
    width: 100%;
    height: 300px;
    border-radius: 15px;
}

/* 🔹 Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #b1d0f3;
    font-weight: 600;
}

/* 🔹 Mobile Responsiveness */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 40px;
    }

    /* 🔹 Stack Review Images on Small Screens */
    .image-section {
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        max-width: 100%;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    /* 🔹 Adjust Landscape Images on Mobile */
    .landscape-image-section {
        grid-template-columns: 1fr; /* Stack them */
    }

    .landscape-image-container img {
        height: 200px;
    }

    .map-section iframe {
        height: 250px;
    }
}
