
/*-----------------GLOBAL STYLES-------------------*/

/* Background Image */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "Antic Didone", serif;
}

h2 {
  font-family: "Lobster", sans-serif;

}

h3 {
  text-align: center;
}

* {
  box-sizing: border-box;
}

/*--Fonts--*/

            .lobster-regular {
              font-family: "Lobster", sans-serif;
              font-weight: 400;
              font-style: normal;
            }

            .antic-didone-regular {
              font-family: "Antic Didone", serif;
              font-weight: 400;
              font-style: normal;
            }


/* Header */
header {
  width: 100%;
  position: sticky;
}

.logobar {
  background-color: #E37083;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
}

.logobar img {
  height: 175px;
  width: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 80px;
  background-color: #F49AA2;
  padding: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

nav a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  padding: 5px;
  font-family: "Antic Didone", serif;
  font-weight: 500;
}

/*hamburger menu*/
#menu-toggle {
  display: none;
}

.hamburger {
  position: absolute;
  right: 20px;
  top: 20px;
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
}

/*content boxes*/

.box {
  background-color: rgba(244, 154, 162, 0.75);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

/* About Us Home page image layout */

.about-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-text {
  flex: 2;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: #E37083;
  padding: 20px;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column,
.footer-column-2 {
  float: none;
}

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
  color: black;
}

/* ---Home Page Content--- */

.home-containertop, .home-containerbottom {
  display: flex;
  padding: 50px;
  gap: 25px;
}

    .welcome-flex {
      flex-grow:1;
    }

    .about-flex {
      flex-grow:2;
    }

    .gallery-flex {
      flex: 2;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .services-flex {
      flex: 1;
      min-width: 280px;
    }





/*-------Gallery Page -------*/
.design-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.design-gallery img {
  flex: 1 1 calc(33.333% - 13.33px);
  max-width: calc(33.333% - 13.33px);
  height: auto;
  object-fit: cover;
  display: block;
}
 



/*-----------------MEDIA QUERIES-------------------*/

/* Mobile */
@media (max-width: 767px) {

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.thumbnails img {
  flex: 1 0 100%;
  max-width: 100%;
  height: auto;
}

/*hamburger menu for mobile version*/

header {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Show hamburger */
  .hamburger {
    display: block;
    text-align: center;
    background-color: #F49AA2;
  }

  /* Hide nav by default */
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #F49AA2;
    gap: 15px;
    padding: 15px 0;
  }

  /* When checkbox is checked → show nav */
  #menu-toggle:checked + .hamburger + .main-nav {
    display: flex;
  }

  /*about content*/

   .about-content {
    flex-direction: column;
    text-align: left;
  }

  }

  /*--------About Us Page ---------*/ 

  .about-us.box {
  max-width: 1100px;
  width: 90%;      
  margin: 50px auto; 
  padding: 20px;
  background-color: rgba(244, 154, 162, 0.75);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.about-content-page {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.about-image {
  flex: 0 0 auto;
}

.about-image img {
  width: 250px;   
  max-width: 100%;
  height: auto;
  object-fit: cover;
  padding-top: 35px;
}

.about-us-text {
  flex: 1 1 auto;
  padding: 25px;
}

/*footer*/
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
  }

  .social-links a {
    text-decoration: none;
    color: black;
    font-size: 0.9rem;
  }

/* text styling */

body {
  font-size: 18px;
  line-height: 25px;
}

h2 {
  font-size: 22px;
}

/* gallery page */
.design-gallery img {
    flex: 1 1 100%;
    max-width: 100%;

}



/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {

  .thumbnails img {
    flex: 1 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }


/* text styling */

body {
  font-size: 24px;
  line-height: 35px;
}

h2 {
  font-size: 30px;
}

/*Gallery Page*/ 
.design-gallery img {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

/*-------About us page -------*/

 .about-content-page {
    flex-direction: column; 
    align-items: center;  
    text-align: left;  
    gap: 15px;
  }

  .about-image img {
    width: 100%;
    max-width: 300px; 
    margin-bottom: 10px;
  }


/* Desktop: Flexbox Layout */

 @media (min-width: 1024px) {
  .thumbnails img {
    flex: 1 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }

 .about-image img {
    max-width: 550px;
  }

/* text styling */

body {
  font-size: 28px;
  line-height: 38px;
}

h2 {
  font-size: 36px;
}

/*gallery page*/ 

.design-gallery img {
    flex: 1 1 calc((100% / 3) - 13.33px);
    max-width: calc((100% / 3) - 13.33px);
  }


}
