/* 
  Theme Name: Rose Hotel
  Author: Kate
  Version: 1.0
*/

a {
  text-decoration: none;
}


/* Fonts */
.karla-regular {
  font-family: "Karla", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.karla-bold {
  font-family: "Karla", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.oxygen-regular {
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.oxygen-bold {
  font-family: "Oxygen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.text-xs {
  font-size: 12px;
  line-height: 16px;
}

.text-sm {
  font-size: 14px;
  line-height: 20px;
}

.text-md {
  font-size: 16px;
  line-height: 24px;
}

.text-lg {
  font-size: 21px;
  line-height: 28px;
}

.text-xl {
  font-size: 28px;
  line-height: 36px;
}

.text-2xl {
  font-size: 38px;
  line-height: 44px;
}

.text-3xl {
  font-size: 51px;
  line-height: 56px;
}

.text-center {
  text-align: center;
}


/* Colours */

.text-black {
  color:#000000;
}

.text-rose {
  color:#DE135C;
}

.text-rose-dark {
  color:#562134;
}

.text-white {
  color:#ffffff;
}

.bg-white {
  background-color: #ffffff;
}

.bg-alt {
  background-color: #f2f2f3;
}

.bg-rose-dark {
  background-color: #562134;
}

.bg-transparent {
  background-color: transparent;
}



/* Navigation */

 .navmenu {
  visibility: hidden;
  position: absolute;
  background-color: rgba(86, 33, 52, 0.75);
  left: 0;
  right: 0;
  top: -20px;
  padding-top: 58px;
  opacity: 0;
  transform: translateY(-20%);
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
  padding-bottom: 20px;
  z-index: 20;
  box-sizing: border-box;
}

.navmenu--active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: white;
  display: block;
}

nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 24px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-family: "Karla", Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 20px;
}

nav ul li:last-child {
  margin-right: 0;
}

.header-styles {
  padding: 0 20px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .header-styles {
    padding: 0 48px;
  }
}

header nav ul li a {
  font-size: 16px;
  color:white;
}

footer nav ul {
  padding: 0;
  margin: 0;
}

footer nav ul li a {
  font-size: 14px;
  line-height: 20px;
}

.footer {
  display: flex;
  width: 100%;
  justify-content: center;
}


/* Buttons */

.btn-primary {
  background-color: #DE135C;
  padding: 12px 24px;
  font-family: "Karla", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: white;
  border-radius: 10px;
}

.btn-primary:hover {
  background-color: #562134;
}

.btn-primary:focus {
  background-color: #562134;
  outline: solid;
  outline-color: #4cc27b;
  outline-width: 2px;
  outline-offset: 4px;

}

.btn-primary:disabled,
.btn.disabled {
  background-color: #f2f2f3;
  color: #000000;
}

.btn-secondary {
  background-color: white;
  padding: 12px 24px;
  font-family: "Karla", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  color: black;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  color:#DE135C;
  border: 1px solid #DE135C;
}

.btn-secondary:focus {
  color:#DE135C;
  border: 1px solid #DE135C;
  outline: solid;
  outline-color: #4cc27b;
  outline-width: 2px;
  outline-offset: 4px;
}

.btn-secondary:disabled,
.btn.disabled {
  color: #f2f2f3;
  border: 1px solid #f2f2f3;
}


/* Layout */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: end;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-center {
  justify-content: center;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}
.w-50 {
  width: 50%;
}

.container {
  box-sizing: border-box;
  margin: 0 120px;
}

.margin-none {
  margin: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* BLOCKS */

/* hero block*/

.hero-contents {
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 75px;
  width: 50%;
}

.hero-div {
  margin-top: -80px;
  position: relative;
  z-index: 1
}

.hero-img {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

.hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
}

.hero-img > * {
  position: relative;
  z-index: 3; 
}

/* feature block*/

.feature-width {
  width: 25%;
}

.feature-title-size {
  font-size: 18px;
  line-height: 26px;
}


/* showcase block */

.showcase-div {
  padding: 96px 0; 
  gap: 15%;
}

.showcase-img {
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
}

.showcase-img-half {
  width: 45%;
}

.showcase-text-half {
  width: 40%;
}


/* Media Queries */

@media (max-width: 595px) {

  .hero-contents {
    width: 75%;
  }

}

@media (max-width: 767px) {
  .container {
    margin: 0 20px;
  }

  .feature-width {
    width: 50%;
  }

  .showcase-div {
    padding: 75px 30px;
  }

  .text-xs {
    font-size: 10px;
    line-height: 14px;
  }

  .text-sm {
    font-size: 12px;
    line-height: 17.5px;
  }

  .text-md {
    font-size: 14px;
    line-height: 23px;
  }

  .text-lg {
    font-size: 18px;
    line-height: 24.5px;
  }

  .text-xl {
    font-size: 22px;
    line-height: 38px;
  }

  .text-2xl {
    font-size: 27px;
    line-height: 35px;
  }

  .text-3xl {
    font-size: 34px;
    line-height: 42px;
  }

  nav {
    margin-right: 0 !important;
  }

  nav ul li a {
    font-size: 14px;
    line-height: 23px;
  }

  header nav ul li a {
    font-size: 14px;
    line-height: 23px;
  }

  footer nav ul li a {
    font-size: 12px;
    line-height: 17.5px;
  }

  .btn-primary {
    font-size: 14px;
    line-height: 23px;
  }

  .btn-secondary {
    font-size: 14px;
    line-height: 23px;
  }

  .navmenu {
    flex-direction: column;
    align-items: flex-end;
    padding-top: 0;
    top: 70px;
  }

  .navmenu nav {
    width: 100%;
  }

  .navmenu .menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
    padding-right: 20px;
  }

  .navmenu .menu li {
    width: 100%;
  }

  .navmenu .menu li a {
    display: block;
    width: 100%;
    text-align: right;
    padding: 8px 0;
    font-size: 22px;
  }

  .navmenu > div {
    width: 100%;
    text-align: right;
    margin-top: 12px;
  }

  .menu-btn-div {
    padding-right: 20px;
    margin-bottom: 20px;
  }

  .menu-btn {
    font-size: 22px;
  }
}

@media (min-width: 768px) {
  .navmenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    position: static;
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 0;
    top: 0;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 1200px) {

  .feature-width {
    width: 50%;
  }

  .showcase-img-half {
    width: 100%;
    margin-bottom: 56px;
  }

  .showcase-text-half {
    width: 100%;
  }

}

@media (min-width: 1296px) {

  .hero-contents {
    width: 35%;
  }

}

@media (min-width: 1844px) {

  .hero-contents {
    width: 30%;
  }

}