/********** Template CSS **********/
:root {
    --primary: #C9A84C;
    --primary-light: #E8D5A3;
    --primary-dark: #A8893A;
    --secondary: #2C3E50;
    --light: #F8F9FA;
    --dark: #1A2332;
    --dark-light: #2C3E50;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

body {
    font-family: 'Heebo', sans-serif;
    color: #4A4A4A;
    background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-border {
    border-color: var(--primary) !important;
    border-right-color: transparent !important;
}

/*** Button ***/
.btn {
    font-weight: 600;
    text-transform: uppercase;
    transition: all .5s ease;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

.btn-light {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--dark);
}

.btn-light:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: #FFFFFF;
}

.btn-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        bottom: 5px;
    }
}

.navbar-brand h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: var(--primary);
    color: #FFFFFF;
}

/*** Header / Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.7);
    z-index: 1;
}

.carousel-caption h6 {
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 500;
}

.carousel-caption h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .carousel-caption h1 {
        font-size: 32px;
    }
    
    .carousel-caption h6 {
        font-size: 14px;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.page-header-inner {
    background: rgba(26, 35, 50, 0.8);
    padding: 100px 0;
}

.page-header .display-3 {
    font-size: 52px;
    font-weight: 700;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
    content: "/";
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #FFFFFF;
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 2;
}

.booking .form-control,
.booking .form-select {
    border-radius: 4px;
    border: 2px solid #E8E8E8;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.booking .form-control:focus,
.booking .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}

.section-title.text-white::before,
.section-title.text-white::after {
    background: var(--primary);
}

/*** About Section ***/
.about-section .border {
    border-color: #E8E8E8 !important;
}

.about-section .counter-box {
    transition: all 0.3s ease;
}

.about-section .counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section .counter-box i {
    color: var(--primary);
}

/*** Room Item ***/
.room-item {
    transition: all 0.4s ease;
    background: #FFFFFF;
}

.room-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.room-item .position-relative img {
    transition: all 0.5s ease;
}

.room-item:hover .position-relative img {
    transform: scale(1.05);
}

.room-item .bg-primary {
    background: var(--primary) !important;
}

.room-item .fa-star {
    color: var(--primary);
    font-size: 12px;
}

.room-item .border-end {
    border-color: #E8E8E8 !important;
}

/*** Service Item ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid transparent;
}

.service-item:hover {
    background: var(--primary);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: all 0.5s ease;
}

.service-item .service-icon .border {
    border-color: var(--primary) !important;
}

.service-item i {
    transition: all 0.5s ease;
    color: var(--primary);
}

.service-item h5,
.service-item p {
    transition: all 0.5s ease;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}

.service-item:hover .service-icon .border {
    border-color: #FFFFFF !important;
}

/*** Video Section ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(26, 35, 50, 0.6), rgba(26, 35, 50, 0.6)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    background: transparent;
    cursor: pointer;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .modal-header {
    background: var(--dark);
    border: none;
    padding: 15px 20px;
}

#videoModal .modal-title {
    color: #FFFFFF;
}

#videoModal .btn-close {
    filter: brightness(0) invert(1);
}

/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(26, 35, 50, 0.85), rgba(26, 35, 50, 0.85)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-carousel .testimonial-item p {
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}

.testimonial-carousel .fa-quote-right {
    opacity: 0.15;
}

/*** Team ***/
.team-item {
    transition: all 0.4s ease;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
}

.team-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.team-item img {
    transition: all 0.5s ease;
}

.team-item:hover img {
    transform: scale(1.05);
}

.team-item .position-absolute {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.4s ease;
}

.team-item:hover .position-absolute {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%);
}

.team-item .btn-square {
    background: var(--primary);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.team-item .btn-square:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
    margin-bottom: -80px;
}

.newsletter .border {
    border-color: var(--primary) !important;
}

.newsletter .bg-white {
    background: #FFFFFF !important;
}

.newsletter .form-control {
    border: 2px solid #E8E8E8;
    border-radius: 4px;
    padding: 15px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
    background: var(--dark);
}

.footer .btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .btn-social:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer .btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: normal;
    text-transform: capitalize;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn-link:hover {
    color: var(--primary);
    padding-left: 10px;
    letter-spacing: 0.5px;
}

.footer .bg-primary {
    background: var(--primary) !important;
}

.footer .bg-primary a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
}

.footer .bg-primary a:hover {
    color: #FFFFFF;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-menu a:hover {
    color: var(--primary);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Contact Form ***/
.contact .form-floating label {
    color: #666;
    font-weight: 500;
}

.contact .form-control {
    border: 2px solid #E8E8E8;
    border-radius: 4px;
    padding: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(201, 168, 76, 0.25);
}

.contact iframe {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/*** Responsive Fixes ***/
@media (max-width: 991.98px) {
    .booking {
        margin-top: 0 !important;
        padding-top: 50px;
    }
    
    .footer {
        margin-top: 0;
        padding-top: 80px;
    }
    
    .newsletter {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .testimonial-carousel {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .testimonial-carousel .owl-nav {
        display: none;
    }
    
    .page-header .display-3 {
        font-size: 32px;
    }
    
    .service-item {
        height: auto;
        padding: 25px;
    }
}

/*** Form Styles ***/
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
}

.form-floating > .form-control:focus {
    border-color: var(--primary);
}

.form-floating > label {
    color: #666;
}

/*** Utility Classes ***/
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

/*** Animations ***/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.slideInDown {
    animation-name: slideInDown;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInRight {
    animation-name: slideInRight;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.zoomIn {
    animation-name: zoomIn;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}