html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-size: revert;
}

body, p, a, li, input, button, label, span {
    font-family: 'Antic', sans-serif;
}

.w-80 {
  width: 80%;
}

.card.card-apartment {
  border: none;
}

.card.card-apartment .card-image--container {
  height: 300px;
  position: relative;
}

.card.card-apartment .card-image--container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card.card-apartment .card-image--container .overlay-text {
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  top: 71%;
  background-color: #fff;
  opacity: 0.99;
  transition: 0.3s all ease-in-out;
  border-radius: 16px 16px 0px 0px;
}

.card.card-apartment .card-image--container .overlay-text .overlay-title,
.card.card-apartment .card-image--container .overlay-text .overlay-title a {
  opacity: 0;
  color: #000 !important;
  font-weight: 500;
}

.card.card-apartment .card-image--container:hover .overlay-text {
  height: 30%;
}

.card.card-apartment .card-image--container:hover .overlay-text .overlay-title,
.card.card-apartment .card-image--container:hover .overlay-text .overlay-title a {
  opacity: 1;
}

.card.card-apartment .card-image--container:hover .overlay-text .overlay-title:hover,
.card.card-apartment .card-image--container:hover .overlay-text .overlay-title a:hover {
  color: #a77f2c !important;
}

.owl-nav {
  display: flex;
  margin-top: 10px;
  justify-content: space-around;
}

.owl-nav .owl-next .icon-arrow_forward,
.owl-nav .owl-prev .icon-arrow_back {
  font-size: 1.5rem;
}

.owl-nav.disabled {
  display: flex !important;
}

.index-restoran {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {
  .index-restoran {
    background-attachment: unset;
  }
}

/* ── Apartments page – editorial style ── */
.apt-list {
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.apt-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 5rem;
    align-items: center;
    border-bottom: none;
    box-shadow: 0 40px 40px -20px rgba(0, 0, 0, 0.08);
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.apt-item.apt-visible {
    opacity: 1;
    transform: translateY(0);
}

.apt-item.apt-no-animation {
    opacity: 1;
    transform: none;
    transition: none;
}

.apt-padding { 
    padding: 5rem !important;
}

.apt-item-index {
    align-items: normal !important;
}
.atp-title-index { 
    font-size: 2.5rem;
    color: #1a1a1a !important;
    padding-left: 5rem;
}

.apt-content-index {
    padding: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .apt-item {
        opacity: 1;
        transform: none;
    }
}

.apt-item:last-child {
    box-shadow: none;
    margin-bottom: 0;
}

.apt-item.apt-reverse {
    direction: rtl;
}

.apt-item.apt-reverse > * {
    direction: ltr;
}

.apt-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.apt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
    will-change: transform;
}

.apt-a {
    color: rgba(0, 0, 0, 0.5);
}

.apt-a:hover {
    color: rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 768px) {
    .apt-img-wrap img {
        height: 100%;
        transform: none !important;
        transition: none;
        padding-bottom: 1rem;
    }

    .apt-padding { 
        padding: 2rem !important;
    }
    
    .atp-title-index { 
        font-size: 2.5rem;
        color: #1a1a1a !important;
        padding: 0;
        text-align: center;
    }
}

.apt-img-wrap:hover img {
    transform: scale(1.04);
}

.apt-content {
    padding: 2.5rem 3rem;
}

.apt-counter {
    font-family: 'Antic', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #aaa;
    margin-bottom: 1.25rem;
}

.apt-content h2 {
    font-family: 'Cinzel', serif;
    color: #A77F2C;
    line-height: 1;
    margin: 0 0 1rem;
}

.apt-description {
    font-family: 'Antic', sans-serif;
    font-size: 14px;
    line-height: 1.9;
    color: #777;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.apt-guests {
    font-family: 'Antic', sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1.75rem;
}

.apt-book-btn {
    font-family: 'Antic', sans-serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #A77F2C;
    background: none;
    border: none;
    padding: 0 0 3px;
    cursor: pointer;
    position: relative;
}

.apt-book-btn.no-letter-spacing {
    letter-spacing: 0;
}

form.apt-book-form{
  width: 100% !important;
  margin: 0!important;
}

@media (max-width: 768px) {
    .apt-item,
    .apt-item.apt-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .apt-content {
        padding: 1.5rem 0.25rem;
    }

    .apt-list {
        padding: 0 1.25rem 3rem;
    }
}

/* ── Global form inputs – modern underline style ── */

input,
textarea,
select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 0.75rem 0;
    font-family: 'Antic', sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
    box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom-color: #A77F2C;
    box-shadow: none;
    outline: none;
    background: transparent;
}

input::placeholder,
textarea::placeholder {
    color: #bbb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}

.form-control,
.form-control:focus {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.form-control:focus {
    border-bottom-color: #A77F2C;
}

.form-control::placeholder {
    color: #bbb;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}

.input-wrap {
    position: relative;
    margin-bottom: 2rem;
}

.input-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #A77F2C;
    transition: width 0.35s ease;
}

.input-wrap:focus-within::after {
    width: 100%;
}


/* ── Global buttons ── */

/* ── btn-minimal ── */

.btn-minimal {
    font-family: 'Antic', sans-serif;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: none;
    border: 1px solid #ccc;
    padding: 0.85rem 2.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    border-radius: 0;
    display: inline-block;
    text-decoration: none;
}

.btn-minimal::before,
.btn-minimal::after {
    content: '';
    position: absolute;
    background: #A77F2C;
    transition: transform 0.4s ease;
}

.btn-minimal::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-minimal::after {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
}

.btn-minimal .btn-left,
.btn-minimal .btn-right {
    position: absolute;
    background: #A77F2C;
    transition: transform 0.4s ease;
}

.btn-minimal .btn-left {
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
}

.btn-minimal .btn-right {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
}

.btn-minimal:hover {
    color: #A77F2C;
    border-color: transparent;
}

.btn-minimal:hover::before,
.btn-minimal:hover::after {
    transform: scaleX(1);
}

.btn-minimal:hover .btn-left,
.btn-minimal:hover .btn-right {
    transform: scaleY(1);
}

.new-book-button {
    color: #fff;
    background: transparent;
    border: none;
    font-size: 30px;
}

.new-book-button:hover {
    color: #A77F2C;
}

.site-navbar-wrap.scrolled .site-navbar .new-book-button {
  color: #A77F2C!important;
}

.site-navbar-wrap.scrolled .site-navbar .new-book-button:hover {
  color: rgba(0, 0, 0, 0.6)!important;
}

/* ── Mobile navigation only changes ── */

@media (max-width: 991px) {
    .site-navbar-wrap .site-navbar .py-1 > .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .mobile-nav-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .mobile-nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-nav-right {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .mobile-nav-center img {
        height: 34px !important;
    }

    .site-navbar-wrap.scrolled .site-navbar .new-book-button {
  color: #A77F2C!important;
}
}

/* ── Global overrides for fixed elements and carousel ── */

.row.align-items-center {
    margin-left: 0;
    margin-right: 0;
}

.owl-carousel {
    overflow: hidden;
}

.owl-stage-outer {
    overflow: hidden;
}

.input-wrap::after {
    pointer-events: none;
}

/* Spacing fixes for mobile  and index page in general */

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }

body, p, a, li, input, button, label, span {
    font-size: 1rem;
    line-height: 1.8;
}

.index-about > * {
    font-size: 1.15rem;
    line-height: 1.9;
}

.section-heading h2 {
    font-size: 1.6rem;
}