/* Shared typography for guest pages, booking, authentication, and the admin portal. */
:root { --villa-font: 'Roboto', Arial, sans-serif; --bs-body-font-family: var(--villa-font); }
html { font-size: 17px; }
body, body.admin-body, body.font-sans, button, input, select, textarea,
h1, h2, h3, h4, h5, h6, .font-serif, .font-sans, .booking-page,
.inquiry-widget, .villa-viewer-brand, .villa-viewer-footer {
    font-family: var(--villa-font) !important;
}
body { line-height: 1.65; }
button, input, select, textarea { line-height: 1.5; }
.villa-home .section-copy { font-size: 1rem; line-height: 1.8; color: #53636b; }
.villa-home .section-title { font-weight: 500; letter-spacing: -.025em; }
.villa-home .section-kicker { font-size: .76rem; color: #546f7b; letter-spacing: .13em; }
.villa-home .hero-tagline { font-size: 1.05rem; line-height: 1.75; }
.villa-home .property-badge { font-size: .75rem; }
.villa-home .hero-trust-row span { font-size: .85rem; }
.villa-home .overview-list strong, .villa-home .amenity-card h3 { font-size: 1rem; }
.villa-home .overview-list span, .experience-card p { font-size: .9rem; line-height: 1.75; }
.villa-home .trust-item strong { font-size: .87rem; }
.villa-home .trust-item span { font-size: .83rem; line-height: 1.7; }
.villa-home .quick-stats-grid span { font-size: .85rem; }
.villa-home .rule-card h3, .villa-home .nearby-card h3 { font-size: 1.05rem; }
.villa-home .rule-card p, .villa-home .nearby-card p, .villa-home .review-card p { font-size: .95rem; line-height: 1.8; }
.villa-home .detail-list div { font-size: .9rem; }
.villa-home .gallery-tile .gallery-tile-caption { font-size: .9rem; line-height: 1.6; }
.villa-home .search-field label, .villa-home .rate-preview span, .villa-home .rate-preview small { font-size: .85rem; }
.villa-home .hero-date-input .form-control, .villa-home .hero-guest-input .form-control { font-size: 1rem; }
.villa-home .search-btn { font-size: .9rem; }
.villa-home .hero-actions .btn, .villa-home .hero-inquiry { font-size: .9rem; }
.villa-home .footer p, .villa-home .footer a, .public-site > .footer p, .public-site > .footer a { font-size: .92rem; line-height: 1.8; }
.villa-home .footer h3, .public-site > .footer h3 { font-size: .85rem; }
.gallery-count, .gallery-hint { font-size: .875rem; }
.inquiry-bubble { font-size: .95rem; }
.inquiry-caption, .inquiry-selection { font-size: .85rem; }
.inquiry-note, .inquiry-header p { font-size: .8rem; line-height: 1.75; }
.inquiry-topics button, .inquiry-alternatives a, .inquiry-messenger { font-size: .8rem; }
.admin-body .admin-muted, .admin-body .form-text { font-size: .92rem; line-height: 1.7; }
.admin-body .admin-nav a { font-size: .92rem; line-height: 1.5; }
.admin-body .admin-table th { font-size: .85rem; }
.admin-body .admin-table td { font-size: .95rem; }
.admin-body .form-label { font-size: .95rem; }
.custom-input { font-size: 1rem !important; }
.custom-label, .custom-checkbox-label, .forgot-link, .back-home-btn, .brand-subtitle { font-size: .875rem; }

/* A floating glass header lets the home photo fill the top of the page. */
.site-navbar { background: rgba(248, 252, 253, .72); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(22px) saturate(145%); -webkit-backdrop-filter: blur(22px) saturate(145%); box-shadow: 0 6px 30px #17344110; }
.villa-home .site-navbar { position: fixed; top: 16px; left: 50%; width: calc(100% - 48px); max-width: 1220px; transform: translateX(-50%); padding: 12px 0; border-radius: 18px; }
.villa-home .site-navbar > .container { padding-inline: 20px; }
.site-navbar.scrolled { background: rgba(248, 252, 253, .9) !important; box-shadow: 0 8px 35px #1734411a; }
.villa-home .site-navbar.scrolled { padding: 10px 0; }
.site-navbar .navbar-brand, .site-navbar.scrolled .navbar-brand { color: #182c35 !important; text-shadow: none; font-size: 1.05rem; }
.site-navbar .villa-nav-links a { color: #263e49; font-size: .8rem; letter-spacing: .075em; font-weight: 500; }
.site-navbar .nav-booking-btn { font-size: .85rem; }
.villa-home .hero { margin: 0; border-radius: 0; min-height: max(780px, 95svh); padding: 145px 0 42px; }
.villa-home .hero h1 { line-height: 1.12; letter-spacing: -.035em; }
.villa-home .hero-copy { width: 48%; }
.villa-home section[id] { scroll-margin-top: 115px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-navbar { background: rgba(248, 252, 253, .96); }
}
@media(max-width: 1199px) {
    .site-navbar .villa-nav-links { gap: 18px; }
    .site-navbar .villa-nav-links a { font-size: .75rem; letter-spacing: .04em; }
    .site-navbar .navbar-brand { font-size: .95rem; }
}
@media(max-width: 991px) {
    .villa-home .hero-copy { width: 53%; }
    .villa-home .site-navbar { top: 12px; width: calc(100% - 32px); }
    .site-navbar.menu-open .villa-nav-links { top: calc(100% + 8px); border: 1px solid #e1eaf0; border-radius: 16px; background: rgba(252, 254, 255, .97); }
    .site-navbar.menu-open .villa-nav-links a { font-size: .95rem; }
}
@media(max-width: 575px) {
    .villa-home .site-navbar { top: 10px; width: calc(100% - 24px); padding: 9px 0; border-radius: 15px; }
    .villa-home .site-navbar.scrolled { padding: 8px 0; }
    .villa-home .site-navbar > .container { padding-inline: 10px; gap: 6px; }
    .site-navbar .navbar-brand, .site-navbar.scrolled .navbar-brand { font-size: .78rem; line-height: 1.3; gap: 6px; max-width: 48%; }
    .site-navbar .navbar-brand span { max-width: 115px; }
    .site-navbar .logo { width: 36px; height: 36px; flex-shrink: 0; }
    .site-navbar .nav-booking-btn { font-size: .7rem; padding: 10px 12px !important; }
    .site-navbar .nav-booking-btn span { margin-left: 4px; }
    .villa-menu-toggle { width: 40px; flex-basis: 40px; }
    .villa-home .hero { min-height: auto; padding: 345px 0 28px; background-size: auto 580px !important; background-position: center top !important; }
    .villa-home .hero-overlay { background: linear-gradient(180deg, transparent 130px, #e6f4f338 300px, #e6f4f3b3 450px, #e6f4f3 590px); }
    .villa-home .hero-copy { width: 100%; }
    .villa-home .hero .hero-copy { padding: 24px 20px; }
    .villa-home .hero h1 { font-size: clamp(2.05rem, 9vw, 2.65rem); line-height: 1.15; }
    .villa-home .property-badge { font-size: .68rem; line-height: 1.7; }
    .villa-home .hero-tagline { font-size: 1rem; }
    .villa-home .hero-trust-row { gap: 12px; }
    .villa-home .hero-trust-row span { font-size: .82rem; }
    .villa-home .hero-date-input .form-control { font-size: .9rem !important; }
    .villa-home .hero-guest-input .form-control { font-size: 1rem !important; }
    .villa-home .quick-stats-grid span { font-size: .82rem; }
    .villa-home .quick-stats-grid div { padding-inline: 12px; }
    .villa-home .section-kicker { font-size: .72rem; }
    .villa-home .trust-item { padding-inline: 4px; }
    .admin-body .admin-nav a { font-size: 1rem; }
    .admin-body .admin-brand-name { font-size: .95rem; }
    input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: 17px !important; }
}
@media(max-width: 359px) {
    .villa-home .site-navbar > .container { flex-wrap: nowrap; }
    .site-navbar .navbar-brand, .site-navbar.scrolled .navbar-brand { flex: 1; min-width: 0; max-width: none; margin-right: 0; font-size: .7rem; }
    .site-navbar .logo { width: 30px; height: 30px; }
    .villa-menu-toggle { width: 36px; flex-basis: 36px; }
    .site-navbar .nav-booking-btn { font-size: .65rem; padding-inline: 8px !important; white-space: nowrap; }
    .site-navbar .nav-booking-btn span { display: none; }
}
