/*
Theme Name: Chrisnadhi
Theme URI: https://chrisnadhi.com/
Author: Ade Chrisnadhi
Author URI: https://chrisnadhi.com/
Description: WP Theme for Ade Chrisnadhi
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chrisnadhi

*/
:root {
  --bs-body-font-family: 'Inter', sans-serif;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, html a {
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 32px;
    padding-top: 40px;
}

h1, h2, h3 {
    font-family: "Noto Serif", serif;
    font-weight: 700;
}
h4, h5 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}
.garis {
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
    background: #eee;
}
a:focus, a:active {
    outline: none;
}
a.row {
    color: inherit;
    text-decoration: none;
}
.outline-btn, .blue-btn {
    text-decoration: none;
    padding: 12px 32px;
    font-weight: 500;
    border: 2px solid #0756b1;
    border-radius: 8px;
    color: #0756b1;
    cursor: pointer;
}
.blue-btn {
    background: #0756b1;
    color: #fff;
}
.blue-btn:hover {
    color: #fff;
}

/*NAVIGATION NAVBAR*/
a.navbar-brand.position-fixed {
    z-index: 9999;
    top: 20px;
    left: 40px;
}
.navbar {
    transition: all 0.5s ease;
    border-bottom: 1px solid #d0d6df;
    position: fixed;
    width: 100%;
    background: #fff;
    top: 0;
    z-index: 999;
    padding: 0;
}
a.navbar-brand {
    margin: 0;
    padding: 0;
    display: block;
    height: 64px;
    position: relative;
    float: left;
}
.navbar-brand img {
    width: auto;
    height: 64px;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-top: -1px;
}
.navbar-brand span {
    line-height: 64px;
    font-weight: 600;
    margin-left: 8px;
}
.navbar-nav li {
    margin: 0 24px;
}
.navbar .navbar-nav a.nav-link {
    font-family: 'Inter', sans-serif;
    color: #151517;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
    padding: 16px 0;
    line-height: 24px;
    border-bottom: 6px solid transparent;
    transform: translateY(1px);
}
.navbar .navbar-nav:hover li a {
    opacity: 0.5;
}
.navbar .navbar-nav a.nav-link:hover {
    color: #0756b1;
    border-color: #ffd149;
    opacity: 1;
}
.headroom--pinned {
    transform: translateY(0%);
}
.headroom--unpinned {
    transform: translateY(-100%);
}
.kontak a.btn {
    background: #00B2FF;
    color: #fff;
    border-radius: 0;
    padding: 8px 24px;
    border: none;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 500;
}
button.navbar-toggler {
    border: none;
    border-radius: 0;
    padding: 10px 0 10px 10px;
    width: 35px;
    height: 36px;
    box-sizing: content-box;
}
span.navbar-toggler-icon {
    background-image: url(./img/hamburger-menu.svg);
    height: 35px;
    background-size: cover;
    width: 36px;
}
span.navbar-toggler-icon.open {
    background-image: url(./img/close-menu.svg);
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler .icon-bar {
    background: #141B1F;
    width: 32px;
    height: 4px;
    display: block;
    float: right;
    transition: all 0.2s;
    border-radius: 2px;
}
.navbar-toggler .icon-bar+.icon-bar {
    margin-top: 6px;
}
.navbar-toggler.collapsed .icon-bar:nth-of-type(3) {
    width: 16px;
}
.navbar-toggler .icon-bar:nth-of-type(1) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    width: 24px;
}
.navbar-toggler .icon-bar:nth-of-type(2) {
    opacity: 0;
    filter: alpha(opacity=0);
}
.navbar-toggler .icon-bar:nth-of-type(3) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 100% 0%;
    -ms-transform-origin: 100% 0%;
    transform-origin: 100% 0%;
    width: 26px;
}
.navbar-toggler.collapsed .icon-bar:nth-of-type(1) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  border-radius: 1px;
  width: 32px;
}
.navbar-toggler.collapsed .icon-bar:nth-of-type(2) {
  opacity: 1;
  filter: alpha(opacity=100);
  border-radius: 1px;
  width: 32px;
}
.navbar-toggler.collapsed .icon-bar:nth-of-type(3) {
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  border-radius: 1px;
}

/*HOMEPAGE*/
.unit .m-thumb {
    background-size: cover;
    background-position: center center;
    height: 360px;
    border-radius: 16px;
}
.hero-heading h2 {
    font-size: 48px;
}
.hero-heading h3 {
    font-size: 32px;
    margin: 0;
}
.yellow {
    position: relative;
}
.yellow:before {
    position: absolute;
    background: #ffd149;
    content: "";
    width: 100%;
    height: 30%;
    z-index: -1;
    bottom: 10%;
    transform: rotate(-1deg);
}
.unit span {
    border: 2px solid #151517;
    padding: 6px 24px;
    border-radius: 5px;
    font-weight: 500;
}
.unit:hover span {
    background: #151517;
    color: #fff;
}
#units .container div.row:last-of-type {
    display: none;
}
.unit ul {
    padding-left: 1.5rem;
    line-height: 1.5;
}

/*SINGLE UNIT*/
section.gallery {
    background: #151517;
}
.single .unit-content ul {
    padding-left: 1.2rem;
}
.single .unit-content ul li {
    margin-bottom: 8px;
}


/*REVIEW*/
section#reviews {
    border-top: 1px solid #d0d6df;
}
a.review {
    padding: 16px 16px 0;
    background: #ecf1f9;
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
    height: auto;
    position: relative;
}
.review-header {
    width: 100%;
}
.avatar_review {
    height: 56px;
    width: 56px;
    background: black;
    border-radius: 50%;
    float: left;
    margin: 0 8px 0 0;
    background-size: cover;
    background-position: center center;
}
.review h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 0 0;
}
img.star_review {
    height: 22px;
}
img.logo_review {
    height: 40px;
    display: block;
    margin: 24px 0 8px;
}
span.booking_review {
    background: #084298;
    font-size: 13px;
    color: #fff;
    padding: 4px;
    border-radius: 4px 4px 4px 0;
    font-weight: 500;
    border: 1px solid #084298;
}
span.agoda_review {
    background: #fff;
    font-size: 13px;
    color: #0db14b;
    padding: 4px;
    border-radius: 4px 4px 4px 0;
    font-weight: 600;
    border: 1px solid #fdb812;
}
p:empty {
    display: none;
}

/*DETAIL*/
.detail h2 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 24px;
}
.detail h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
}
.detail ul {
    padding-left: 0;
}

/*PAGE*/
.featured-image {
    width: 100%;
    height: 70vh;
    max-height: 800px;
    background-size: cover;
    background-position: center center;
    display: block;
}

/*FOOTER*/
.section.footer {
    padding: 80px 0;
    border-top: 1px solid #d0d6df;
}
.wasaplink a {
    cursor: pointer;
}
.footer .menu-item {
    width: 100%;
}
.footer a.nav-link {
    padding: 6px 0;
    font-size: 16px;
    color: inherit;
    position: relative;
}
.footer a.nav-link:hover {
    font-weight: 500;
}
.footer a.nav-link:hover:before {
    content: "";
    background: #ffc107;
    position: absolute;
    width: 75%;
    height: 20%;
    bottom: 30%;
    z-index: -1;
}
.modal-body a img {
    height: 64px;
}
.footer-logo img {
    width: 40px;
    height: auto;
}
.footer-logo p {
    font-size: 14px;
}

/*COPYRIGHT*/
.copyright {
    padding: 24px 0;
    color: #d0d6df;
    font-size: 16px;
    border-top: 1px solid #d0d6df;
}

/*TABLE*/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95em;
}
th,
td {
  border: 1px solid #000; /* Darker border for table structure */
  padding: 10px 8px;
  text-align: center;
}
th {
  background-color: #f0f0f0;
  font-weight: bold;
}
.header-row th {
  font-weight: bold;
}
td:first-child {
  font-weight: bold;
  position: relative;
}
td.high-season:before {
  content: "";
  background: #ffcc00;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
}
td.peak-season:before {
  content: "";
  background: #ff8800;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
}

/*MOBILE MENU*/
div#mobile-menu {
    background: #fff;
    padding: 80px 24px 24px;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 9;
    top: 0;
    transition: all 0.2s ease;
    top: -120%;
    display: none;
}
div#mobile-menu.open {
    top: 0;
}


/*MOBILE*/
@media (max-width: 768px) {
    div#mobile-menu {
        display: block;
    }
    .navbar {
      height: 64px;
    }
    .navbar-brand {
      left: 0;
      top: 0;
    }
    .navbar-brand span {
        font-size: 16px;
    }
    .nav-container {
      background: #fff;
      height: 100vh;
      padding-top: 40px;
    }
    .headroom--unpinned {
      transform: translateY(-120%);
    }
    .navbar-nav li {
        margin: 0;
    }
    .navbar-nav a.nav-link {
        font-weight: 600;
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }
    .hero-heading h2 {
        font-size: 40px;
    }
    .detail ul {
        padding-left: 20px;
    }
    table {
      font-size: 0.6em !important;
      line-height: 1.5;
    }
    .featured-image {
        height: 50vh;
    }
    .gmap {
        height: 360px !important;
    }
    .section.footer {
        padding: 80px 16px;
    }
    .footer-logo img {
        margin: auto;
    }
}