/* new-style.css */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --p-font-size: 18px;
}

p {
    font-size: var(--p-font-size);
}

body {
    overflow-x: hidden;
}
.button-styles {
    color: #fff; 
    margin-left:20px; 
    border-radius:5px;
    padding: 7px 10px;
}

.form-styles {
    margin-top: 30px;
    background-color: #3e73ef;
    padding: 10px;
    width: 100%;
}

.form-styles div {
    display:flex;
    flex-direction: column;
    gap:10px;
}

.form-styles div input, .form-styles div textarea {
    padding: 10px 5px;
    margin-bottom: 20px;
}

.form-styles div textarea {
    resize: none;
    outline: none;
    font-size:18px;
}

.hide-display-image {
    display: none;
}

/************* DESKTOP NAVIGATION ******************/

#desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10vw;
    height: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    /* padding: 20px 100px 0; */
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav ul li {
    list-style-type: none;
}

nav ul li a {
    text-decoration: none;
}

.mobile-nav {
    display: none;
}

.logo {
    height: 115px;
}

/* MOBILE NAVIGATION BASE */
.mobile-nav {
  /* position: relative; */
  z-index: 10;
  width: 100%;
}

#nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-mama-text-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 100px;
}

/* HAMBURGER MENU */
.ham-menu {
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.ham-menu span {
  height: 4px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Animate into an X when active */
.ham-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 6px);
}

.ham-menu.active span:nth-child(2) {
  opacity: 0;
}

.ham-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -7px);
}

/* OFF-SCREEN MENU */
.off-screen-menu {
  position: fixed;
  top: 0;
  right: -450px; /* hidden offscreen */
  height: 100vh;
  width: 100%;
  max-width: 450px;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease;
  z-index: 1000;
  pointer-events: none; /* prevent blocking clicks when hidden */
}

.off-screen-menu.active {
  right: 0;
  pointer-events: auto; /* re-enable interaction */
}

.off-screen-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
  margin-top: 150px;
  display: flex;
  flex-direction: column;
}

.off-screen-menu ul li {
  margin-bottom: 20px;
}

.off-screen-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  transition: color 0.2s ease;
}

.off-screen-menu ul li a:hover {
  color: #f39ac7;
}

.container {
    /* position: relative; */
    width: 80vw;
    /* height: 100vh; */
    margin: 0 auto;
}

#header-image-content-container {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content:space-between;
    margin: 0 auto;
    padding-top: 50px;
    width:100vw;
    padding: 50px 10vw;
    /* height: calc(100vh - 12vh); */
    height: auto;
    align-items:center;
    position:relative;
    z-index: 0;
    height: auto;
}

.hero-image {
    display: block;
}

/* .hero-image {
  position: relative;
  z-index: 6;
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  aspect-ratio: 3 / 4; 
} */

.hero-content-container {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
}

#hero-first-content {
    width: 100%;
}

.hero-content-container div {
    width: 100% !important;
    margin-top: 0 !important;
}

section {
    position: relative;
}

.full-screen-overlay {
    background-color: #000;
    opacity: 0.4;
    position:absolute;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 2; /* Higher than the section */
}

.partial-screen-overlay {
    background-color: #000;
    opacity: 0.3;
    position:absolute;
    width: 30%;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3; /* Higher than the full-screen-overlay */
}

.hero-content-container {
    position: relative;
    line-height: 1;
    z-index: 6;
}

.hero-content-container p, h1, h2 {
    padding: 10px 20px;
}

.hero-content-container button {
    margin-top: 20px;
    background: red;
    padding: 7px 12px;
    font-weight: bold;
    margin-left:20px;
    border: none;
    color: #fff;
    border-radius: 5px;
    font-size: var(--a-font-size);
}

.text-opacity {
    opacity: .9;
}

.large-content-container {
    line-height: 1.25;
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding-top: 100px;
}

.large-content-container img, .three-sections-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.large-content-container p, h3 {
    margin-bottom: 10px;
}

.three-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 80vw;
    margin: 0 auto;
}

.three-sections-grid div img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact_form_image {
    width: 36vw;
    height: auto;

}

.footer-image {
    position:absolute;
    bottom: -3px;
    right:0px;
}

.contact-image-container {
    display:grid;
    grid-template-columns: 50% 50%;
    position:relative;
}

.label-input-container {
        display:flex;
        gap:20px;
    }

 .input-container {
        width: 50%;
    }

footer {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background-color: #000;
    width:100vw;
    padding:150px 0 0;
    position: relative;
    z-index: 1;
}

.label-input-container {
        display:flex;
        gap:20px;
    }

.input-container input {
        padding: 10px 5px;
    }

.contact-image-container {
    display: grid;
    grid-template-columns: 50% 50%;
    position: relative;
    width: 80%;
}


/************ MEDIA QUERIES ****************/

@media (max-width: 1425px) {

        #nav-span-container {
        z-index: 202;
        position: absolute;
        right: -8vw;
        top: 20px;
    }

        #desktop-nav {
        display: none;
    }
        .mobile-nav {
        display: block;
    }

        #nav-container {
        flex-direction: row;
        justify-content: center;
    }

        .ham-menu {
        height: 35px;
        width: 35px;
        margin-left: auto;
        position: relative;
        right: 20px;
    }

    .ham-menu span {
        height: 5px;
        width: 100%;
        /* background-color: blue; */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .3s ease;
    }

    .ham-menu span:nth-child(1) {
        top: 25%;
    }

    .ham-menu span:nth-child(3) {
        top: 75%;
    }

    /* make hamburger an X when clicked  */
    .ham-menu.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .ham-menu.active span:nth-child(2) {
       opacity: 0;
    }

    .ham-menu.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

        .logo {
        height: 200px;
    }

        .mobile-mama-text-logo {
        margin-top: 50px;
        text-align: center;
    }

        .off-screen-menu {
        display: block;
        background-color: #000;
        height: 100vh;
        width: 100%;
        max-width: 450px;
        position: fixed;
        z-index: 10;
        top: 0;
        right: -450px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: var(--a-font-size);
        transition:  .3s ease;
    }

        .off-screen-menu.active {
        right: 0;
    }
}

@media (max-width: 1125px) {
    .hero-image {
        display: none;
    } 

    .hide-display-image {
    display: block !important;
}

    .hero-content-container {
        display: flex;
        flex-direction: column;
        /* flex-direction: row; */
        justify-content: space-between;
        margin-top: 50px;
    }

    .hero-content-container div {
        width: 50%;
        margin-top: 20px !important;
    }

    .hero-content-container div p {
        margin-top: 0 !important;
    }

    #hero-first-content p {
        margin-left:20px;
    }

    #header-image-content-container {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    #hero-first-content {
        width: 100% !important;
    }

    #hero-first-content h1 {
        padding-left: 20px !important;
    }

    .large-content-container {
        display: flex;
        flex-direction: column;
    }

    .three-sections-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1025px) {
  .contact-image-container {
    display: flex;
    flex-direction: column-reverse;
  }

  .footer-image {
    position: relative;
    right: 0;
    justify-content: center;
    align-items: center;
    display: flex;
  }
}

@media (max-width: 825px) {
        .three-sections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 705px) {

    #header-image-content-container {
        padding: 50px 10px !important;
    }

    #hero-first-content p,
    #hero-first-content a,
    .hero-content-container div p
     {
        margin-left: 0px !important;
    }

    #hero-first-content h1,
    .hero-content-container div h2,
    .hero-content-container div p {
        padding: 10px 0 !important;
    }

    .label-input-container {
        flex-direction: column;
    }

    .container {
        width: 100%;
        padding: 10px;
    }

     .input-container {
        width: 100%;
    }

    .mobile-hero-content-container-display-none {
        display: block;
    }

    .mobile-hero-content-container-display-none div {
        width: auto;
        padding-right: 10px;
    }

    .second-mobile-hero-content-container-display-none {
        padding: 20px 10px 20px 0px !important;
    }

    .three-sections-grid {
        width: auto;
    }

    #nav-span-container {
        right: 10px;
    }
}

@media (max-width: 525px) {
        #nav-container {
        justify-content:center;
    }

        .mobile-mama-text-logo, .mobile-mama-text-logo div h2 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

        .logo {
        height:100px;
    }

    .contact_form_image {
    width: 56vw;
}
}

@media (max-width: 375px) {
    #header-image-content-container  {
        padding: 50px 10px !important;
    }

    #hero-first-content p{
        margin-left: 0;
    }

    #hero-first-content h1 {
        padding: 10px 0;
    }

    .hero-content-container div p {
        margin-left: 0 !important;
        padding: 10px 0 !important;
    }

    .hero-content-container div h2 {
        padding: 10px 0;
    }

        .contact_form_image {
        width: 76vw;
    }

}
