/* Base Styles */
/* Make the whole page fill the screen height */
html, body {
  height: 100%;
  margin: 0;
}

/* Use flexbox layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

/* Let the main content stretch and push footer down */
main {
  flex: 1;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: white; /* lighter pink background */
  color: #3a1f3b;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ff79b0, #ff4db8); /* vibrant pink gradient */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

header .logo {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.3);
}

header nav button {
  margin: 0 0.3rem;
  padding: 0.6rem 1.2rem;
  border: none;
  background: #ff85c1;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

header nav button:hover {
  transform: scale(1.1);
  background: #ff4db8;
  box-shadow: 0 5px 15px rgba(255, 77, 184, 0.5);
}

/* Sections */
.section {
  display: none;
  padding: 2rem;
  text-align: center;
}
.section.visible {
  display: block;
}

/* Gallery */
.gallery {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.gallery img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 182, 193, 0.3);
}
.gallery img:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 15px 25px rgba(255, 105, 180, 0.6);
  border: 3px solid #ff69b4;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.features div {
  background: linear-gradient(135deg, #ff99c8, #ff4db8);
  padding: 1.2rem 2.5rem;
  border-radius: 15px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
}
.features div:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 77, 184, 0.5);
  background: linear-gradient(135deg, #ff4db8, #ff1faa);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 2rem auto;
}
.contact-form input, .contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ffb6c1;
  border-radius: 8px;
  width: 100%;
  transition: border 0.3s, box-shadow 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #ff4db8;
  box-shadow: 0 0 10px rgba(255, 77, 184, 0.5);
  outline: none;
}
.contact-form button {
  padding: 0.8rem;
  border: none;
  background: rgb(106, 199, 106);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.contact-form button:hover {
  transform: scale(1.05);
  background: #ff1faa;
  box-shadow: 0 8px 20px rgba(255, 77, 184, 0.6);
}

/* Footer */
footer {
  background: linear-gradient(90deg, #ff79b0, #ff4db8);
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
footer:hover {
  background: linear-gradient(90deg, #ff4db8, #ff1faa);
  box-shadow: 0 -5px 20px rgba(255, 77, 184, 0.5);
}
/* Responsive Header Fix */
@media(max-width:768px){
  header {
    flex-wrap: nowrap;          /* prevent stacking */
    flex-direction: column;        /* ensure horizontal layout */
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem;              /* slightly smaller padding */
  }

  header .logo {
    font-size: 2 rem;          /* scale down logo a bit */
  }

  header nav {
    display: flex;
    flex-wrap: wrap;             /* allow buttons to wrap if needed */
    gap: 0.3rem;
  }

  header nav button {
    padding: 0.5rem 0.4rem;     /* smaller buttons to fit horizontally */
}

