/* 
 * Main CSS for Hotel Centro Cavour
 */

.\!rounded-button,
.rounded-button {
    border-radius: 8px !important;
}

/* Fix for fixed header overlapping with WordPress admin bar */
.admin-bar header {
    top: 32px;
}
.border-red-100
{
    border: solid 0.5px;
    --tw-border-opacity: 1;
    border-color: rgb(254 226 226 / var(--tw-border-opacity, 1));
}
@media (max-width: 782px) {
    .admin-bar header {
        top: 46px;
    }
    #mobile-menu-drawer {
        top: 46px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: #2C2C2C;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Base custom styles to ensure elementor renders correctly */
.bg-secondary {
    background-color: #F8F5F2;
}

.bg-primary {
    background-color: #8B2332;
}

.text-primary {
    color: #8B2332;
}

.text-darkgrey {
    color: #1A1A1A;
}

.hover\:text-primary:hover {
    color: #8B2332;
}

/* Link overrides to bypass parent theme styling in custom header & footer */
header a,
#mobile-menu-drawer a,
footer a {
    text-decoration: none !important;
}

/* Header link colors and hovers */
header nav a,
#mobile-menu-drawer nav a {
    color: #1A1A1A !important;
    transition: color 0.2s ease;
}

header nav a:hover,
#mobile-menu-drawer nav a:hover {
    color: #8B2332 !important;
}

/* Footer Quick links */
footer ul a {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.2s ease;
}

footer ul a:hover {
    color: #8B2332 !important;
}

/* Footer Social icons */
footer .flex.gap-4 a {
    color: #ffffff !important;
    transition: all 0.2s ease;
}

footer .flex.gap-4 a:hover {
    background-color: #8B2332 !important;
    color: #ffffff !important;
}

