/* pacific.css - Small Layout */

/* 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;
  /* Removed padding, height */
  text-align: center;
}
header a:link,
header a:visited {
  text-decoration: none;
  color: #FFFFFF;
}

header a:hover {
  color: #90C7E3;
}

h1 a {
  text-decoration: none;
  color: #FFFFFF;
}

/* Navigation styles */
nav {
  padding: 0; /* Set padding to 0 */
  font-size: 120%;
  /* Removed float and width */
  text-align: center; /* Centered text */
}

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; /* Add border to separate list items */
  padding: 0.5em 0; /* Padding for each item */
}

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

nav a:visited {
  color: #344873;
  text-decoration: none;
}

nav a:hover {
  color: #A52A2A;
}

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

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

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

dt {
  color: #002171;
}

/* Footer styles */
footer {
  /* Adjusted margin-left */
  margin-left: 0;
  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-left: 30px;
  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; /* Clear any floating elements */
  margin-top: 20px; /* Adjust as needed */
  padding-left: 0.05em;
  padding-right: 2em;
  
}
/* New styles for table */
table {
  border: 2px solid #3399CC;
  border-collapse: collapse;
  width: 100%; /* Ensure table takes full width */
  margin: 0; /* Reset margin */
  padding: 0; /* Reset padding */
}
/* 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) {
  /* Styles for nav ul */
  nav ul {
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
  }

  nav ul li {
    border-bottom: none; 
  }

  /* Styles for section element */
  section {
    float: left;
    width: 33%;
    padding-left: 2em;
    padding-right: 2em;
  }
}

/* Large Layout - 1024px and above */

@media only screen and (min-width: 1024px) {
  /* Wrapper id Selector */
  #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 styles */
  footer {
    margin-left: 190px;
  }

  /* Main content styles */
  main {
    margin-left: 190px;
  }
  /* Hero image styles */
  #homehero,
  #yurthero,
  #trailhero {
    width: calc(100% - 190px);
    margin-left: 190px; 
  }
  /* Section styles */
  section {
    float: left;
    width: 33%;
    padding-left: 2em;
    padding-right: 2em;
  }
}
