/*
Theme Name: HotelMaster
Description: Modern hotel booking theme with component-based architecture
Version: 2.0
*/

/**
 * Essential WordPress Theme Styles
 * Clean, minimal responsive foundation
 */

/* WordPress Theme Foundation */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--event-font-family, "DM Sans"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #000;
    color: #fff;
}

/* Basic responsive support */
* {
    box-sizing: border-box;
}

img:not(.cbs-menu-collapse-toggle img) {
    max-width: 100%;
    height: auto;
}

/* WordPress Core Classes */
.alignwide {
    max-width: 100%;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Form Elements */
input, select, textarea, button:not(.cbs-menu-collapse-toggle) {
    box-sizing: border-box;
    max-width: 100%;
    font-size: 16px; /* Prevent iOS zoom */
}

@media (min-width: 768px) {
    input, select, textarea, button:not(.cbs-menu-collapse-toggle) {
        font-size: 14px;
    }
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Gallery */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 767px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-gap: 1em;
    }
}

/* WordPress Comment Form */
.comment-form {
    max-width: 100%;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Hide Osano Cookie Widget */
.osano-cm-widget {
    display: none !important;
}