/* assets/css/style.css */

/* DejaVu Sans Mono Font */
@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('../fonts/DejaVuSansMono.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('../fonts/DejaVuSansMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('../fonts/DejaVuSansMono-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'DejaVu Sans Mono';
    src: url('../fonts/DejaVuSansMono-BoldOblique.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Logo text styling - red with DejaVu Sans Mono font */
.logo-text {
    font-family: 'DejaVu Sans Mono', monospace;
    font-weight: bold;
    color: #dc3545;
    padding-left: 5px;
}

.hero {
    padding: 5rem 0 4rem;
}

.hero-bg {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 40%, #991b1b 100%);
    color: #fff;
}

.hero h1 {
    font-weight: 800;
}

.hero .lead {
    font-size: 1.1rem;
}

.card-feature-icon {
    font-size: 2.4rem;
    color: #dc2626;
}

.section-heading {
    font-weight: 700;
}

/* Vendor callout styling */
.vendor-callout {
    background-color: #f8f9fa;
    border-radius: 0.75rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    font-size: 0.9rem;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Login toggle */
.login-type-toggle .btn {
    min-width: 130px;
}

/* Responsive hero image */
.hero-img-placeholder {
    min-height: 260px;
    background: #dee2e6 url('../img/homepage_01.png') center/cover no-repeat;
    border-radius: 1rem;
}

/* Placeholder images for content */
.placeholder-img {
    min-height: 180px;
    background: #dee2e6 center/cover no-repeat;
    border-radius: 0.75rem;
}

.placeholder-img-dating {
    background-image: url('../img/homepage_02.png');
}

.placeholder-img-deals {
    background-image: url('../img/homepage_04.png');
}

.placeholder-img-vendors {
    background-image: url('../img/homepage_03.png');
}

/* Small utility spacing */
.badge-pill {
    border-radius: 999px;
}
/* --- Mobile fixes for avatar dropdowns --- */
@media (max-width: 575.98px) {
    /* Keep the right-side controls aligned to the right */
    .navbar .d-flex.align-items-center.gap-2 {
        margin-left: auto;
        justify-content: flex-end;
    }

    /* Force user and vendor dropdowns to render fully inside viewport */
    .navbar .user-avatar-dropdown .dropdown-menu,
    .navbar .vendor-avatar-dropdown .dropdown-menu {
        position: fixed !important;   /* detach from narrow navbar container */
        top: 56px !important;         /* just below typical navbar height; adjust if needed */
        right: 0 !important;
        left: 0 !important;
        margin: 0;
        transform: none !important;
        width: 100vw !important;      /* full viewport width */
        max-width: 100vw;
        border-radius: 0 0 0.75rem 0.75rem;
        box-sizing: border-box;
        z-index: 1050;                /* above navbar */
    }
}

/* Slightly smaller offcanvas header on mobile for account panels */
@media (max-width: 575.98px) {
    .offcanvas-header {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Photo Editor Modal Styles */
#photoEditorModal .modal-xl {
    max-width: 95%;
}

#photoEditorImage {
    max-width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto;
}

#photoEditorModal .cropper-container {
    max-height: 500px;
    background-color: #333;
}

#photoEditorModal .cropper-view-box,
#photoEditorModal .cropper-face {
    border-radius: 0;
}

#photoEditorModal .modal-body {
    padding: 0;
}

