/* ==========================================================================
   Dubai Home - Institutional Real Estate Advisory
   Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base Styles & Typography
   -------------------------------------------------------------------------- */
body {
    background-color: #ffffff;
    color: #111827;
    -webkit-font-smoothing: antialiased;
}

/* Text selection color for premium feel */
::selection {
    background: #172B85;
    color: white;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #E5E7EB;
}

/* --------------------------------------------------------------------------
   Grid & Layout Components
   -------------------------------------------------------------------------- */

/* McKinsey-style Grid Borders */
.grid-border {
    border: 1px solid #E5E7EB;
}

.grid-border > * {
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

/* --------------------------------------------------------------------------
   Cards & Interactive Elements
   -------------------------------------------------------------------------- */
.report-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(23, 43, 133, 0.1);
    border-color: #172B85;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Modal Styles
   -------------------------------------------------------------------------- */
#article-modal,
#case-study-modal {
    transition: opacity 0.3s ease;
}

#article-panel,
#case-study-panel {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Prose Typography (for modal content)
   -------------------------------------------------------------------------- */
.prose h3 {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #0B1644;
}

.prose p {
    color: #6B7280;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose ul li {
    color: #6B7280;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .glass-nav {
        background: rgba(255, 255, 255, 0.98);
    }
}

