/* Reset + Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f9fc;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.header-banner {
    position: relative;
    width: 100%;
    height: 320px;
    background: url("images/babysit.jpeg") no-repeat center center/cover;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
}


/* Dark overlay + fade effect */
.header-overlay::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 2;
}

.header-overlay {
    position: relative;
    background-color: rgba(0, 0, 0, 0.4); /* Slight dark overlay */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 40px;
    color: white;
    z-index: 1;
}

/* Top bar: Logo + Home */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.logo {
    height: 60px;
    width: auto;
}

.home-link {
    color: #ffffff;
    font-size: 26px;
    text-decoration: none;
    z-index: 3;
}

.home-link:hover {
    color: #ffd700;
}

/* Centered text */
.header-text {
    text-align: center;
    padding-bottom: 20px;
    z-index: 3;
    position: relative;
}

.header-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.header-text p {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 300;
}



.home-link {
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-link:hover {
    color: #ffd700;
}


.logo {
    height: 60px;
}

.home-link {
    font-size: 24px;
    color: #007bff;
    text-decoration: none;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Booking Form */
.booking-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.booking-section h2 {
    margin-bottom: 20px;
    color: #007bff;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.booking-form button {
    margin-top: 10px;
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.booking-form button:hover {
    background-color: #0056b3;
}

/* Babysitter Profiles */
.profiles-section h2 {
    color: #007bff;
    margin-bottom: 20px;
    text-align: center;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.profile-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.profile-info {
    padding: 15px;
}

.profile-info h3 {
    margin-bottom: 5px;
    color: #333;
}

.profile-info p {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 10px;
}

.profile-info ul {
    list-style: none;
    padding-left: 0;
}

.profile-info li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

@media (max-width: 600px) {
    .booking-section, .profile-card {
        padding: 20px;
    }

    .profile-info ul li {
        font-size: 13px;
    }
}


/* Footer Section */
.site-footer {
    background-color: #062177;
    color: #fff;
    padding: 10px 20px 20px;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
  }
  
  .footer-brand img {
    max-width: 120px;
    margin-bottom: 10px;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .footer-contact p {
    margin: 6px 0;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
  }
  
