/* ==========================================================================
   Typography: Halis Grotesk Full Typeface Definition
   ========================================================================== */

/* 100 - Thin */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRThin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRThinItalic.otf") format("opentype");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* 200 - ExtraLight */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRExtraLight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRExtraLightItalic.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* 300 - Light */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRLight.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRLightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* 350 - Book */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRBook.otf") format("opentype");
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRBookItalic.otf") format("opentype");
    font-weight: 350;
    font-style: italic;
    font-display: swap;
}

/* 400 - Regular */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRRegular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRRegularItalic.otf") format("opentype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 500 - Medium */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRMedium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRMediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* 700 - Bold */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRBold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRBoldItalic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 900 - Black */
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/HalisGRBlack.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Halis Grotesk";
    src: url("/fonts/Ahmet%20Altun%20%20HalisGRBlackItalic.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   Global Typography Defaults
   ========================================================================== */
:root {
    --font-family-base: "Halis Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bs-body-font-family: var(--font-family-base);
    --bs-font-sans-serif: var(--font-family-base);
}

html,
body {
    font-family: var(--font-family-base) !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input,
button,
textarea,
select,
optgroup {
    font-family: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    font-weight: 800;
}

/* ========================================================
   Base Document Reset & Sticky Footer Layout
   ======================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.site-body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #0a0d09;
}

/* MAIN CONTENT AREA: Solid Pure White Background */
.site-shell {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    background: #ffffff !important;
    position: relative;
    isolation: isolate;
}

/* Watermark logo */
.site-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/assets/logos/wunderbarf-logo-background-gray.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70% auto;
    opacity: 0.07;
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
}

.site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2.5rem clamp(1.25rem, 3.5vw, 4.5rem) 4.5rem !important;
    box-sizing: border-box;
}

/* ==========================================================================
   Global Floating Action Buttons Container (Desktop & Mobile)
   ========================================================================== */
.floating-action-group {
    position: fixed !important;
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(1.5rem + env(safe-area-inset-right, 0px)) !important;
    z-index: 99999 !important; /* Above all content, modals & drawers */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 0.75rem !important;
    pointer-events: none !important; /* Allow clicking through empty gap space */
}

/* Common Button Base (Desktop: Labeled Pill) */
.floating-btn {
    pointer-events: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    height: 44px;
    padding: 0 1.15rem;
    border-radius: 9999px;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.floating-btn__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* WhatsApp Button */
.floating-btn--whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
}

.floating-btn--whatsapp:hover {
    background: #20ba5a !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
}

/* Jump-to-Top Button */
.floating-btn--top {
    background: rgba(10, 13, 9, 0.9) !important;
    border: 1px solid rgba(255, 207, 141, 0.4) !important;
    color: #ffcf8d !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
}

.floating-btn--top.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.floating-btn--top:hover {
    background: #ffcf8d !important;
    border-color: #ffcf8d !important;
    color: #0a0d09 !important;
    box-shadow: 0 10px 28px rgba(255, 207, 141, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Responsive Styles (Screen width <= 768px):
   - Text labels hidden completely
   - Compact 44x44px round icon-only action circles
   ========================================================================== */
@media (max-width: 768px) {
    .floating-action-group {
        bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
        right: calc(1rem + env(safe-area-inset-right, 0px)) !important;
        gap: 0.6rem !important;
    }

    /* Hide text labels on mobile */
    .floating-btn__label {
        display: none !important;
    }

    /* Transform pill buttons into round icon circles */
    .floating-btn {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .floating-btn__icon {
        width: 21px !important;
        height: 21px !important;
    }
}