/* ============================================
   DID YOU KNOW? CHIP
   ============================================ */
.dyk-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    color: #5a4a2a;
    line-height: 1.5;
    margin: 0.75rem 0 1.5rem 0;
    max-width: 100%;
}

.dyk-chip .dyk-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.dyk-chip strong {
    color: var(--gold, #C9A84C);
    font-weight: 700;
    margin-right: 0.25rem;
}

/* ============================================
   ARABIC WORD SECTION
   ============================================ */
.arabic-block {
    background: rgba(201,168,76,0.06);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.arabic-word {
    font-size: 2.5rem;
    color: var(--text-dark, #1a1008);
    font-weight: 300;
    direction: rtl;
    line-height: 1.2;
    flex-shrink: 0;
}

.arabic-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.arabic-transliteration {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 1.4rem;
    color: var(--gold, #C9A84C);
    letter-spacing: 0.1rem;
}

.arabic-meaning {
    font-size: 0.9rem;
    color: var(--text-muted, #5a4a3a);
    font-style: italic;
}

/* ============================================
   TIMELINE (HISTORICAL PAGES)
   ============================================ */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 1rem;
}

.timeline-item {
    position: relative;
    padding: 0 0 2rem 2.5rem;
    border-left: 2px solid rgba(201,168,76,0.3);
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold, #C9A84C);
    flex-shrink: 0;
}

.timeline-year {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    color: var(--gold, #C9A84C);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.timeline-event {
    font-size: 0.92rem;
    color: var(--text-muted, #5a4a3a);
    line-height: 1.6;
}

/* ============================================
   BEST TIME TO VISIT — HOVER TOOLTIP STRIP
   ============================================ */
.heat-section {
    background: rgba(201,168,76,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.heat-title {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 1.1rem;
    letter-spacing: 0.15rem;
    color: var(--text-dark, #1a1008);
    margin: 0 0 1.25rem 0;
}

.heat-strip {
    display: flex;
    gap: 4px;
    position: relative;
}

.heat-month {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.heat-month-bar {
    width: 100%;
    height: 28px;
    border-radius: 4px;
    transition: transform 0.15s, filter 0.15s;
}

.heat-month:hover .heat-month-bar {
    transform: scaleY(1.15);
    filter: brightness(1.15);
}

.heat-month-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted, #5a4a3a);
    opacity: 0.7;
    letter-spacing: 0.05rem;
}

/* Tooltip */
.heat-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    white-space: nowrap;
    font-size: 0.78rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
    min-width: 130px;
    text-align: center;
}

.heat-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(201,168,76,0.3);
}

.heat-month:hover .heat-tooltip { opacity: 1; }

.heat-tooltip-month {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 0.95rem;
    letter-spacing: 0.1rem;
    color: var(--gold, #C9A84C);
    display: block;
    margin-bottom: 0.3rem;
}

.heat-tooltip-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted, #5a4a3a);
    margin: 0.15rem 0;
}

.heat-tooltip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Weather colors */
.hw-1 { background: #4a9d6f; }
.hw-2 { background: #7aba8f; }
.hw-3 { background: #b8d45a; }
.hw-4 { background: #e8c030; }
.hw-5 { background: #e88020; }
.hw-6 { background: #d44020; }

/* Crowd colors */
.hc-1 { background: #a8d4f0; }
.hc-2 { background: #7aaad0; }
.hc-3 { background: #4a88c0; }
.hc-4 { background: #2a60a0; }
.hc-5 { background: #1a4080; }

/* ============================================
   30-SECOND MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9000;
    animation: fadeIn 0.25s ease;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 560px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s cubic-bezier(.34,1.56,.64,1);
    border-top: 5px solid var(--gold, #C9A84C);
}

body.dark .modal-box {
    background: #1e1e1e;
    border-color: #c8b98a;
}

body.dark .modal-box h2,
body.dark .modal-box .highlight-name { color: #f0ead8; }
body.dark .modal-box .highlight-reason { color: #b0a898; }
body.dark .modal-close { color: #f0ead8; }

.modal-close {
    position: absolute;
    top: 1rem; right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.modal-close:hover { color: #333; }

.modal-box h2 {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 2rem;
    letter-spacing: 0.1rem;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark, #1a1008);
}

.modal-box .modal-subtitle {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 2rem 0;
}

.modal-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-num {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 2rem;
    color: var(--gold, #C9A84C);
    line-height: 1;
    flex-shrink: 0;
    width: 2rem;
}

.highlight-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark, #1a1008);
    margin-bottom: 0.2rem;
}

.highlight-reason {
    font-size: 0.85rem;
    color: var(--text-muted, #5a4a3a);
    line-height: 1.5;
}

.modal-cta {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
}

/* Trigger button (on index/homepage) */
.btn-30sec {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold, #C9A84C);
    color: #1a1008;
    font-family: var(--font-body, 'Nunito');
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.btn-30sec:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.4);
}

/* ============================================
   LOCATION COMPARER
   ============================================ */
.comparer-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid rgba(201,168,76,0.4);
    color: var(--gold, #C9A84C);
    font-family: var(--font-body, 'Nunito');
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.05rem;
}

.comparer-trigger:hover {
    background: var(--gold, #C9A84C);
    color: #1a1008;
}

.comparer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9000;
    animation: fadeIn 0.25s ease;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.comparer-overlay.open { display: flex; }

.comparer-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s cubic-bezier(.34,1.56,.64,1);
    border-top: 5px solid var(--gold, #C9A84C);
}

body.dark .comparer-box {
    background: #1e1e1e;
}

body.dark .comparer-box h2,
body.dark .comparer-col-name,
body.dark .comparer-stat-label { color: #f0ead8; }
body.dark .comparer-stat-value { color: #b0a898; }
body.dark .comparer-select { background: #2a2a2a; color: #f0ead8; border-color: rgba(255,255,255,0.15); }
body.dark .comparer-close { color: #f0ead8; }

.comparer-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark .comparer-header { border-bottom-color: rgba(255,255,255,0.08); }

.comparer-header h2 {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    margin: 0;
    color: var(--text-dark, #1a1008);
}

.comparer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #888;
}

.comparer-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

body.dark .comparer-selects { border-bottom-color: rgba(255,255,255,0.08); }

.comparer-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(201,168,76,0.3);
    border-radius: 8px;
    font-family: var(--font-body, 'Nunito');
    font-size: 0.9rem;
    font-weight: 600;
    background: #fff;
    color: var(--text-dark, #1a1008);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.comparer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.comparer-col {
    padding: 1.5rem 2rem;
}

.comparer-col:first-child {
    border-right: 1px solid rgba(0,0,0,0.08);
}

body.dark .comparer-col:first-child { border-right-color: rgba(255,255,255,0.08); }

.comparer-col-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comparer-col-name {
    font-family: var(--font-display, 'Bebas Neue');
    font-size: 1.6rem;
    letter-spacing: 0.05rem;
    color: var(--text-dark, #1a1008);
    margin-bottom: 0.25rem;
}

.comparer-col-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--gold, #C9A84C);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.comparer-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparer-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem;
    background: rgba(0,0,0,0.03);
    border-radius: 6px;
}

body.dark .comparer-stat { background: rgba(255,255,255,0.04); }

.comparer-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: var(--gold, #C9A84C);
}

.comparer-stat-value {
    font-size: 0.88rem;
    color: var(--text-muted, #5a4a3a);
    line-height: 1.5;
}

.comparer-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
    .comparer-selects,
    .comparer-cols { grid-template-columns: 1fr; }
    .comparer-col:first-child { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); }
    .arabic-block { flex-direction: column; gap: 1rem; }
    .modal-box { padding: 2rem 1.5rem; }
}