/* 🔹 Basic Styling */
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;
    }
  }

/* 🔹 Social Media Icons */
.social-media {
    display: flex;
    gap: 20px;
}

.social-media img {
    width: 30px;
    height: 30px;
}

/* 🔹 Logo */
.logo {
    font-size: 30px;
    font-weight: bold;
    color: black;
    text-align: center;
    flex: 1;
    font-family: 'Kaushan Script', cursive;
}

/* 🔹 Navigation */
.navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.navigation a {
    text-decoration: none;
    color: black;
    font-weight: 600;
}

/* 🔹 Main Section Background */
.family-quiz {
    position: relative;
    text-align: center;
    padding: 0;
    background: url('brunch5.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 🔹 Removed Overlay */
.family-quiz::before {
    display: none;
}

/* 🔹 Title Section - Small Gap Above & Below */
.banner {
    width: 100%;
    text-align: center;
    padding: 20px 0; /* Small gap above & below */
}

/* 🔹 Title Styling */
.banner h1 {
    font-family: 'Kaushan Script', cursive;
    font-size: 50px;
    margin: 10px 0;
    color: white !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

/* 🔹 Ensure Content is Visible */
.family-quiz .content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* 🔹 Text Adjustments */
.content h2,
.content p,
.content ul {
    color: white;
}

/* 🔹 Contact Button */
.contact-btn-container {
    margin-top: 20px;
}

.contact-btn {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    background-color: #207972;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-align: center;
}

.contact-btn:hover {
    background-color: #165c4a;
    transform: scale(1.05);
}

/* 🔹 Image & Video Grid */
.landscape-image-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* 🔹 Landscape Images */
.landscape-image-container img,
.landscape-image-container video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* 🔹 Portrait Images (Taller) */
.landscape-image-container.portrait img,
.landscape-image-container.portrait video {
    height: 500px;
}

/* 🔹 Interactive Map - **NO GAP ABOVE & FULL WIDTH** */
.map-section {
    text-align: center;
    background-color: #b1d0f3;
    padding: 0; /* **REMOVED ANY GAP ABOVE** */
    margin: 0; /* **No unwanted margin** */
}

.map-section iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block; /* Ensures no extra spacing */
}

/* 🔹 Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #b1d0f3;
    color: black;
    font-weight: 600;
    font-size: 16px;
}

/* 🔹 Mobile Responsiveness */
@media (max-width: 768px) {
    .banner {
        padding: 15px 0; /* Adjusted small gap for mobile */
    }

    .banner h1 {
        font-size: 40px;
    }

    .family-quiz {
        padding: 0;
        background-size: cover;
    }

    .contact-btn {
        font-size: 16px;
        padding: 10px 20px;
    }

    .landscape-image-section {
        grid-template-columns: 1fr;
    }

    .landscape-image-container.portrait img,
    .landscape-image-container.portrait video {
        height: 400px;
    }
}
