/* ═══════════════════════════════════════════════════════════════════════════
   FDN HOMEPAGE — Full Layout
   Black background | Gold accents | Three-column map layout
═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body.fdn-homepage {
    height: 100%;
    overflow: hidden; /* No page scroll — map fills screen */
    background: #000;
    color: #fff;
    font-family: 'Georgia', serif;
}

#fdn-page-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════════════ */

#fdn-header {
    flex-shrink: 0;
    background: #000;
    width: 100%;
}

/* ── Top Bar ── */
.fdn-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: #000;
}

.fdn-top-left .fdn-phone {
    font-size: 0.75rem;
    color: #c9a84c;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.fdn-top-center .fdn-site-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #c9a84c;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.fdn-top-right .fdn-language-switcher {
    font-size: 0.75rem;
    color: #c9a84c;
    letter-spacing: 0.08em;
}

.fdn-language-switcher a {
    color: #c9a84c;
    text-decoration: none;
    padding: 0 2px;
    transition: color 0.2s;
}

.fdn-language-switcher a:hover {
    color: #fff;
}

/* ── Search Bar ── */
.fdn-search-bar-wrap {
    display: flex;
    justify-content: center;
    padding: 6px 24px 10px;
    background: #000;
}

.fdn-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 520px;
}

.fdn-search-input {
    flex: 1;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #111;
    color: #fff;
    border: 1px solid #444;
    border-right: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    transition: border-color 0.2s;
}

.fdn-search-input::placeholder {
    color: #888;
}

.fdn-search-input:focus {
    border-color: #c9a84c;
}

.fdn-search-btn {
    padding: 8px 20px;
    background: #c9a84c;
    color: #000;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #c9a84c;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.05em;
}

.fdn-search-btn:hover {
    background: #e0c060;
    color: #000;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS TICKER
═══════════════════════════════════════════════════════════════════════════ */

#fdn-ticker-wrapper {
    width: 100%;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
}

.fdn-news-ticker {
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    width: 100%;
}

.fdn-news-label {
    flex-shrink: 0;
    padding: 0 14px 0 16px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    background: #0a0a0a;
    border-right: 2px solid #c9a84c;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.fdn-news-track {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.fdn-news-items {
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* Animation starts offscreen right, scrolls to left */
    animation: fdn-news-scroll 45s linear infinite;
    will-change: transform;
}

.fdn-news-items:hover {
    animation-play-state: paused;
}

.fdn-news-item {
    display: inline-block;
    padding: 0 60px 0 0;
    font-size: 0.82rem;
    color: #cccccc;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    cursor: pointer;
}

.fdn-news-item:hover {
    color: #c9a84c;
    text-decoration: underline;
}

/* Separator dot between items */
.fdn-news-item::after {
    content: '◆';
    color: #c9a84c;
    font-size: 0.5rem;
    margin-left: 60px;
    vertical-align: middle;
    opacity: 0.6;
}

.fdn-news-item:last-child::after {
    display: none;
}

@keyframes fdn-news-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Fade edges for polish ── */
.fdn-news-track::before,
.fdn-news-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.fdn-news-track::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0a, transparent);
}

.fdn-news-track::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0a, transparent);
}



/* __________________________________________________________________________

    Gold Divider 
___________________________________________________________________________*/    
    
.fdn-gold-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, #c9a84c 10%, #c9a84c 90%, transparent);
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MAIN THREE-COLUMN LAYOUT
   [Food Sidebar | Map | Drink Sidebar]
═══════════════════════════════════════════════════════════════════════════ */

#fdn-main.fdn-main-layout {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;       /* Fill remaining vertical space */
    min-height: 0;        /* Critical for flex children to shrink */
    overflow: hidden;
    background: #000;
    width: 100%;
}

/* ── Sidebars ── */
.fdn-sidebar {
    flex: 0 0 200px;
    width: 200px;
    min-width: 160px;
    max-width: 220px;
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 14px;
}

.fdn-sidebar-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #c9a84c;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}

/* Sidebar Menu Links */
.fdn-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fdn-sidebar-list li {
    margin-bottom: 4px;
}

.fdn-sidebar-list li a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: #c9a84c;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    line-height: 1.4;
}

.fdn-sidebar-list li a:hover {
    color: #fff;
    padding-left: 6px;
}

/* ── Center Map Column ── */
.fdn-center-column {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
}

.fdn-map-area {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
}

.fdn-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
    display: block;
    background: #000;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLLBAR STYLING
═══════════════════════════════════════════════════════════════════════════ */

.fdn-sidebar::-webkit-scrollbar {
    width: 4px;
}

.fdn-sidebar::-webkit-scrollbar-track {
    background: #0d0d0d;
}

.fdn-sidebar::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — Stack vertically
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    html,
    body.fdn-homepage {
        overflow: auto;
        height: auto;
    }

    #fdn-page-wrapper {
        height: auto;
        min-height: 100vh;
    }

    #fdn-main.fdn-main-layout {
        flex-direction: column;
        overflow: visible;
    }

    .fdn-sidebar {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 120px;
        border: none;
        border-bottom: 1px solid #1a1a1a;
    }

    .fdn-center-column {
        min-height: 60vw;
    }

    .fdn-map-iframe {
        min-height: 60vw;
    }

    .fdn-top-bar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        text-align: center;
    }

    .fdn-top-left,
    .fdn-top-right {
        width: 100%;
        text-align: center;
    }
}