/* General */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  scroll-snap-type: y mandatory;
  font-family: 'Montserrat','Georgia', serif;
  color: #fff;
  background-color: #2c2c2c;
}

.snap-section {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* First Section Styles */
#section1 {
  /* background: url('https://frosted.ph/images/8c33721ca3d5504ada973acc3a06588e.png') no-repeat center center/cover; */
  background: url('images/cinnamon-tray.jpg') no-repeat center center/cover;
  height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

#section1 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.logo-container {
  z-index: 2;
  margin-bottom: 20px;
}

.logo-container img {
  width: 250px;
  height: auto;
}

#section1 .section-header-intro {
  font-size: 3rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  z-index: 2;
  margin: 0;
  font-family: "Alex Brush", sans-serif;
}

#section1 .section-header {
  font-size: 3.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  z-index: 2;
  margin-top: 5px;
  font-family: 'Montserrat', sans-serif;
}

/* Second Section Styles */
#section2 {
  background-color: #ab9873;
  height: 75vh;
  display: flex;
  flex-direction: row; /* Ensure horizontal layout */
}

.left-subsection {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-subsection h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.left-subsection p {
  font-size: 1rem;
  line-height: 1.6;
}

.right-subsection {
  flex: 1;
  /* background: url('https://frosted.ph/images/22633c0049908a65a47cf0d5ac20fd50.jpg') no-repeat center center/cover; */
  background: url('images/decadent.png') no-repeat center center/cover;
}

/* Third Section Styles */
#section3 {
  background-color: #fff9ed;
  height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
}

#section3 .section-header {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #333;
}

.window-container {
  display: flex;
  justify-content: space-between;
  width: 75%;
  height: 75%;
}

.window {
  flex: 1;
  margin: 0 10px;
  background-size: cover;
  background-position: center;
  border-radius: 70px; /* Adjusted for rounded corners */
  aspect-ratio: 1 / 1.5; /* Maintain 1:1.5 ratio */
  position: relative;
  overflow: hidden;
}

.window .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.window h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.window p {
  font-size: 1rem;
  line-height: 1.5;
}

#section4 {

  min-height: 800px;
  height: 100vh;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Section 1 */
  .section-header {
    font-size: 2rem;
    padding: 0 20px;
  }

  .logo-container img {
    width: 120px;
  }

  /* Section 2 - Stack left and right */
  #section2 {
    flex-direction: column;
    height: auto;
  }

  .left-subsection, .right-subsection {
    /*width: 100%;*/
    flex: none;
  }

  .left-subsection {
    padding: 30px 20px;
  }

  .left-subsection h2 {
    font-size: 1.5rem;
  }

  .left-subsection p {
    font-size: 0.95rem;
  }

  .right-subsection {
    height: 250px;
    background-size: cover;
  }

  /* Section 3 - Stack windows vertically */
  .window-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  /* Section 3 - Stack windows vertically with better spacing */
  .window {
    width: 90%;
    border-radius: 30px;
    aspect-ratio: 1 / 1.5;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }

  .window .overlay {
    /*padding: 30px 20px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .window h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .window p {
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 0;
    margin: 0;
  }

  #section3 {
    padding: 30px 20px;
  }

  #section3 .section-header {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}