/* Universal selector */
* {
  box-sizing: border-box;
}

/* Global styles */
body {
  background-color: #EAEAEA;
  color: #666666;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Wrapper id Selector */
#wrapper {
  background-image: linear-gradient(to bottom, #FFFFFF, #90C7E3);
  border: 1px solid #000033;
  margin: 0 auto;
  background-color: #90C7E3;
}

/* Header styles */
header {
  background-color: #002171;
  color: #FFFFFF;
  text-align: center;
}
header a {
  text-decoration: none;
  color: #FFFFFF;
}
header a:hover {
  color: #90C7E3;
}

/* Navigation styles */
nav {
  padding: 0;
  font-size: 120%;
  text-align: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
  font-weight: bold;
}

nav ul li {
  border-bottom: 1px solid #ccc;
  padding: 0.5em 0;
}

nav a {
  color: #5C7FA3;
  text-decoration: none;
}
nav a:hover {
  color: #A52A2A;
}

/* Heading styles */
h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  padding: 0.5em;
  letter-spacing: 0.25em;
}

h1 a {
  text-decoration: none;
  color: #FFFFFF;
}
h2 {
  margin: 0;
  margin-top: 1em;
  margin-bottom: 0.5em ;
  font-family: Georgia, 'Times New Roman', serif;
  color: #1976D2;
  text-shadow: 1px 1px #CCCCCC;
}

h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: #000033;
}

/* Footer styles */
footer {
  margin-left: 0;
  margin-top: -2em;
  background-color: #FFFFFF;
  padding: 2em;
  font-size: 75%;
  font-style: italic;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Main content styles */
main {
  background-color: #FFFFFF;
  margin-left: 0;
  padding: 0 30px 2em; /* Updated padding */
  overflow: auto;
}
/* Configure the unordered list in the main content area */
main ul {
  list-style-type: none;
  padding-left: 30px;
  list-style-image: url('marker.gif');
}

/* Hero image styles */
#homehero {
  width: 100%; /* Adjusted to full width */
  height: 300px;
  background-image: url('coast2.jpg');
  background-size: cover;
  margin-right: auto;
}

#yurthero {
  width: 100%; /* Adjusted to full width */
  height: 300px;
  background-image: url('yurt.jpg');
  background-size: cover;
  margin-right: auto;
}

#trailhero {
  width: 100%; /* Adjusted to full width */
  height: 300px;
  background-image: url('trail.jpg');
  background-size: cover;
  margin-right: auto;
}

/* Resort class styles */
.resort {
  font-weight: bold;
  color: #1976D2;
}

/* Contact id styles */
#contact {
  font-size: 90%;
}

/* New style for the special div */
#special {
  display: block;
  clear: both;
  margin-top: 20px;
  padding: 0.05em 2em;
}

/* New styles for table */
table {
  border: 2px solid #3399CC;
  border-collapse: collapse;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* New styles for table cells */
td,
th {
  padding: 0.5em;
  border: 2px solid #3399CC;
  text-align: center;
}

/* Center text in td */
td {
  text-align: center;
}

/* Override text alignment for specific cells */
td.text {
  text-align: left;
}

/* Alternate row background color */
tr:nth-of-type(odd) {
  background-color: #F5FAFC;
}

/* Medium Layout - 600px and above */
@media only screen and (min-width: 600px) {
  nav ul {
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  nav ul li {
    border-bottom: none;
  }
  section {
    float: left;
    width: 33%;
    padding: 0 2em;
  }
  .form-input {
    width: 70%;
  }
  .form-submit{
    width: 100px;
  }
}

/* Large Layout - 1024px and above */
@media only screen and (min-width: 1024px) {
  #wrapper {
    width: 80%;
    box-shadow: 3px 3px 3px #333333;
  }
  nav {
    padding: 1.5em;
    font-size: 120%;
    float: left;
    width: 160px;
    margin-left: -30px;
  }
  nav ul {
    flex-direction: column;
  }
  footer {
    margin-left: 190px;
  }
  main {
    margin-left: 190px;
  }
  #homehero,
  #yurthero,
  #trailhero {
    width: calc(100% - 190px);
    margin-left: 190px;
  }
  section {
    float: left;
    width: 33%;
    padding: 0 2em;
  }
  .form-input {
    width: 70%;
  }
  .form-submit{
    width: 100px;
  }
}

/* New style for the reservations form list */
.reserve {
  padding-left: 0;
  padding-right: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}
form {
  display: flex;
  flex-flow: column nowrap;
  padding-left: auto;
  padding-right: auto;
}
input,
textarea {
  margin-bottom: 0.5em;
}
form label {
  display: block;
  font-weight: bold;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"] {
  padding: 5px;
  font-size: 1em;
  border: 1px solid #ccc;
}
form input[type="number"] {
  width: 25%;
  padding: 5px;
  font-size: 1em;
  border: 1px solid #ccc;
}
form textarea {
  grid-column: 2;
  height: 200%;
  padding: 5px;
  font-size: 1em;
  border: 1px solid #ccc;
}

form input[type="submit"] {
  grid-column: 2;
  background-color: #1976D2;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 50px;
}
form input[type="submit"]:hover {
  background-color: #0056b3;
}

