/* Main CSS - Variables, Reset, Typography */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Brand (Ankura Style) */
    --color-primary: #1A2B4C;
    /* Authority Navy */
    --color-primary-dark: #0F1A30;
    --color-accent: #D32F2F;
    /* Signature Red */
    --color-accent-hover: #B71C1C;

    /* Colors - Neutrals */
    --color-bg: #F8F9FA;
    /* High-Tech White */
    --color-surface: #FFFFFF;
    --color-surface-glass: rgba(255, 255, 255, 0.6);
    /* Glassmorphism */
    --color-text: #1A2B4C;
    /* Navy for text too, for sharp contrast */
    --color-text-light: #64748B;
    /* Slate 500 */
    --color-border: #E2E8F0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1A2B4C 0%, #0F1A30 100%);
    --gradient-accent: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    /* Luxury */
    --font-body: 'Outfit', sans-serif;
    /* Modernity */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows - Anti-Gravity */
    --shadow-sm: 0 4px 6px rgba(26, 43, 76, 0.05);
    --shadow-md: 0 10px 30px rgba(26, 43, 76, 0.08);
    --shadow-lg: 0 25px 50px rgba(26, 43, 76, 0.12);
    --shadow-floating: 0 30px 60px rgba(26, 43, 76, 0.15);
    --shadow-glow: 0 0 20px rgba(211, 47, 47, 0.15);
    /* Red glow */

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 4rem;
    /* Larger for impact */
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1400px;
    /* Wider container for Ankura style */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.bg-surface {
    background-color: var(--color-surface);
}

.bg-primary {
    background: var(--gradient-primary);
    color: white;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Bento Grid Utility */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: var(--spacing-md);
}

.bento-item {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.wide,
    .bento-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}