/* Cross-browser compatibility */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Main styles for the page */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

nav {
  margin: 0 auto;
  text-align: center;
}

header {
  background-color: #1e1e1e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

/* Navigation styles */
nav {
  margin: 0 auto;
  text-align: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-right: 20px;
  position: relative;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #6C63FF;
}

/* Subheader styles */
nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

nav ul li:hover>ul {
  display: flex;
  flex-direction: column;
}

nav ul ul li {
  width: 100%;
  margin: 0;
}

nav ul ul li a {
  font-size: 16px;
  font-weight: normal;
  padding: 10px 20px;
}

nav ul ul li a:hover {
  background-color: #6C63FF;
  color: #FFFFFF;
}

/* Subnav styles */
.subnav {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subnav:hover {
  color: #6C63FF;
}

.subnav:focus {
  outline: none;
}

.subnav i {
  margin-left: 5px;
}

.subnav ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.subnav:hover>ul {
  display: flex;
  flex-direction: column;
}

.subnav ul li {
  width: 100%;
  margin: 0;
}

.subnav ul li a {
  font-size: 16px;
  font-weight: normal;
  padding: 10px 20px;
}

.subnav ul li a:hover {
  background-color: #6C63FF;
  color: #FFFFFF;
}

.subnav1 {
  background-color: #C4C4C4;
  font-size: 16px;
  padding: 10px 20px;
}

.subnav2 {
  background-color: #C4C4C4;
  font-size: 16px;
  padding: 10px 20px;
}

/* Logo styles */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  color: #6C63FF;
  font-style: italic;
}

.logo img {
  width: 100%;
}

/* Header*/
.super-head {
  background-color: #6C63FF;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  border-bottom: 4px solid #5248D7;
  margin-bottom: 30px;
}

.super-head h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.super-head p {
  font-size: 24px;
  margin-bottom: 40px;
}

.main {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dates-serction,
.guest-section,
.duration-section {
  margin-bottom: 40px;
}

.dates-serction h2,
.guest-section h2,
.duration-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #5248D7;
}

.dates-serction p,
.guest-section p,
.duration-section p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Form*/
input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

/* input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
  } */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table td {
  padding: 10px;
  font-size: 16px;
  color: #333;
}

button {
  background-color: #6C63FF;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.summary-table {
  font-family: Arial, sans-serif;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border-collapse: collapse;
}

.summary-table th,
.summary-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.summary-table th {
  background-color: #f2f2f2;
  text-align: left;
}

.tickets-cell {
  font-weight: bold;
}

.charges-cell {
  font-weight: bold;
}

/* .summary-table td {
    text-align: center;
  } */

.summary-table tr:last-child td:first-child {
  font-weight: bold;
}

.summary-table tr:last-child td:last-child {
  font-weight: bold;
  background-color: #f2f2f2;
}

button:hover {
  background-color: #5248D7;
}

ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

ul li {
  font-size: 16px;
  margin-bottom: 5px;
}

/* form */
.form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #5248D7;
}

.form label {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.form input {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

.card-payment button:hover {
  background-color: #5248D7;
}

/* Footer 1*/
.footer1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f4f4f4;
  padding: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.footer1 ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  /* padding-left: 50px; */
  align-items: left;
}

.footer1 ul li {
  display: inline-block;
  margin-right: 20px;
}

.footer1 ul li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.footer1 form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer1 form h3 {
  margin-bottom: 10px;
}

.footer1 input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.footer1 button[type="submit"] {
  padding: 10px 20px;
  background-color: #6C63FF;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer1 button[type="submit"]:hover {
  background-color: #6C63FF;
}

.contact-us {
  text-align: left;
  margin-bottom: 20px;
}

.contact-us h3 {
  margin-bottom: 15px;
}

.contact-us p {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Footer 2 */
.footer2 {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .super-head {
    padding: 30px 20px;
  }

  main {
    padding: 10px;
  }
}

/* Responsive media queries */

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  .subnav ul {
    position: static;
    box-shadow: none;
  }

  .subnav ul li {
    width: auto;
    margin-right: 10px;
  }

  .hatchery {
    width: 100%;
  }

  .hatchery {
    margin: 20px 0px;
  }

  .super-head h1 {
    align-content: justify;
    font-size: 26px;
  }

  .super-head p {
    font-size: 18px;
  }

  .super-head {
    padding: 1rem 1rem;
  }

  .super-head button {
    font-size: 16px;
  }

  .footer1 {
    flex-direction: column;
  }

  .footer1 ul {
    margin-bottom: 25px;
  }

  .footer1 form {
    margin-bottom: 25px;
  }

}