body{
    font-family: "Noto Serif Display", serif;
    background-image: linear-gradient(to right, #ffeed9, #ffe9c2);
    
}

html{
    scroll-behavior: smooth;
}

#form-message {
    text-align: center;
    font-size: 1.2rem; /* Increase as needed */
    margin-top: 15px;
    font-weight: 600;
}


nav{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    height: 10vh;
    padding: 30px 0px;
    border-bottom: 1px solid black;
    width: 100%;
}
#logo{
    height: 100px;
}
.primary{
    height: 90vh;
    padding-left: 20px;
}
h1{
    font-size: 70px;
    font-weight: 400;
}

#top{
    border-radius: 100px;
    background-color: transparent;
    border: 1px solid black;
    width: 35%;
    height: 8vh;
    font-size: 33px;
    color: black;
    font-family: "Bodoni Moda", serif;
}
.container{
    width: 100%;
    display:flex;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 20px;
}
.imgcontainer{
    display:flex;
    width: 100%;
    border-right: 1px solid black;
    border-left: 1px solid black;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
    align-content: center;
    height:100%
}
#second{
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    font-size: 30px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    width: 100%;
    height: 12vh;
}
/*#grids{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: 80vh;
    border-bottom: 1px solid black;
}*/

h2{
    text-align: center;
}

#gridimg {
    width: 100%;
    height: auto;        /* keeps aspect ratio */
    max-height: none;    /* remove max-height restriction */
    object-fit: contain; /* fits image inside container without cropping */
    display: block;
}

/* Ensure the grid container (#grids) doesn’t restrict height too much */
#grids {
    height: auto; /* or remove fixed height */
}

.container h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    text-align: center;
}
.contact-container{
    height: 100vh;
    display:flex;
    align-items: center;
    justify-content: space-evenly;
    align-content: center;
    margin-bottom: 50px;
    
}

.contact-left{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-left-title h3{
    font-weight: 600;
    font-size: 100px;
    margin-bottom: 1px;
    text-align: center;
}

.contact-left-title hr{
    border: none;
    width: 120px;
    height: 5px;
    border-radius: 100px;
    margin-bottom:1px;
}

.contact-left-title p{
    width: 40%;
}

input{
    width: 100%;
    height: 50px;
    border: 1px solid black;
    border-radius: 100px;
    padding-left: 20px;
    font-size: 20px;
    font-family: "Noto Serif Display", serif;
}

#formbutton{
    width: 100%;
    height: 50px;
    border: 1px solid black;
    border-radius: 100px;
    padding-left: 20px;
    font-size: 20px;
    font-family: "Noto Serif Display", serif;
    background-color: transparent;
}
p{
    text-align: center;
    font-size: 20px;
}

body {
    font-family: "Noto Serif Display", serif;
    background-image: linear-gradient(to right, #ffeed9, #ffe9c2);
}

html {
    scroll-behavior: smooth;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    height: 10vh;
    padding: 30px 0px;
    border-bottom: 1px solid black;
    width: 100%;
}

#logo {
    height: 100px;
}

.primary {
    height: 90vh;
    padding-left: 20px;
}

h1 {
    font-size: 70px;
    font-weight: 400;
    text-align: left; /* keep left aligned globally */
}

#top {
    border-radius: 100px;
    background-color: transparent;
    border: 1px solid black;
    width: 35vw;
    height: 8vh;
    font-size: 33px;
    font-family: "Bodoni Moda", serif;
}

.container {
    width: 100%;
    display: flex;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
    font-size: 20px;
}

.imgcontainer {
    display: flex;
    width: 100%;
    border-right: 1px solid black;
    border-left: 1px solid black;
    max-width: 100vw;
    align-items: center;
    justify-content: center;
    align-content: center;
    /* padding will remain unchanged here as per your request */
}

#second {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    font-size: 30px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    width: 100%;
    height: 12vh;
}

#grids {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: 80vh;
    border-bottom: 1px solid black;
    padding: 20px;
}

h2 {
    text-align: center;
}

#gridimg {
    width: 100%;
    height: auto;
    max-height: 250px;
}

.container h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    text-align: center;
}

.contact-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    align-content: center;
    margin-bottom: 50px;
    flex-direction: row;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact-left-title {
    text-align: center;
}

.contact-left-title h3 {
    font-weight: 600;
    font-size: 100px;
    margin-bottom: 1px;
    text-align: center;
}

.contact-left-title hr {
    border: none;
    width: 120px;
    height: 5px;
    border-radius: 100px;
    margin-bottom: 1px;
}

.contact-left-title p {
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

input {
    width: 100%;
    max-width: 500px;
    height: 50px;
    border: 1px solid black;
    border-radius: 100px;
    padding-left: 20px;
    font-size: 20px;
    font-family: "Noto Serif Display", serif;
    display: block;
    margin: 0 auto;
}

#formbutton {
    width: 100%;
    max-width: 500px;
    height: 50px;
    border: 1px solid black;
    border-radius: 100px;
    padding-left: 20px;
    font-size: 20px;
    font-family: "Noto Serif Display", serif;
    background-color: transparent;
    display: block;
    margin: 0 auto;
}

p {
    text-align: center;
    font-size: 20px;
}

/* Media Queries */

/* iPad and smaller (1024px and below) - 1 column grid */
@media screen and (max-width: 1024px) {
    #img{
        height: 30px;
    }
    
    h1 {
        font-size: 50px;
        text-align: left;
    }

    .primary{
        padding: 0px 10px;
    }

    #top {
        width: 50vw;
        font-size: 26px;
    }

    #grids {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
        height: auto;
    }

    #gridimg {
        max-height: 250px;
        width:30%;
    }

    .container {
        font-size: 18px;
        flex-direction: column;
        padding: 20px;
    }

    .imgcontainer {
        border-left: none;
        border-right: none;
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
    }

    .contact-left-title h3 {
        font-size: 70px;
    }

    .contact-left-title p {
    width: 60%;
    margin: 0 auto;      /* centers the block horizontally */
    text-align: center;  /* centers the text inside the paragraph */
}


    input,
    #formbutton {
        width: 80%;
        max-width: 400px;
    }

    input {
        font-size: 18px;
    }

    #formbutton {
        height: 55px;
        font-size: 18px;
        margin: 0 auto;
        display: block;
    }
}

/* iPhone and smaller (767px and below) */
@media screen and (max-width: 767px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    h1 {
        font-size: 50px;
        text-align: left;
    }

    #top {
        width: 93vw;
        height: 7vh;
        font-size: 10px;
        color: black;
        text-decoration: none;
    }

    .container {
        font-size: 16px;
        flex-direction: column;
        padding: 10px;
    }

    #grids {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        height: auto;
    }

    #gridimg {
        max-height: 220px;
        width:30%;
    }

    .imgcontainer {
        border-left: none;
        border-right: none;
        border-top: 1px solid black;
        border-bottom: 1px solid black;
        padding: 10px 0;
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        padding: 30px 10px;
    }

    .contact-left-title h3 {
        font-size: 50px;
    }

    .contact-left-title p {
    width: 60%;
    margin: 0 auto;      /* centers the block horizontally */
    text-align: center;  /* centers the text inside the paragraph */
}


    input,
    #formbutton {
        width: 90%;
        max-width: 350px;
        font-size: 16px;
        height: 45px;
        margin: 0 auto;
        display: block;
    }

    p {
        font-size: 16px;
    }
}

@media screen and (min-width: 1440px) {
  h1 {
    font-size: 100px; /* or adjust as you prefer */
  }

  h2 {
    font-size: 50px; /* or adjust as needed */
  }
}
#gridimg {
    width: 100%;
    height: auto;
    max-height: 350px;   /* increased from earlier values */
}
input,
  #formbutton {
    width: 80%;
    max-width: 800px;
    font-size: 22px;
    height: 55px;
  }

@media screen and (min-width: 1440px) {
  .contact-left-title p{
    font-size: 30px;
    width: 70%;
  }
  #top{
    font-size:50px;
  }
}

