/* ==========================================================================
   ALBERTO WATCH COMPANY - BRIEF OVERLAY & DESIGN SYSTEM
   HAUTE HORLOGERIE & CLOCKS
   ========================================================================== */

@font-face {
    font-family: 'Safeya';
    src: url('/fonts/Safeya-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* User Constraint: Strict avoidance of abnormal letter-spacing and word-spacing */
*, *::before, *::after {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

h1, h2, h3, h4, h5, h6, 
.safeya-heading, 
.fps-watch-title, 
.mesh-title, 
.alberto-title,
.modal-title-alberto {
    font-family: 'Safeya', Georgia, serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

body, p, span, a, button, input, select, textarea, label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* Fit intro title gracefully */
[data-section="Intro"] .content-wrapper .fps-watch-title {
    font-size: 11vw !important;
    white-space: nowrap !important;
    justify-content: center !important;
    gap: 3vw !important;
    line-height: 1 !important;
}

/* --------------------------------------------------------------------------
   1. Alberto Luxury Top Navigation Bar
   -------------------------------------------------------------------------- */
.alberto-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(235, 235, 235, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.alberto-top-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alberto-brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
}

.alberto-crown-img {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.alberto-brand-text {
    display: flex;
    flex-direction: column;
}

.alberto-main-title {
    font-family: 'Safeya', Georgia, serif !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #111 !important;
    font-weight: 700;
}

.alberto-sub-title {
    font-size: 9px !important;
    color: #666 !important;
    text-transform: uppercase;
    margin-top: 2px;
    font-weight: 500;
}

/* Brief Requirement: Visitor count beside logo */
.alberto-visitor-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 9999px;
    font-size: 11px !important;
    color: #333 !important;
    margin-left: 14px;
    font-weight: 600;
}

.visitor-dot-pulse {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: albertoPulse 2s infinite ease-in-out;
}

@keyframes albertoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* Nav Menu Links (Brief: Color hover & active transitions) */
.alberto-nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.alberto-nav-menu a {
    font-size: 13px !important;
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.25s ease;
}

.alberto-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.alberto-nav-menu a:hover {
    color: #000 !important;
}

.alberto-nav-menu a:hover::after {
    width: 100%;
}

.alberto-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alberto-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #000;
    color: #fff !important;
    border-radius: 4px;
    font-size: 12px !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.alberto-btn-action:hover {
    background: #333;
    transform: translateY(-1px);
}

.alberto-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    color: #111 !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 12px !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.alberto-btn-outline:hover {
    border-color: #000;
    background: rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   2. Continuous Scrolling Geolocation Ticker at Bottom (Brief Requirement)
   -------------------------------------------------------------------------- */
.alberto-bottom-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #000;
    color: #fff !important;
    height: 38px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-scroll-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: albertoMarquee 35s linear infinite;
    gap: 36px;
    padding-left: 20px;
}

.ticker-scroll-content:hover {
    animation-play-state: paused;
}

@keyframes albertoMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px !important;
    color: #ddd !important;
}

.ticker-live-tag {
    background: #ef4444;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

.ticker-dot-sep {
    color: #888 !important;
    font-size: 10px !important;
}

/* --------------------------------------------------------------------------
   3. Interactive Modals (Price List, Store Locator, Concierge, Watch Details)
   -------------------------------------------------------------------------- */
.alberto-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alberto-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.alberto-modal-window {
    background: #fff;
    color: #111;
    border-radius: 8px;
    width: 100%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.94);
    transition: transform 0.3s ease;
}

.alberto-modal-backdrop.active .alberto-modal-window {
    transform: scale(1);
}

.modal-x-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    font-size: 16px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.modal-x-btn:hover {
    background: #ef4444;
    color: #fff !important;
}

/* Price Catalog Table */
.price-index-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px !important;
    margin-top: 20px;
}

.price-index-table th {
    text-align: left;
    padding: 12px 14px;
    background: #f4f4f5;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #e4e4e7;
    font-size: 12px !important;
}

.price-index-table td {
    padding: 14px;
    border-bottom: 1px solid #e4e4e7;
    font-size: 13px !important;
}

.price-index-table tr:hover td {
    background: #fafafa;
}

/* Forms */
.alberto-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.alberto-form-group {
    margin-bottom: 16px;
}

.alberto-form-group label {
    display: block;
    font-size: 12px !important;
    color: #555 !important;
    margin-bottom: 6px;
    font-weight: 500;
}

.alberto-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 4px;
    font-size: 13px !important;
    outline: none;
}

.alberto-input:focus {
    border-color: #000;
}

@media (max-width: 900px) {
    .alberto-nav-menu {
        display: none;
    }
    .alberto-visitor-badge {
        display: none;
    }
}
