/* Body elements */
body {
  font-family: Baskerville Old Face;
  background-color: rgb(250, 241, 230);
  margin: 0;
  padding: 0;
}

/* Nav section */
nav {
  padding: 10px 2vw;
  background-color: rgb(156, 87, 8);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

nav::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 10px 10px;
  pointer-events: none;
}

.nav-left {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
}

.nav-middle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-middle a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.2;
  font-size: 1rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-middle a:hover {
  color: burlywood;
  border-bottom: 2px solid burlywood;
}

.nav-right {
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-right a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.nav-right img {
  height: 20px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-right img:hover {
  transform: scale(1.2);
  filter: brightness(1.3) drop-shadow(0 0 5px #fff);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 1024px) {
  nav {
    padding: 10px 3vw;
  }

  .nav-right img {
    height: 24px;
  }
}

@media (max-width: 768px) {
  .nav-middle {
    display: none;
    flex-direction: column;
    background-color: rgb(156, 87, 8);
    position: static;
    transform: none;
    width: 100%;
    gap: 15px;
    margin-top: 10px;
    padding-bottom: 10px;
    border-radius: 0 0 10px 10px;
  }

  .nav-middle.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-right img {
    height: 28px;
  }
}

/* Footer Section */
footer {
  display: block;
  text-align: center;
  background-color: white;
  border-style: double;
  border-color: black;
  padding: 20px;
  margin: 0;
}

footer a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

footer img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

footer img:hover {
  transform: scale(1.2);
}

input[type=text],
input[type=submit] {
  width: 300px;
  max-width: 300px;
  padding: 12px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

footer button {
  background-color: rgb(250, 241, 230);
  border: 1px solid #ccc;
  width: 150px;
  max-width: 150px;
  padding: 12px;
  border-radius: 15px;
  color: black;
}

footer button:hover {
  opacity: 0.8;
}

.newsletter-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.newsletter-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgb(250, 241, 230);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.input-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group input[type=text] {
  padding-left: 36px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #ccc;
  flex: 1;
}

.input-group .input-icon {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@media (max-width:768px) {
  .newsletter-container{
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Top Header Section Home Page*/
.header-home{
  text-align: center;
  padding: 40px;
  border-radius: 10px;
  color: black;
  font-size: larger;
  background-color: goldenrod; 
  line-height: 1.6;
}

/*home image styling*/
.home-img{
  display: block;
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
}

/*polaroid settings*/
div.polaroid {
  margin: 40px auto 25px auto;
  display: block;
  overflow: hidden;
  padding: 0;
  background-color: white;
  width: 35%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 25px;
  min-width: 200px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

div.polaroid:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

div.container{
  padding: 10px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

div.container:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Second section header styles */
.header-section-2 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

.header-section-2 h2 {
  text-align: center;
  background-color: white;
  color: black;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-section-2 h2:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.header-section-2 img {
  width: 100%;
  max-width: 450px;
  height: auto;
  transition: width 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.3s ease;
}

.header-section-2 img:hover {
  filter: hue-rotate(20deg) brightness(1.1);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header-section-2 {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .header-section-2 img {
    width: 80%;
    max-width: 300px;
    margin-left: 0;
  }
}

/* About page styles*/
.about-page {
  background-image: url("../img/background/Lovepik_com-401157348-pink-love-background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.header-about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  padding: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.about-left,
.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section 2 layout */
.section-about-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  padding: 40px;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 600px;
}

/* shared styles */
.header-about p,
.section-about-2 p {
  max-width: 450px;
  text-align: center;
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-about p:hover,
.section-about-2 p:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.header-about img,
.section-about-2 img {
  display: block;
  background-color: #fff;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  height: auto;
  transition: all 0.3s ease;
}

.header-about img {
  width: 60%;
}

.section-about-2 img {
  width: 100%;
}

.header-about img:hover,
.section-about-2 img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.bold {
  font-weight: bold;
  font-size: x-large;
}

@media screen and (max-width: 768px) {

  .header-about,
  .section-about-2 {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .about-left,
  .about-right {
    width: 100%;
    margin-bottom: 20px;
  }

  .header-about p,
  .section-about-2 p {
    max-width: 90%;
    padding: 15px;
  }

  .header-about img,
  .section-about-2 img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}