/* ══════════════════════════════════════════════════════
   HAMELIE — collection.css (EXPOSITOR REDESIGN)
   ══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --sidebar-width: 340px;
    --glass-sidebar: rgba(26, 15, 7, 0.85);
    --accent-glow: rgba(255, 133, 49, 0.2);
    --dark-bg: #1A0F07;

    --cream: #FFF8EA;
    --beige: #F3E7D7;
    --brown: #5E371B;
    --terracota: #FF8531;
    --gold: #D8B98A;
    --rose: #EFCFC4;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ── Global Layout ──────────────────────────────────── */
body.exhibitor-mode {
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
}

.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* ── Creative Background (Index Replica) ───────────── */
.exhibitor-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at center, #2D1B0D 0%, #1A0F07 50%, #050301 100%);
}

.light-beam {
    position: absolute;
    top: -50%; left: 0;
    width: 150%; height: 200%;
    background: conic-gradient(from 180deg at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.03) 100%);
    filter: blur(100px);
    transform: rotate(-25deg);
    opacity: 0.6;
}

.luxury-shape {
    position: absolute;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    filter: blur(120px);
    opacity: 0.1;
    animation: flowLuxury 30s infinite alternate ease-in-out;
}

.shape-1 { width: 900px; height: 700px; background: #4A2B15; top: -10%; left: -10%; }
.shape-2 { width: 700px; height: 600px; background: #2D1B0D; bottom: -10%; right: -5%; animation-duration: 25s; animation-delay: -5s; }

.sparkle {
    position: absolute;
    width: 3px; height: 3px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.6);
    animation: pulseSparkle 6s infinite ease-in-out;
}

.sp-1 { top: 20%; left: 15%; }
.sp-2 { top: 60%; left: 85%; animation-delay: -2s; }
.sp-3 { top: 40%; left: 70%; animation-delay: -4s; }

@keyframes flowLuxury {
    0% { transform: translate(0,0) scale(1) rotate(0deg); }
    100% { transform: translate(60px, 40px) scale(1.1) rotate(15deg); }
}

@keyframes pulseSparkle {
    0%, 100% { opacity: 0.2; transform: scale(0.5) rotate(45deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

/* ── Sidebar (Left) ─────────────────────────────────── */
.exhibitor-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    background: var(--glass-sidebar);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--terracota) transparent;
}

.exhibitor-sidebar::-webkit-scrollbar { width: 4px; }
.exhibitor-sidebar::-webkit-scrollbar-thumb { background: var(--terracota); border-radius: 10px; }

.sidebar-logo {
    display: block;
    margin-bottom: 80px;
    text-align: center;
}

.sidebar-logo img {
    height: 32px;
    width: auto;
}

/* Vertical Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}


.nav-indicator {
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(255, 133, 49, 0.1);
    border-radius: 20px;
    pointer-events: none;
    border: 1px solid rgba(255, 133, 49, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.side-divider {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin: 30px 0 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.side-divider::after {
    content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1);
}

.side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
}

.side-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(12px);
}

.side-link:hover .side-link-count {
    background: var(--terracota);
    transform: scale(1.15);
}

.side-link.active {
    background: transparent;
    color: var(--terracota);
    border-color: transparent;
}

.side-link-count {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
}

.side-link.active .side-link-count {
    background: var(--terracota);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-footer p { font-size: 0.7rem; opacity: 0.3; margin-bottom: 20px; }

.side-socials { display: flex; gap: 20px; }
.side-socials a {
    color: #fff;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.side-socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--terracota);
}

/* ── Main Content Area ──────────────────────────────── */
.exhibitor-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 80px 100px 100px;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* Header & Search Area */
.exhibitor-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 40px;
}

.header-tagline {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}

.header-name {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -0.01em;
}

.header-search { width: 400px; }
.search-box-lux { position: relative; width: 100%; }
.search-icon {
    position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
    color: #fff; opacity: 0.4;
}

.search-input-lux {
    width: 100%;
    padding: 18px 30px 18px 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    transition: all 0.4s ease;
}

.search-input-lux:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--terracota);
    box-shadow: 0 15px 40px rgba(255, 133, 49, 0.15), 0 0 0 4px rgba(255, 133, 49, 0.05);
}

/* Grid & Cards */
.exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 50px;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    cursor: pointer; /* Whole card is clickable */
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-20px) scale(1.02);
    border-color: rgba(255, 133, 49, 0.3);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.card-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 36px;
    overflow: hidden;
    background: #000;
}

.card-visual img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.8;
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-visual img { transform: scale(1.1); opacity: 1; }

.card-badge {
    position: absolute; top: 24px; left: 24px;
    padding: 8px 18px;
    background: var(--terracota);
    border-radius: 50px;
    font-size: 0.65rem; font-weight: 800;
    text-transform: uppercase; color: #fff;
    box-shadow: 0 5px 15px rgba(255, 133, 49, 0.6); /* Increased shadow */
    z-index: 5;
    opacity: 1 !important; /* Force visibility */
}

/* Hover Content Overlay */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s ease;
}

.product-card:hover .card-hover-overlay {
    opacity: 1;
}

.card-mini-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.product-card:hover .card-mini-desc { transform: translateY(0); }

.card-actions {
    display: flex;
    gap: 12px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.product-card:hover .card-actions { transform: translateY(0); }

.btn-card-wa, .btn-card-info {
    flex: 1;
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-card-wa {
    background: #25D366;
    color: #fff;
    border: none;
}

.btn-card-info {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-card-wa:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-card-info:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

.card-body { padding: 25px 10px 10px; text-align: center; }
.card-name {
    font-family: var(--font-display);
    font-size: 1.6rem; color: #fff;
    margin-bottom: 5px;
    transition: 0.3s;
}

.product-card:hover .card-name { color: var(--terracota); }

.card-details { display: none; } /* Hide by default as requested */

/* ── Modal Details ────────────────────────────── */
.modal-product {
    position: fixed; inset: 0;
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: all 0.5s ease;
}

.modal-product.open {
    opacity: 1; pointer-events: auto;
}

.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    width: 90%; max-width: 900px;
    background: var(--dark-bg);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-product.open .modal-content { transform: scale(1); }

.modal-left { 
    flex: 1.2; 
    position: relative; 
    display: flex;
    flex-direction: column;
}
.modal-main-img { flex: 1; min-height: 0; }
.modal-main-img img { width: 100%; height: 100%; object-fit: cover; }

.modal-gallery {
    height: 120px;
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    overflow-x: auto;
    scrollbar-width: none;
}
.modal-gallery::-webkit-scrollbar { display: none; }

.gallery-thumb {
    width: 80px; height: 100%; 
    border-radius: 12px; 
    object-fit: cover; 
    cursor: pointer; 
    opacity: 0.5;
    transition: 0.3s;
    border: 2px solid transparent;
}
.gallery-thumb.active { opacity: 1; border-color: var(--terracota); }

.modal-right {
    flex: 1;
    padding: 60px;
    display: flex; flex-direction: column;
}

.modal-close {
    position: absolute; top: 30px; right: 30px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none; color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}

.modal-close:hover { background: var(--terracota); transform: rotate(90deg); }

.modal-tag { color: var(--gold); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 15px; display: block; }
.modal-title { font-family: var(--font-display); font-size: 3rem; color: #fff; margin-bottom: 25px; line-height: 1.1; }
.modal-desc { font-size: 1.1rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 40px; }

.modal-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.info-item label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 8px; }
.info-item span { font-size: 1.2rem; font-weight: 600; color: #fff; }

.modal-actions { margin-top: auto; }
.btn-modal-wa {
    width: 100%; padding: 20px;
    background: #25D366; color: #fff;
    border: none; border-radius: 100px;
    font-size: 1.1rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: 0.3s;
}

.btn-modal-wa:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); }

@media (max-width: 900px) {
    .modal-content { flex-direction: column; width: 95%; max-height: 90vh; overflow-y: auto; }
    .modal-left { height: 300px; }
    .modal-right { padding: 40px 30px; }
    .modal-title { font-size: 2rem; }
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1; padding: 120px 0; text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.empty-state p { font-size: 1.4rem; opacity: 0.5; margin-bottom: 25px; font-family: var(--font-display); }

.btn-clear-search {
    padding: 14px 30px;
    background: transparent;
    border: 1px solid var(--terracota);
    color: var(--terracota);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-search:hover {
    background: var(--terracota);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 133, 49, 0.2);
}

/* ── Mobile Adaptation ─────────────────────────── */
.mobile-header {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background: rgba(26, 15, 7, 0.9); backdrop-filter: blur(20px); z-index: 1100;
    padding: 0 30px; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px); z-index: 999; opacity: 0; pointer-events: none; transition: 0.5s ease;
}

.sidebar-overlay.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
    .exhibitor-sidebar { transform: translateX(-100%); width: 320px; }
    .exhibitor-sidebar.open { transform: translateX(0); }
    .exhibitor-main { margin-left: 0; padding: 120px 30px 60px; }
    .mobile-header { display: flex; }
    .exhibitor-header { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
    .header-search { width: 100%; }
    .header-name { font-size: 3rem; }
    .exhibitor-grid { grid-template-columns: 1fr; gap: 20px; }
}

.sidebar-toggle {
    width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center;
    justify-content: center; cursor: pointer; color: #fff;
}
