/* =========================================
   1. GLOBAL STYLES & RESETS
   ========================================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scroll on full-width gallery */
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

/* Default container (used for Resume) */
.container {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.container.dashboard-width {
    max-width: 1200px;
}

h1 {
    font-weight: 800;
    font-size: 3rem;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.05em;
}

/* =========================================
   2. RESUME SPECIFIC STYLES
   ========================================= */
.section-title {
    color: #4f46e5;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-top: 40px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.skill-tag {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-card { margin-top: 30px; }
.job-header { display: flex; justify-content: space-between; align-items: center; }
.job-title { font-weight: 700; font-size: 1.25rem; color: #1e293b; }
.company-name { color: #4f46e5; font-weight: 600; margin-bottom: 10px; }

/* =========================================
   3. DASHBOARD / OPTION DATA STYLES
   ========================================= */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.count-badge {
    background-color: #e0e7ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid #e2e8f0; }
th { color: #64748b; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; background-color: #f8fafc; }
tr:hover { background-color: #f8fafc; }

/* =========================================
   4. TICKER LOOKUP PAGE
   ========================================= */
.results-container { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .results-container { grid-template-columns: 1fr; } }

.column { background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; overflow: hidden; display: flex; flex-direction: column; height: fit-content; }
.column-header { padding: 15px; text-align: center; font-weight: 700; text-transform: uppercase; color: #fff; font-size: 0.95em; }
.col-calls { border-top: 4px solid #10b981; } .col-calls .column-header { background: #10b981; }
.col-puts-bought { border-top: 4px solid #ef4444; } .col-puts-bought .column-header { background: #ef4444; }
.col-puts-sold { border-top: 4px solid #f59e0b; } .col-puts-sold .column-header { background: #f59e0b; }

/* =========================================
   5. FULL-WIDTH PHOTO GALLERY (Google Photos Style)
   ========================================= */
.full-width-gallery {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
}

/* Floating Overlay Badge */
.floating-count-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(15, 23, 42, 0.75);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px); /* Blur effect for the photo behind it */
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.collage-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2px; /* Thin aesthetic gap */
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.collage-item {
    flex-grow: 1;
    height: 350px; /* High-end uniform row height */
    min-width: 250px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.collage-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

/* Prevents the last row from stretching too wide */
.collage-container::after {
    content: "";
    flex-grow: 99999;
}

/* Responsive height for mobile */
@media (max-width: 640px) {
    .collage-item {
        height: 200px;
    }
}