/* CMS Hero Section */
.cms-hero {
    min-height: 420px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden
}

.cms-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .72));
    z-index: 1
}

.cms-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cms-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 70px
}

/* CMS Grid & Cards */
.cms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px
}

.cms-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06)
}

.cms-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block
}

.cms-card-body {
    padding: 22px
}

.cms-price {
    font-weight: 700;
    color: var(--main-color, #c4a676)
}

/* CMS Forms */
.cms-form {
    display: grid;
    gap: 16px;
    max-width: 860px
}

.cms-form input,
.cms-form select,
.cms-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 6px
}

/* Alerts */
.cms-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 22px;
    background: #eef8ef;
    color: #1c6b31
}

/* Admin Link */
.admin-link {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 50;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px
}

/* Footer Logo Widget */
.footer-logo-widget {
    display: block;
    margin-bottom: 20px;
}

.footer-logo-widget img {
    max-width: 140px;
    height: auto;
    filter: brightness(1.2);
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

/* Footer Widgets */
.footer-widget {
    margin-bottom: 25px;
}

.footer-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Playfair', serif;
    letter-spacing: 0.5px;
}

.footer-widget-content {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.footer-widget-content p {
    margin-bottom: 12px;
}

/* Footer Lists */
.footer-list ul,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li,
.footer-contact-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-list a:hover {
    color: #c4a676;
    padding-left: 5px;
}

/* Footer Contact List */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list i {
    color: #c4a676;
    margin-top: 3px;
    font-size: 15px;
    min-width: 18px;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #ccc;
    font-size: 12px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-list a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: #c4a676;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input,
.newsletter-form button {
    font-size: 13px;
    border: none;
    border-radius: 4px;
    padding: 12px;
}

.newsletter-form input {
    background: #444;
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background: #c4a676;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #d4b886;
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Newsletter Messages */
.newsletter-message {
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
}

.newsletter-message.success {
    background: #4caf50;
    color: #fff;
}

.newsletter-message.error {
    background: #f44336;
    color: #fff;
}

/* DateRangePicker Override */
.daterangepicker {
    z-index: 9999 !important;
    top: auto !important;
    left: auto !important;
}

.daterangepicker.opensright {
    right: 0;
    left: auto;
}

.daterangepicker.opensleft {
    left: 0;
    right: auto;
}

/* Input styling for daterangepicker */
#res_date {
    width: 100% !important;
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    float: right;
    line-height: 80px;
}

.mobile-menu-toggle i {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4));
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, .65);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 9998;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .35s ease;
    z-index: 9999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .15);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(39, 37, 53, .08);
}

.mobile-nav-drawer-logo img {
    height: 32px;
}

.mobile-nav-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(39, 37, 53, .06);
    color: #272535;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

.mobile-nav-drawer-nav {
    padding: 10px 0 30px;
}

.mobile-nav-drawer-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-drawer-nav > ul > li {
    border-bottom: 1px solid rgba(39, 37, 53, .08);
}

.mobile-nav-drawer-nav > ul > li > a,
.mobile-nav-drawer-item a {
    display: block !important;
    padding: 16px 20px !important;
    color: #272535 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: .5px !important;
    text-decoration: none !important;
    text-align: left !important;
}

.mobile-nav-drawer-nav > ul > li > a:hover,
.mobile-nav-drawer-item a:hover {
    color: #c4a676 !important;
}

.mobile-nav-drawer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-drawer-item a {
    flex: 1;
}

.mobile-nav-drawer-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #272535;
    cursor: pointer;
    font-size: 13px;
    transition: transform .3s ease;
}

.mobile-nav-drawer-toggle i {
    transition: transform .3s ease;
}

.has-children.open > .mobile-nav-drawer-item .mobile-nav-drawer-toggle i,
.has-children.open > .mobile-nav-drawer-item .mobile-nav-drawer-toggle {
    color: #c4a676;
    transform: rotate(180deg);
}

.mobile-nav-drawer-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #f7f6f4;
}

.has-children.open > .mobile-nav-drawer-submenu {
    max-height: 600px;
}

.mobile-nav-drawer-submenu li a {
    display: block !important;
    padding: 12px 20px 12px 34px !important;
    color: #6c757d !important;
    font-size: 13px !important;
    text-decoration: none !important;
    text-align: left !important;
}

.mobile-nav-drawer-submenu li a:hover {
    color: #c4a676 !important;
}

body.mobile-drawer-open {
    overflow: hidden;
}

@media only screen and (max-width: 1068px) {
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .nav-holder.main-menu {
        display: none;
    }
}
