/* Header Edits  */

@media only screen and (min-width: 540px) {
    .apply-button {
        top: 25px !important;
        right: -70px !important;
    }
    .nav-button-holder {
        right: 170px !important;
    }
}

@media only screen and (min-width: 757px) {
    .apply-button {
        right: -50px !important;
    }
    .nav-button-holder {
        right: 190px !important;
    }
}

@media only screen and (min-width: 1064px) {
    .apply-button {
        right: 0px !important;
    }
    .nav-holder {
        margin-right: 20px !important;
    }
}

/* Button Styles */

.apply-button {
    position: absolute;
    float: right;
    right: 10px;
    top: 15px;
}

.show-share:hover {
    color: #fff;
}

/* Map */

.map-box {
    height: 632px;
    float: none;
}

.view_map_button {
    float:left;
}

.view-map {
    color: white;
    font-weight: 700;
}

@media only screen and (min-width: 1600px) {
    .map-box {
        height: 700px;
    }
}

@media only screen and (min-width: 1800px) {
    .map-box {
        height: 813px;
    }
}

/* Footer Edits  */

footer {
    padding: 0px !important;
}

.policy-box {
    float: none !important;
    display: block !important;
}

.policy-box span {
    float: none !important;
}

/* Button Styles */

.ml_button {
    cursor:pointer;
    font-weight: 600;
    background: #f1f1f1;
    transition: all .3s ease-out;
    position:relative;
    padding: 0 40px;
    height: 40px;
    line-height: 40px;
    text-transform:uppercase;
}

.ml_button:hover {
	background: #292929;
    color:#fff;
}

/* Custom Rooms Grid Layout */
.rooms-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    padding: 40px;
    height: calc(100vh - 200px);
    min-height: 600px;
}

.rooms-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rooms-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.rooms-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rooms-grid-item:hover img {
    transform: scale(1.05);
}

.rooms-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.rooms-grid-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.rooms-grid-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.rooms-grid-item a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .rooms-grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        padding: 20px;
        gap: 15px;
        height: auto;
        min-height: auto;
    }
    
    .rooms-grid-item {
        min-height: 200px;
    }
}

/* Project details headings spacing */
.project-details h5 {
    margin-bottom: 8px !important;
}

/* Center hero text on room pages */
.hero-title {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 100% !important;
}

