/* 🔹 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;
    }
  }

/* 🔹 Fixing Gap Below Top Bar */
.family-quiz {
    text-align: center;
    padding: 0px 20px;
    background: url('brunch5.jpg') no-repeat center center/cover;
    background-color: #b1d0f3;
    color: white;
    position: relative;
    margin-top: -10px; /* 🔥 Final fix: Removes tiny gap below top bar */
}

/* 🔹 Dark Overlay for Readability */
.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 Styling */
.banner h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 50px;
    color: white;
    text-align: center;
    margin: 0;
    padding: 15px 0;
    position: relative;
    z-index: 2;
}

/* 🔹 Text Content Styling */
.family-quiz .content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.content h2,
.content p,
.content ul {
    color: white;
}

/* 🔹 Contact Button */
.contact-btn-container {
    margin-top: 20px;
    text-align: center;
}

.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;
}

/* 🔹 Section with 3 Review Images */
.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.image-container {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* 🔹 Brunch Images in 2x2 Grid */
.landscape-image-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.landscape-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* 🔹 Extra 2 Images Below the Grid */
.extra-image-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

.extra-image-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

/* 🔹 Interactive Map Section */
.map-section {
    text-align: center;
    margin-top: 0;
    padding: 0;
    background-color: #b1d0f3;
}

.map-section iframe {
    border: 0;
    width: 100%;
    height: 300px;
    display: block;
}

/* 🔹 Footer Section */
footer {
    text-align: center;
    padding: 20px;
    background-color: #b1d0f3;
    color: black;
    font-weight: 600;
    font-size: 16px;
}

/* 🔹 Mobile Responsiveness */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 40px;
        margin-top: 0px;
    }

    .family-quiz {
        padding: 0px 15px;
        background-size: cover;
    }

    .family-quiz .content {
        padding: 15px;
    }

    .content h2 {
        font-size: 30px;
    }

    .content p {
        font-size: 16px;
    }

    .contact-btn {
        font-size: 16px;
        padding: 12px 20px;
        width: 80%;
    }

    .image-section {
        flex-direction: column;
        align-items: center;
    }

    .landscape-image-section {
        grid-template-columns: 1fr;
    }

    .landscape-image-container img {
        height: 250px;
    }

    .extra-image-section {
        grid-template-columns: 1fr;
    }

    .extra-image-container img {
        height: 250px;
    }

    .map-section iframe {
        height: 250px;
    }
}
