/*
Theme Name: HotelUX
Theme URI: http://dreamlayout.mnsithub.com/html/hotelux/
Author: Antigravity
Description: A fully dynamic conversion of the HotelUX HTML theme using Secure Custom Fields (SCF).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hotelux
*/

/*
This stylesheet enqueues the original HotelUX assets. 
Any theme overrides or custom CSS can be placed below.
*/

/* --- CSS Variables Override --- */
:root {
  --hotelux-base: #FCB027 !important;
  --hotelux-base-rgb: 252, 176, 39 !important;
  --hotelux-black: #000000 !important;
  --hotelux-black-rgb: 0, 0, 0 !important;
  --hotelux-white: #ffffff !important;
  --hotelux-white-rgb: 255, 255, 255 !important;
}

/* Button Hover Color Update (uses warm orange) */
.thm-btn::before,
.thm-btn::after {
  background-color: #EF620D !important;
}

/* Logo Size & Header Compact Overrides */
.main-menu__logo img {
  max-height: 85px !important;
  width: auto !important;
}

.main-menu__logo {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Footer Logo Size Override */
.footer-widget__logo img {
  max-height: 70px !important;
  width: auto !important;
}

/* --- Checkout and Booking Modules Styles --- */

.form-control-custom {
    display: block;
    width: 100%;
    height: 50px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #333333;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #dddddd;
    border-radius: 5px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-custom:focus {
    color: #000000;
    background-color: #ffffff;
    border-color: #FCB027;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(252, 176, 39, 0.25);
}

/* Custom dropdown and select menu styling */
select.form-control-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px 12px;
}

/* Sticky Booking Summary Styles */
.booking-summary-container {
    background-color: #000000 !important;
    border-top: 5px solid #EF620D !important;
}

.summary-room-selector select.form-control-custom {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.summary-room-selector select.form-control-custom:focus {
    border-color: #FCB027 !important;
    box-shadow: 0 0 0 0.2rem rgba(252, 176, 39, 0.35) !important;
}

/* Accent Buttons */
#payBtn {
    background-color: #FCB027 !important;
    color: #000000 !important;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

#payBtn:hover {
    background-color: #EF620D !important;
    color: #ffffff !important;
}

/* Success Card & Confirmation Elements */
.success-card {
    border-top: 6px solid #FCB027 !important;
}

.check-icon-circle {
    background-color: rgba(252, 176, 39, 0.1) !important;
    color: #FCB027 !important;
    border: 2px solid #FCB027 !important;
}

.booking-receipt {
    border-left: 5px solid #EF620D !important;
    background-color: #000000 !important;
}

.booking-receipt strong {
    color: #ffffff !important;
}

/* Error Card / Cancel Card */
.error-card, .cancel-card {
    border-top: 6px solid #EF620D !important;
}

.error-icon-circle, .cancel-icon-circle {
    background-color: rgba(239, 98, 13, 0.1) !important;
    color: #EF620D !important;
    border: 2px solid #EF620D !important;
}

/* Breadcrumb Overrides to match primary layout color */
.thm-breadcrumb li a:hover, 
.thm-breadcrumb li:last-child {
    color: #FCB027 !important;
}

/* Custom styled inputs focus borders */
textarea.form-control-custom {
    min-height: 120px;
    resize: vertical;
}

/* General Layout spacing */
.checkout-form-container {
    border-left: 5px solid #FCB027 !important;
}

/* --- Image Aspect Ratio and Object-Fit Constraints (1:1 with Original HTML Design) --- */

/* About Section Main Image (Original size: 470x525) */
.about-one__img {
  max-width: 470px !important;
  width: 100% !important;
  aspect-ratio: 470 / 525 !important;
  overflow: hidden !important;
}
.about-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* About Tab Thumbnails (Original size: 190x200) */
.about-one__main-tab-box .tab-buttons .tab-btn .about-one__main-tab-img {
  max-width: 190px !important;
  width: 100% !important;
  aspect-ratio: 190 / 200 !important;
  overflow: hidden !important;
}
.about-one__main-tab-box .tab-buttons .tab-btn .about-one__main-tab-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Services Section Images (Original size: 300x200) */
.services-one__img {
  width: 100% !important;
  aspect-ratio: 300 / 200 !important;
  overflow: hidden !important;
}
.services-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Rooms Section Images (Original size: 370x250) */
.our-rooms__img {
  width: 100% !important;
  aspect-ratio: 370 / 250 !important;
  overflow: hidden !important;
}
.our-rooms__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Blog Section Images (Original size: 410x310) */
.blog-one__img {
  width: 100% !important;
  aspect-ratio: 410 / 310 !important;
  overflow: hidden !important;
}
.blog-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Gallery Section Images (Original size: 320x390) */
.gallery-one__img {
  width: 100% !important;
  aspect-ratio: 320 / 390 !important;
  overflow: hidden !important;
}
.gallery-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Team Section Images (Original size: 300x320) */
.team-one__img {
  width: 100% !important;
  aspect-ratio: 300 / 320 !important;
  overflow: hidden !important;
}
.team-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Testimonial Section Images (Original size: 100x100) */
.testimonial-one__img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
.testimonial-one__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* --- Banner header titles color fix --- */
.page-header__inner h2 {
  color: var(--hotelux-white) !important;
}

/* --- Sidebar/Mobile popup logo constraints --- */
.xs-sidebar-group .content-inner .logo img,
.logo-box img {
  max-height: 55px !important;
  width: auto !important;
}

/* --- Header Logo Shape Removal & Scaling (+10px) --- */
.main-menu__left::before,
.main-menu__left::after,
.main-menu__logo::before {
  display: none !important;
}
.main-menu__logo {
  padding: 10px 0 !important;
  padding-right: 0 !important;
}
.main-menu__logo img {
  max-height: 80px !important; /* Made 10px+ larger, clean background */
  width: auto !important;
}

/* --- Map WordPress Menu Active Items to Theme highlight color --- */
.main-menu .main-menu__list > li.current-menu-item > a,
.main-menu .main-menu__list > li.current_page_item > a,
.main-menu .main-menu__list > li.current-menu-ancestor > a,
.stricky-header .main-menu__list > li.current-menu-item > a,
.stricky-header .main-menu__list > li.current_page_item > a,
.stricky-header .main-menu__list > li.current-menu-ancestor > a {
  color: var(--hotelux-base) !important;
}
.main-menu .main-menu__list > li.current-menu-item > a::before,
.main-menu .main-menu__list > li.current_page_item > a::before,
.main-menu .main-menu__list > li.current-menu-ancestor > a::before,
.stricky-header .main-menu__list > li.current-menu-item > a::before,
.stricky-header .main-menu__list > li.current_page_item > a::before,
.stricky-header .main-menu__list > li.current-menu-ancestor > a::before {
  opacity: 1 !important;
  transform: scale(1) !important;
}
.main-menu .main-menu__list > li.current-menu-item > a::after,
.main-menu .main-menu__list > li.current_page_item > a::after,
.main-menu .main-menu__list > li.current-menu-ancestor > a::after,
.stricky-header .main-menu__list > li.current-menu-item > a::after,
.stricky-header .main-menu__list > li.current_page_item > a::after,
.stricky-header .main-menu__list > li.current-menu-ancestor > a::after {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* --- Footer Contact Widget Icon Top Alignment --- */
.footer-widget__contact li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 13px !important;
}
.footer-widget__contact li .icon {
  margin-top: 3px !important;
}


