/*
Theme Name: Divi Child
Template: Divi
Version: 1.0.0
*/

/* Header menu hover behavior */
#top-menu-nav #top-menu a:hover {
    opacity: 1;
    color: #dea349;
}

/* Homepage three-column image tiles */
.hana-home-tile img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
/* Hana Inn homepage navigation cards */
.hana-home-card {
    background: #fff9ed;
    border: 1px solid #d8b58f;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(86, 62, 58, 0.10);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    cursor: pointer;
}

/* Gentle lift on hover */
.hana-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(86, 62, 58, 0.18);
}

/* Keep images inside rounded corners */
.hana-home-card img {
    border-radius: 5px;
}

/* Consistent card headings */
.hana-home-card h3 {
    color: #563e3a;
}

/* Mobile spacing */
@media (max-width: 980px) {
    .hana-home-card {
        margin-bottom: 24px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hana-home-card {
        transition: none;
    }
    .hana-home-card:hover {
        transform: none;
    }
}

/* Hana Inn room descriptions */
.hana-room-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 14px;
}
/* Check Availability buttons */
.hana-room-availability {
    display: inline-block;
    background: radial-gradient(
        ellipse at 50% 30%,
        #f9e7c8 0%,
        #e8c59a 65%,
        #b99370 100%
    );
    color: #563e3a !important;
    border: 1px solid #a77c55;
    padding: 11px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.hana-room-availability:hover {
    filter: brightness(1.06);
    box-shadow: 0 2px 6px rgba(86, 62, 58, 0.20);
    color: #563e3a !important;
}

/*pricing and features shortcodes*/
.hana-price {
    font-size: 1.25em;
    font-weight: 600;
    color: #563e3a;
    white-space: nowrap;
}


.hana-pricing-box {
    max-width: 440px;
    margin: 20px 0;
    padding: 22px 24px;
    background: radial-gradient(
        ellipse at 50% 0%,
        #fff9ed 0%,
        #f9e7c8 75%,
        #eed5b5 100%
    );
    border: 1px solid #b99370;
    border-radius: 6px;
    color: #563e3a;
    box-shadow: 0 2px 8px rgba(86, 62, 58, 0.10);
}

.hana-pricing-heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hana-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    padding: 5px 0;
    font-size: 14px;
}

.hana-pricing-row span:last-child,
.hana-pricing-row strong:last-child {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hana-pricing-base {
    font-size: 16px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #d8b58f;
}

.hana-pricing-total {
    font-size: 17px;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid #b99370;
}

.hana-pricing-total strong:last-child {
    font-size: 21px;
}

.hana-pricing-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #765e52;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}

/* Hide category links on individual room pages */
.single-project .et_project_categories {
    display: none !important;
}

/* Hide automatic project heading on room pages */
.single-project h1.entry-title {
    display: none !important;
}



@media (max-width: 480px) {
    .hana-pricing-box {
        padding: 16px;
    }
    .hana-pricing-row {
        font-size: 13px;
    }
}

/* Hana Inn room navigation sidebar */

.et_right_sidebar #sidebar .widget_nav_menu {
    margin-bottom: 25px;
}

.et_right_sidebar #sidebar .widget_nav_menu h4 {
    color: #563e3a;
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8b58f;
}

.et_right_sidebar #sidebar .widget_nav_menu li {
    margin: 0;
    padding: 0;
}

.et_right_sidebar #sidebar .widget_nav_menu li a {
    display: block;
    padding: 8px 10px;
    color: #563e3a;
    font-size: 14px;
    border-bottom: 1px solid #eee4d6;
    transition: background-color 0.2s ease;
}

.et_right_sidebar #sidebar .widget_nav_menu li a:hover {
    background-color: #fff9ed;
    color: #563e3a;
}

/* View All Rooms and Suites sidebar button */
.et_right_sidebar #sidebar .wp-block-button__link {
    display: block;
    background: radial-gradient(
        ellipse at 50% 30%,
        #f9e7c8 0%,
        #e8c59a 65%,
        #b99370 100%
    );
    color: #563e3a !important;
    border: 1px solid #a77c55;
    padding: 11px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.et_right_sidebar #sidebar .wp-block-button__link:hover {
    filter: brightness(1.08);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Hana Inn: Three-column room catalog */
@media (min-width: 981px) {

    .et_pb_filterable_portfolio_grid .et_pb_portfolio_items {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr); /*ignore the warning - it works fine - Art*/
        gap: 35px 3%;
    }

    .et_pb_filterable_portfolio_grid .et_pb_portfolio_item {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        clear: none !important;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .et_pb_filterable_portfolio_grid .hana-room-availability {
        margin-top: auto;
        align-self: center;
    }
}

/* Hana Inn - Clean Project Pages */

/* Hide Project Details (Skills, Posted on) */
.single-project .et_project_meta,
.single-project .et_project_meta_title {
    display: none !important;
}

/* Hide Previous / Next Project links */
.single-project .nav-single,
.single-project .post-nav {
    display: none !important;
}

/* Footer navigation links */
.hana-footer-nav a {
    color: #5b5045;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hana-footer-nav a:hover {
    color: #8b6845;
    text-decoration: underline;
}

