/*
Theme Name: Twenty Twenty Child
Theme URI: https://yourwebsite.com/
Description: A custom child theme for Twenty Twenty
Author: Your Name
Author URI: https://yourwebsite.com/
Template: twentytwenty
Version: 1.0.0
*/

body {
    font-family: 'Inter', sans-serif;
}


.top-bar {
  background-color: #f8f8f8;
  color: #333;
  padding: 10px 0;
  font-size: 16px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid #e2e2e2;
}

.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-button {
  background-color: #ff7a5a;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.top-bar-button:hover {
  background-color: #e56447;
}


/*Navigation bar*/

.header-inner.section-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header-titles-wrapper {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-navigation-wrapper {
  flex: 2 1 auto;
  display: flex;
  justify-content: center;
}

.primary-menu-wrapper ul {
  display: flex !important;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul {
  flex-wrap: wrap; /* If using flex */
  white-space: normal; /* Prevent single-line constraint */
}


/*
.main-navigation ul li {
  flex: 0 1 auto; /* Let items shrink/wrap */
}
*/


.primary-menu-wrapper ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  text-transform: uppercase; /* ← Make menu items uppercase */
  font-size: 16px;
  transition: color 0.3s ease;
}

.primary-menu-wrapper ul li a:hover {
  color: #ff7a5a;
}

.custom-logo-link img {
  max-height: 50px;
}

#site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid #eee;
}

/*Home page banner settings*/
.homepage-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: 500px;
    display: none; /* Hide all slides initially */
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.banner-text p {
    font-size: 1.5rem;
}



.momscircle-banner-grid {
    padding: 40px 0;
    background-color: #fdf7ef;
    width: 100%;
}

.banner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-item {
    width: calc(25% - 20px);
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    border-radius: 8px;
}

.banner-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.banner-label {
    margin-top: 10px;
    background-color: #f4c35d;
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
}

.banner-description {
    margin-top: 6px;
    font-size: 13px;
    color: #444;
}

/* Make menu item text uppercase */
.primary-menu-wrapper ul li a {
    text-transform: uppercase;
}


/*Make suitable for small screens*/
@media (max-width: 768px) {
  /* Top Bar */
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  /* Navigation Layout */
  .header-inner.section-inner {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .header-titles-wrapper,
  .header-navigation-wrapper {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .primary-menu-wrapper ul {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }

  .primary-menu-wrapper ul li {
    width: 100%;
  }

  /* Banner Section */
  .banner-slide {
    height: 300px; /* Make banner shorter on mobile */
  }

  .banner-text h1 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1.2rem;
  }

  /* Banner Grid */
  .banner-item {
    width: 100%;
    max-width: 90%;
  }

  .banner-label {
    font-size: 12px;
  }

  .banner-description {
    font-size: 12px;
  }
}


/* Tablet screen settings*/
@media (min-width: 769px) and (max-width: 1024px) {
  /* Reduce banner height on tablets */
  .banner-slide {
    height: 400px;
  }

  .banner-text h1 {
    font-size: 2.2rem;
  }

  .banner-text p {
    font-size: 1.3rem;
  }

  /* Banner grid layout: 2 items per row */
  .banner-item {
    width: calc(50% - 20px);
  }

  /* Optional: Adjust top bar spacing */
  .top-bar-inner {
    padding: 10px 20px;
    gap: 10px;
  }

  /* Adjust menu item spacing if needed */
  .primary-menu-wrapper ul {
    gap: 1.5rem;
  }

  .primary-menu-wrapper ul li a {
    font-size: 14px;
  }
}

.banner-section-heading {
    font-size: 2rem;
    font-weight: 500;
    color: #222;             /* Darker but not too harsh */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    font-family: 'Inter', sans-serif; /* Keep consistent with body */
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: none;    /* No uppercase, easier reading */
}

/*Favorite video grid*/
.favorite-videos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.favorite-video-item iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .favorite-videos-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive for phones */
@media (max-width: 600px) {
    .favorite-videos-container {
        grid-template-columns: 1fr;
    }
    .favorite-video-item iframe {
        height: 200px;
    }
}


