@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Kedebideri:wght@400;500;600;700;800;900&display=swap');

/* base start */
body {
  margin: 0;
  background-color: #90ABED;
  font-family: "Kedebideri", serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
.site-title,
.navbar a,
.footer-text {
  font-family: "Instrument Sans", sans-serif;
}

p,
li,
td,
th {
  font-family: "Kedebideri", serif;
}

img {
  max-width: 100%;
  height: auto;
}
/* base end */

/* nav start */
.navbar {
  position: relative;
  background-color: #3A506B;
  padding: 8px 16px;
  min-height: 86px;
}

.navbar > ul {
  display: flex;
  gap: 24px;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: center;
  align-items: center;
  min-height: 70px;

}

.navbar > ul > li {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.navbar a {
  color: white;
  text-decoration: none;
  text-transform: capitalize;
}

.navbar a.active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.navbar a:hover {
  color: rgb(182, 125, 3);
}

/* nav end */

/* brand start */
.logo {
  width: 70px;
  height: auto;
  display: block;
}

.brand {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  color: white;
  margin: 0;
  font-size: 24px;
}

/* brand end */

/* main start */
.main {
  background-color: #B78856;
  border-radius: 30px;
  color: white;
  padding: 32px;
  max-width: 1700px;
  margin: 30px auto;
}

.section {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: #2F3E56;
  border-radius: 30px;
  color: white;
  padding: 32px;
  max-width: 1700px;
  margin: 30px auto;
}

/* main end */

/* 2nd card start */
.body {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: #ffffff;
  border-radius: 30px;
  color: rgb(0, 0, 0);
  padding: 32px;
  max-width: 1700px;
  margin: 30px auto;
}

.info {
  display: flex;
  align-items: stretch;
  background-color: white;
}

.info-left {
  width: 320px;
  padding: 20px;
}

.divider {
  width: 40px;
  background-color: #90ABED;
}

.info-right {
  flex: 1;
  padding: 20px;
}

/* 2nd card end */

/* room page start */
.room-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1700px;
  margin: 20px auto 30px;
}

.room-image {
  justify-self: start;
}

.bath-image {
  justify-self: end;
  margin-top: 0;
}
/* room page end */

/* room cards start */
.room-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: #5E82DD;
  border-radius: 30px;
  color: white;
  padding: 32px;
  max-width: 1700px;
  margin: 30px auto;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: #5E82DD;
  border-radius: 30px;
  color: white;
  padding: 32px;
  max-width: 1700px;
  margin: 30px auto;
}

.text-left,
.text-right {
  text-align: left;
}
/* room cards end */

/* directions start */
.section-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2F3E56;
  color: white;
  padding: 32px;
  max-width: 2000px;
  margin: 30px auto;
  text-align: center;
}

.map-embed {
  width: 100%;
  max-width: 1000px;
  margin-top: 24px;
}

.map-embed iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 24px;
}
/* directions end */

/* contact start */
.contact-layout {
  max-width: 1280px;
  margin: 30px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.contact-panel {
  display: block;
  width: 100%;
  background-color: #4f74c9;
  border-radius: 30px;
  min-height: 520px;
  box-sizing: border-box;
}
/* contact end */

/* about start */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  max-width: 1700px;
  margin: 30px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.about-panel {
  background-color: #4f74c9;
  color: white;
  border-radius: 30px;
  padding: 32px;
  box-sizing: border-box;
}

.about-panel h1,
.about-panel h2 {
  margin: 0 0 18px;
}

.about-panel p {
  margin: 0 0 18px;
  white-space: normal;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.about-panel--intro {
  grid-column: 1;
  grid-row: 1;
}

.about-panel--reviews {
  grid-column: 2;
  grid-row: 1;
  background-color: #3f6f9c;
  text-align: center;
}

.about-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.about-panel--story {
  grid-column: 2;
  grid-row: 2;
}

.about-panel--explore {
  grid-column: 1;
  grid-row: 2;
}

.about-panel--story img,
.about-panel--explore img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 20px;
  display: block;
}

.about-panel--story {
  min-height: 420px;
}

.about-panel--explore {
  padding: 18px;
  min-height: 260px;
  overflow: hidden;
}
/* about end */

/* footer start */
footer {
  background-color: #3A5F84;
  color: white;
  padding: 10px 18px;
  width: 100%;
  box-sizing: border-box;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-block {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer-block--left,
.footer-block--right {
  flex: 1;
}

.footer-block--left {
  justify-content: flex-start;
}

.footer-block--center {
  justify-content: center;
  flex: 1.5;
}

.footer-block--right {
  justify-content: flex-end;
}

.footer-text {
  margin: 0;
  color: white;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-shell {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}
/* footer end */

/* table start */
table {
  width: 85%;
  height: 200%;
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  border: 1px solid #000;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: #333;
  color: white;
  text-align: center;
}

th:nth-child(1),
td:nth-child(1) {
  width: 27%;
}

th:nth-child(2),
td:nth-child(2) {
  width: 61%;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:nth-child(odd) {
  background-color: #48494d66;
}

tr:hover {
  background-color: #978606;
}

tr:hover td,
tr:hover th {
  color: white;
}

tr:hover a {
  color: #ffffff;
}

/* table end */

/* specials table */
.table-sepcials {
  width: 85%;
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
}

/* responsive */
@media (max-width: 1100px) {
  .brand {
    position: static;
    transform: none;
    justify-content: center;
    margin-bottom: 12px;
  }

  .navbar > ul {
    flex-wrap: wrap;
    width: 100%;
  }

  .section,
  .room-card,
  .feature-card,
  .room-images,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .room-images {
    margin: 20px auto;
  }

  .about-layout,
  .about-panel--explore,
  .about-quotes {
    grid-template-columns: 1fr;
  }

  .about-panel--intro,
  .about-panel--reviews,
  .about-panel--story,
  .about-panel--explore {
    grid-column: auto;
    grid-row: auto;
  }

  .bath-image {
    justify-self: start;
    margin-top: 0;
  }

  .footer-block,
  .footer-block--left,
  .footer-block--center,
  .footer-block--right {
    justify-content: center;
    text-align: center;
  }
  
}

/* dropdown start */
.main-nav {
  display: flex;
  justify-content: space-around;
  list-style: none;
}

.main-nav a:hover {
  color: rgb(189, 124, 4);
}

.drop-list {
  position: relative;
}

.drop-list:hover .sub-nav {
  display: block;
}

.sub-nav {
  transition: opacity 0.35s ease;
  display: none;
  padding: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  background: #0a089789;
  list-style: none;
  min-width: 180px;

}

.sub-nav > li {
  padding: .25rem;
}
/* dropdown end */
