@charset "utf-8";

/*
   Final Project | ITSS-232
   Author:   Evan Barth
   Date:     06/23/2026
   Filename: resort.css
*/

html {
   background-color: rgb(8, 40, 65);
}

body {
   font-family: Georgia, 'Times New Roman', serif;
   color: rgb(40, 40, 40);
   background-color: hsl(38, 45%, 95%);
}

header {
   background-color: rgb(8, 40, 65);
   text-align: center;
   padding-bottom: 15px;
}

header img {
   width: 100%;
   max-height: 280px;
   object-fit: cover;
   display: block;
}

header h1 {
   color: rgb(255, 255, 255);
   font-size: 2.2em;
   margin: 15px 0 5px 0;
   text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7);
   font-family: Georgia, serif;
   letter-spacing: 2px;
}

.tagline {
   color: rgb(247, 147, 26);
   font-style: italic;
   font-size: 1.1em;
   margin: 0 0 10px 0;
}

nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
   overflow: hidden;
}

nav li {
   display: block;
}

nav a {
   display: block;
   background-color: rgb(10, 60, 95);
   line-height: 3em;
   text-decoration: none;
   text-align: center;
   color: rgb(255, 255, 255);
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.95em;
   letter-spacing: 1px;
   text-transform: uppercase;
}

nav a:hover {
   background-color: rgb(247, 147, 26);
   color: rgb(255, 255, 255);
   font-size: 1.1em;
   transition: background-color 0.5s ease-in 0.2s,
               color 0.5s ease-in 0.2s,
               font-size 1s ease;
}

h1, h2, h3 {
   text-shadow: 2px 3px 5px rgba(0, 0, 0, 0.12);
}

h2 {
   color: rgb(10, 60, 95);
   border-bottom: 3px solid rgb(247, 147, 26);
   padding-bottom: 6px;
   margin-top: 30px;
}

h3 {
   color: rgb(10, 79, 128);
}

main {
   padding: 25px;
   margin-top: 30px;
}

.hero {
   text-align: center;
   padding: 35px 25px;
   background-color: rgb(10, 60, 95);
   color: rgb(255, 255, 255);
   margin-bottom: 35px;
}

.hero h2 {
   color: rgb(247, 147, 26);
   border-bottom: none;
   font-size: 1.8em;
   text-shadow: none;
}

.hero p {
   font-size: 1.1em;
   max-width: 720px;
   margin: 10px auto 0 auto;
   line-height: 1.8em;
}

.btn {
   display: inline-block;
   background-color: rgb(247, 147, 26);
   color: rgb(255, 255, 255);
   padding: 12px 32px;
   text-decoration: none;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: bold;
   margin-top: 18px;
   font-size: 0.95em;
   letter-spacing: 1px;
}

.btn:hover {
   background-color: rgb(200, 110, 10);
}

.cards {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   margin: 25px 0;
}

.card {
   background-color: rgb(255, 255, 255);
   border-top: 5px solid rgb(247, 147, 26);
   padding: 20px;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
   text-align: center;
}

.card img {
   width: 100%;
   height: 175px;
   object-fit: cover;
   margin-bottom: 12px;
   display: block;
}

.card h3 {
   margin-top: 0;
}

.experience {
   display: flex;
   flex-wrap: wrap;
   gap: 25px;
   margin-bottom: 35px;
   align-items: center;
}

.experience img {
   height: 240px;
   object-fit: cover;
   border-radius: 2px;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.experience-text {
   flex: 1;
   min-width: 250px;
}

.experience-text h3 {
   margin-top: 0;
}

.gallery {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin: 20px 0;
}

.gallery-item {
   overflow: hidden;
}

.gallery-item img {
   width: 100%;
   height: 175px;
   object-fit: cover;
   display: block;
   transition: transform 0.4s ease;
}

.gallery-item img:hover {
   transform: scale(1.06);
}

table {
   width: 100%;
   border-collapse: collapse;
   margin: 20px 0;
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.9em;
}

th, td {
   border: 1px solid rgb(10, 79, 128);
   padding: 12px 15px;
   text-align: left;
}

thead {
   background-color: rgb(10, 60, 95);
   color: rgb(255, 255, 255);
}

thead th {
   border-color: rgb(8, 40, 65);
   letter-spacing: 1px;
}

tbody tr:nth-child(odd) {
   background-color: rgb(255, 255, 255);
}

tbody tr:nth-child(even) {
   background-color: hsl(205, 30%, 93%);
}

tbody tr:hover {
   background-color: hsl(38, 65%, 90%);
}

tfoot {
   background-color: rgb(247, 147, 26);
   color: rgb(255, 255, 255);
   font-style: italic;
   font-family: Georgia, serif;
}

tfoot td {
   text-align: center;
   border-color: rgb(200, 110, 10);
}

ul.amenities {
   list-style: none;
   padding: 0;
   columns: 2;
}

ul.amenities li {
   padding: 7px 0 7px 28px;
   border-bottom: 1px solid hsl(38, 30%, 85%);
   position: relative;
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.9em;
   break-inside: avoid;
}

ul.amenities li::before {
   content: "\25BA";
   color: rgb(247, 147, 26);
   position: absolute;
   left: 0;
   font-size: 0.8em;
   top: 9px;
}

ol.steps {
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.9em;
   line-height: 2em;
}

ol.steps li {
   padding: 4px 0;
   border-bottom: 1px solid hsl(38, 30%, 88%);
}

.clear {
   clear: both;
}

hr {
   border: none;
   border-top: 2px solid rgb(247, 147, 26);
   margin: 30px 0;
}

iframe {
   border: none;
}

.bitcoin-badge {
   display: inline-block;
   background-color: rgb(247, 147, 26);
   color: rgb(255, 255, 255);
   padding: 3px 12px;
   font-weight: bold;
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.85em;
   border-radius: 20px;
}

.info-box {
   background-color: rgb(10, 60, 95);
   color: rgb(255, 255, 255);
   padding: 20px 25px;
   margin: 20px 0;
   border-left: 6px solid rgb(247, 147, 26);
}

.info-box h3 {
   color: rgb(247, 147, 26);
   margin-top: 0;
}

.two-col {
   display: flex;
   flex-wrap: wrap;
   gap: 30px;
}

.two-col > div {
   flex: 1;
   min-width: 250px;
}

fieldset {
   border: 2px solid rgb(10, 60, 95);
}

legend {
   font-weight: bold;
   color: rgb(10, 60, 95);
   padding: 0 8px;
   font-size: 1.05em;
   font-family: Verdana, Geneva, sans-serif;
}

input:focus,
select:focus,
textarea:focus {
   outline: 3px solid rgb(247, 147, 26);
   background-color: hsl(38, 80%, 97%);
}

input:required:valid,
select:required:valid {
   border: 2px solid rgb(10, 79, 128);
}

input:required:invalid,
select:required:invalid {
   border: 2px solid rgb(180, 0, 0);
   background-color: hsl(0, 80%, 97%);
}

body > footer {
   background-color: rgb(8, 40, 65);
   color: rgba(255, 255, 255, 0.65);
   font-family: Verdana, Geneva, sans-serif;
   font-size: 0.85em;
   text-align: center;
   padding: 25px 15px;
   margin-top: 20px;
   clear: both;
   line-height: 2.2em;
}

body > footer a {
   color: rgb(247, 147, 26);
   text-decoration: none;
}

body > footer a:hover {
   text-decoration: underline;
}

body > footer .footer-bitcoin {
   color: rgb(247, 147, 26);
   font-weight: bold;
}

@media only screen and (min-width: 769px) {

   html {
      background-image: url("ocean-bg.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
   }

   body {
      width: 90%;
      margin-left: auto;
      margin-right: auto;
   }

   nav li {
      width: 25%;
      float: left;
   }

   .card {
      width: calc(33.33% - 14px);
   }

   .experience img {
      width: 40%;
   }

   .experience.reverse {
      flex-direction: row-reverse;
   }

   .gallery-item {
      width: calc(25% - 6px);
   }

   form {
      width: 90%;
   }

   fieldset {
      width: 90%;
      padding: 5px;
      margin-right: 10px;
      margin-bottom: 10px;
   }

   input, select, textarea {
      display: block;
      position: relative;
      left: 30%;
      padding: 5px;
      height: auto;
      width: 60%;
   }

   label {
      display: block;
      position: absolute;
      padding: 5px;
      width: 30%;
      font-family: Verdana, Geneva, sans-serif;
      font-size: 0.9em;
   }

   input[type="radio"] {
      display: inline;
      position: inherit;
      left: 0;
      width: auto;
   }

   label.radio {
      display: inline;
      position: inherit;
   }

   input[type="submit"],
   input[type="reset"] {
      display: block;
      float: left;
      left: 0;
      text-align: center;
      width: 40%;
      padding: 10px;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 10px;
      background-color: rgb(10, 60, 95);
      color: rgb(255, 255, 255);
      border: none;
      cursor: pointer;
      font-size: 1em;
      font-family: Verdana, Geneva, sans-serif;
   }

   input[type="submit"]:hover {
      background-color: rgb(247, 147, 26);
   }

   input[type="reset"]:hover {
      background-color: rgb(100, 100, 100);
   }

}

@media only screen and (max-width: 768px) {

   body {
      width: 100%;
      margin: 0;
   }

   nav li {
      float: none;
      font-size: large;
      width: 100%;
   }

   nav a {
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      font-size: 1em;
   }

   header h1 {
      font-size: 1.6em;
   }

   .card {
      width: 100%;
   }

   .experience img {
      width: 100%;
   }

   .gallery-item {
      width: calc(50% - 4px);
   }

   ul.amenities {
      columns: 1;
   }

   form {
      width: 100%;
      font-size: large;
   }

   fieldset {
      width: 100%;
      padding: 5px;
      margin: 0;
   }

   input, select, textarea {
      position: inherit;
      display: block;
      height: 50px;
      padding: 5px;
      width: 90%;
   }

   label {
      position: inherit;
      display: block;
      height: 50px;
      width: 90%;
   }

   input[type="submit"],
   input[type="reset"] {
      float: none;
      width: 90%;
      margin: 10px;
      font-size: 1.2em;
      padding: 12px;
      background-color: rgb(10, 60, 95);
      color: rgb(255, 255, 255);
      border: none;
      cursor: pointer;
   }

}

@media only screen and (max-width: 480px) {

   .gallery-item {
      width: 100%;
   }

   header h1 {
      font-size: 1.3em;
      letter-spacing: 0;
   }

   .hero h2 {
      font-size: 1.3em;
   }

}
