* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #222;
}

.orange { color: #f98b00; }
.green { color: #00ff38; }


/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh; /* modern mobile-safe viewport */
  width: 100%;
  background: url("dad-hotel--5JxaDg1gZU-unsplash.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.75)
  );
  z-index: 1;
}

/* Logo Styling */
.logo {
  position: absolute;
  top: 25px;
  left: 60px;
  z-index: 3;
}

.logo img {
  height: 55px;
  width: auto;
  /*filter: brightness(0) invert(1); /* makes dark logo visible on dark bg */
  transition: 0.3s ease;
}

.logo img:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .logo {
    right: 70px;
    top: 10px; 
    /* width: auto; */
    position: fixed;
  }

  .logo img {
    height: 45px;
  }
}



/* Dark overlay for readability */
/* .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
} */


@media (max-width: 600px) {
  .overlay {
    background: rgba(0, 0, 0, 0.7); /* stronger black overlay on small screens */
  }
}

/* Text Content */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 520px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}


/* Email Form */
form {
  display: flex;
  gap: 10px;
  /* flex-wrap: wrap; */
}

input[type="text"] {
  flex: 1;
  min-width: 240px;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
}

input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1.05rem;
}

select{
  flex: 1;
  /* min-width: 240px; */
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1.05rem;
}

/* Custom green dropdown arrow */
select {
  appearance: none;              /* Remove default arrow (cross-browser) */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2328a745' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;  /* Position arrow */
  background-size: 1.2rem;
  padding-right: 2.5rem;  /* space for the arrow */
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Green border when focused */
input:focus,
select:focus {
  border: 2px solid #f98b00;
  outline: none;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.5);
}

select:hover {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%231c7c32' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
}


button {
  min-height: 52px;
  /* font-size: 1.05rem; */
  font-size: 16px;
  background-color: #28a745;
  color: whitesmoke;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(215, 124, 13, 0.25);
}

button:hover {
  background-color: #d77c0d;
  color: whitesmoke;
}

.note {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero {
    justify-content: center;
    text-align: center;
    padding: 0 6%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  form {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .logo {
    left: 50%;
    transform: translateX(-50%);
  }
}
