/* ============================================================
   ISTANBUL EXHIBITION PORTAL — SHARED STYLES
   Laravel: save as public/css/portal.css
   Include on every page via <link href="{{ asset('css/portal.css') }}">
   ============================================================ */

:root {
    --red:       #E8192C;
    --navy:      #1A2B4B;
    --navy-dark: #111D33;
    --gray-light:#F6F7F9;
    --gray-mid:  #8A94A6;
    --gray-text: #4A5568;
    --white:     #FFFFFF;
    --border:    #E8ECF2;
    --radius:    8px;
    --shadow:    0 2px 16px rgba(26,43,75,.09);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--gray-text);
    background: var(--white);
    margin: 0;
}

a { color: inherit; text-decoration: none; }

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar { background: var(--navy); color: rgba(255,255,255,.75); font-size: 12px; padding: 6px 0; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: #fff; }

/* ── NAVBAR ─────────────────────────────────────────── */
.main-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 999; padding: 0; }
.main-nav .navbar-brand { display: flex; align-items: center; gap: 8px; }
.brand-icon { width: 38px; height: 38px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.brand-text strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.brand-text span { font-size: 10px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: .5px; }
.main-nav .nav-link { font-size: 13px; font-weight: 600; color: var(--navy) !important; padding: 20px 14px !important; position: relative; transition: color .2s; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--red) !important; }
.main-nav .nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px; background: var(--red); border-radius: 2px 2px 0 0; }
.btn-login { background: var(--red); color: #fff !important; border-radius: 6px; padding: 8px 16px !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.btn-login:hover { background: #c01020; }
.lang-btn { border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--navy); background: #fff; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.lang-btn:hover { border-color: var(--red); color: var(--red); }
.main-nav.scrolled { box-shadow: 0 2px 12px rgba(26,43,75,.12); }
.dropdown-menu { border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.dropdown-item { font-size: 13px; font-weight: 500; padding: 8px 16px; color: var(--navy); }
.dropdown-item:hover { background: var(--gray-light); color: var(--red); }

/* ── PAGE HEADER (banner) ───────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #1E3D6E 60%, #2a4f8a 100%);
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1400&q=80') center/cover no-repeat;
    opacity: .28;
}
.page-header-content { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.breadcrumb-custom { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.breadcrumb-custom a { color: rgba(255,255,255,.7); }
.breadcrumb-custom a:hover { color: #fff; }
.breadcrumb-custom .sep { margin: 0 6px; opacity: .5; }
.page-header p { color: rgba(255,255,255,.8); font-size: 14px; max-width: 640px; margin: 0; }

.page-header-search {
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.page-header-search i { color: var(--gray-mid); margin-right: 10px; }
.page-header-search input { border: none; outline: none; flex: 1; padding: 12px 0; font-size: 13px; }
.page-header-search button {
    background: var(--navy); color: #fff; border: none; border-radius: 6px;
    padding: 11px 20px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.page-header-search button:hover { background: var(--red); }

/* ── SIDEBAR FILTERS ────────────────────────────────── */
.filter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.filter-card-head {
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 18px;
}
.filter-card-body { padding: 18px; }
.filter-label { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; display: block; }
.filter-card-body .form-select,
.filter-card-body .form-control {
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 12px;
    margin-bottom: 16px;
}
.filter-card-body .form-select:focus,
.filter-card-body .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(232,25,44,.1);
}
.filter-check { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--gray-text); cursor: pointer; }
.filter-check input { margin-right: 8px; }
.filter-check .count { color: var(--gray-mid); font-size: 12px; }
.btn-apply-filter {
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 8px;
}
.btn-apply-filter:hover { background: #c01020; }

.cta-side-card {
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: left;
}
.cta-side-card strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.cta-side-card p { font-size: 12px; color: var(--gray-mid); margin-bottom: 14px; }
.cta-side-card .btn-outline-red {
    border: 1.5px solid var(--red); color: var(--red); border-radius: 6px;
    padding: 8px 16px; font-size: 12px; font-weight: 700; display: inline-block;
}
.cta-side-card .btn-outline-red:hover { background: var(--red); color: #fff; }

/* ── TOOLBAR (results count / view toggle / sort) ───── */
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.results-count { font-size: 13px; color: var(--gray-text); }
.results-count strong { color: var(--navy); }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button {
    width: 36px; height: 36px; border: 1.5px solid var(--border); background: #fff;
    border-radius: 6px; color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.view-toggle button.active { background: var(--red); border-color: var(--red); color: #fff; }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-text); }
.sort-select select { border: 1px solid var(--border); border-radius: 6px; padding: 7px 12px; font-size: 13px; }

/* ── EXHIBITOR CARD ─────────────────────────────────── */
.exhib-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 16px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.exhib-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(26,43,75,.15); }
.exhib-badges { display: flex; justify-content: space-between; margin-bottom: 14px; }
.badge-featured { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.badge-new { background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.badge-verified { font-size: 11px; font-weight: 600; color: #16a34a; display: flex; align-items: center; gap: 4px; }
.exhib-logo-box { height: 56px; display: flex; align-items: center; margin-bottom: 12px; }
.exhib-logo-box span { font-weight: 900; font-size: 20px; }
.exhib-card h6 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.exhib-industry { font-size: 12px; color: var(--gray-text); margin-bottom: 6px; }
.exhib-loc { font-size: 12px; color: var(--gray-mid); display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.exhib-card-footer { display: flex; align-items: center; justify-content: space-between; }
.bookmark-btn { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--gray-mid); background: #fff; }
.bookmark-btn:hover { border-color: var(--red); color: var(--red); }

/* ── PAGINATION ─────────────────────────────────────── */
.pagination-custom { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination-custom a, .pagination-custom span {
    width: 36px; height: 36px; border: 1.5px solid var(--border); border-radius: 6px;
    display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--navy);
}
.pagination-custom a:hover { border-color: var(--red); color: var(--red); }
.pagination-custom .active { background: var(--red); border-color: var(--red); color: #fff; }
.pagination-custom .disabled { color: var(--gray-mid); pointer-events: none; opacity: .5; }

/* ── EXPO / BLOG CARDS (reused from home) ───────────── */
.expo-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; height: 100%; }
.expo-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(26,43,75,.15); }
.expo-card-img { position: relative; height: 170px; overflow: hidden; }
.expo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.expo-card:hover .expo-card-img img { transform: scale(1.05); }
.expo-date-badge { position: absolute; top: 10px; left: 10px; background: rgba(26,43,75,.85); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; backdrop-filter: blur(4px); }
.expo-card-body { padding: 16px; }
.expo-card-body h6 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.expo-location { font-size: 12px; color: var(--gray-mid); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.expo-tag { display: inline-block; font-size: 11px; font-weight: 600; color: var(--red); border: 1px solid var(--red); border-radius: 4px; padding: 2px 8px; margin-bottom: 10px; }
.expo-desc { font-size: 12px; color: var(--gray-text); line-height: 1.6; margin-bottom: 12px; }
.btn-details { display: inline-block; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 5px; padding: 6px 16px; font-size: 12px; font-weight: 700; transition: all .2s; }
.btn-details:hover { background: var(--navy); color: #fff; }
.expo-card-footer-row { display: flex; align-items: center; justify-content: space-between; }

/* ── CATEGORY GRID CARD (big, for categories page) ──── */
.category-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all .2s;
    height: 100%;
}
.category-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.category-icon-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.category-card h6 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.category-card small { font-size: 12px; color: var(--gray-mid); }
.category-arrow { margin-left: auto; color: var(--red); font-size: 14px; }

/* ── BLOG CARD ──────────────────────────────────────── */
.blog-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .2s; height: 100%; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { height: 180px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-cat-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.blog-card-body { padding: 16px; }
.blog-date { font-size: 11px; color: var(--gray-mid); margin-bottom: 8px; }
.blog-card-body h6 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.blog-excerpt { font-size: 12px; color: var(--gray-text); line-height: 1.6; margin-bottom: 12px; }
.read-more { font-size: 13px; font-weight: 700; color: var(--red); }
.read-more:hover { text-decoration: underline; }

/* ── BOTTOM CTA STRIP (4-col, used on Exhibitors/Categories) ── */
.cta-strip { background: var(--navy-dark); padding: 32px 0; margin-top: 48px; }
.cta-strip-item { display: flex; align-items: flex-start; gap: 14px; }
.cta-strip-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.cta-strip-item strong { color: #fff; font-size: 14px; display: block; margin-bottom: 4px; }
.cta-strip-item p { color: rgba(255,255,255,.6); font-size: 12px; margin-bottom: 10px; line-height: 1.5; }
.cta-strip-item .btn-cta { border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 6px; display: inline-block; }
.cta-strip-item .btn-cta.filled { background: var(--red); border-color: var(--red); }
.cta-strip-item .btn-cta:hover { background: var(--red); border-color: var(--red); }

/* ── FOOTER ─────────────────────────────────────────── */
.main-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 48px 0 0; }
.footer-brand strong { color: #fff; font-size: 16px; font-weight: 800; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: 14px; transition: all .2s; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-head { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding: 18px 0; font-size: 12px; }
.footer-newsletter input { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: #fff; border-radius: 6px 0 0 6px; padding: 10px 14px; font-size: 13px; border-right: 0; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter button { background: var(--red); color: #fff; border: none; border-radius: 0 6px 6px 0; padding: 10px 16px; font-weight: 700; font-size: 13px; }

/* ── CONTACT PAGE ───────────────────────────────────── */
.contact-info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-icon-circle { width: 44px; height: 44px; border-radius: 50%; background: #FDE8EA; color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item p { font-size: 13px; color: var(--gray-text); margin: 0; line-height: 1.5; }
.contact-form-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-form-card h5 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.contact-form-card > p { font-size: 13px; color: var(--gray-mid); margin-bottom: 20px; }
.form-label-custom { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
.form-label-custom .req { color: var(--red); }
.form-control-custom { border: 1px solid var(--border); border-radius: 6px; padding: 11px 14px; font-size: 13px; width: 100%; }
.form-control-custom:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(232,25,44,.1); }
.btn-send-message { background: var(--red); color: #fff; border: none; border-radius: 6px; padding: 13px; font-size: 14px; font-weight: 700; width: 100%; }
.btn-send-message:hover { background: #c01020; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 320px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.help-card { text-align: center; padding: 24px 16px; }
.help-icon-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.help-card strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 6px; }
.help-card p { font-size: 12px; color: var(--gray-mid); line-height: 1.6; margin-bottom: 10px; }

/* ── SHARED SECTION HEAD ─────────────────────────────── */
.section-title { font-size: 20px; font-weight: 800; color: var(--navy); position: relative; padding-bottom: 8px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px; background: var(--red); border-radius: 2px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; display: block; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 991px) {
    .page-header-search { margin-top: 16px; }
    .toolbar { align-items: flex-start; }
}
@media (max-width: 768px) {
    .page-header h1 { font-size: 26px; }
    .filter-card { margin-bottom: 16px; }
    .cta-strip-item { margin-bottom: 20px; }
    .toolbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 576px) {
    .page-header { padding: 28px 0; }
    .contact-form-card { padding: 18px; }
}
