/* =============================================
   Petruck — Brand Overrides & Custom Styles
   ============================================= */

/* --- Logo --- */
.site-logo-text {
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}

.site-logo-text span {
    color: #f6783a;
}

.site-logo-text:hover {
    color: #fff;
    text-decoration: none;
}

/* --- Flash Messages (CakePHP) --- */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 420px;
}

.flash-messages .message {
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
}

.flash-messages .message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-messages .message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-messages .message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.flash-messages .message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* --- Nav Login/Register Buttons --- */
.nav-auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-auth-links .btn-login {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-auth-links .btn-login:hover {
    border-color: #f6783a;
    color: #f6783a;
    text-decoration: none;
}

.nav-auth-links .btn-register {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 6px 16px;
    background: #f6783a;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #f6783a;
}

.nav-auth-links .btn-register:hover {
    background: transparent;
    color: #f6783a;
    text-decoration: none;
}

/* --- Hero Slide Background Position --- */
.hs-item.set-bg {
    background-position: center center;
}

/* --- Hero Slide Dark Overlay --- */
.hs-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 0, 49, 0.65);
    z-index: 1;
}

/* --- Process Section Icon Spacing --- */
.process-item .pi-icon {
    margin-bottom: 8px;
}

/* --- Booking Section --- */
.booking-form-card {
    background: #fff;
    border-radius: 6px;
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(2, 0, 49, 0.08);
}

.booking-form-card .form-group {
    margin-bottom: 20px;
}

.booking-form-card label {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #020031;
    margin-bottom: 6px;
    display: block;
}

.booking-form-card .form-control {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: #111;
    height: 42px;
    padding: 8px 12px;
    transition: border-color 0.2s;
}

.booking-form-card textarea.form-control {
    height: auto;
}

.booking-form-card .form-control:focus {
    border-color: #f6783a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 120, 58, 0.12);
}

.booking-form-card .form-control:disabled {
    background: #f7f7f7;
    color: #b7b7b7;
    cursor: not-allowed;
}

.booking-btn {
    margin-top: 8px;
    min-width: 140px;
}

/* --- Booking Add-ons / Checkboxes --- */
.booking-addons {
    margin-bottom: 20px;
}

.booking-addons-label {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #020031;
    margin-bottom: 10px;
}

.booking-addon-item {
    margin-bottom: 8px;
}

.booking-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    cursor: pointer;
    margin: 0;
}

.booking-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #e1e1e1;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.booking-checkbox input[type="checkbox"]:checked {
    background: #f6783a;
    border-color: #f6783a;
}

.booking-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* --- Page Content Wrapper --- */
.page-content {
    padding: 60px 0;
    min-height: 400px;
}

/* --- Responsive Nav Adjustments --- */
@media (max-width: 768px) {
    .nav-auth-links {
        margin-top: 10px;
        justify-content: center;
    }

    .site-logo-text {
        font-size: 22px;
    }
}
