/* ============================================
   FONT FACE DEFINITIONS
   ============================================ */

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../gilroy/Gilroy-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* ============================================
   ROOT VARIABLES
   ============================================ */

:root {
    /* Colors */
    --color-white: #fff;
    --color-off-white: #fafafa;
    --color-dark: #0D0D0D;
    --color-dark-grey: #1a1a1a;
    --color-light-grey: #f5f5f5;
    --color-medium-grey: #666;
    --color-border: #e0e0e0;
    --color-text: #2a2a2a;
    --color-text-light: #666;
    --color-accent: #0D0D0D;
    
    /* Typography */
    --font-primary: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Font Sizes - Responsive */
    --text-xs: clamp(0.75rem, 1vw, 0.875rem);
    --text-sm: clamp(0.875rem, 1.2vw, 1rem);
    --text-base: clamp(1rem, 1.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.8vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 2rem);
    --text-3xl: clamp(2rem, 4vw, 3rem);
    --text-4xl: clamp(3rem, 6vw, 4.5rem);
    --text-5xl: clamp(4rem, 8vw, 6rem);
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-weight: 300;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

/* ============================================
   HEADER
   ============================================ */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

#header.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    margin-top: 80px;
    padding: 6rem 5% 4rem;
  
    text-align: center;
    position: relative;
    overflow: hidden;
}



.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: var(--text-lg);
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.page-header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 4rem 5%;
    /* background: var(--color-off-white); */
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   MONTH SECTIONS
   ============================================ */

.month-section {
    margin-bottom: 5rem;
}

.month-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.month-icon {
    width: 70px;
    height: 70px;
    background: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.month-info h2 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.month-count {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    font-weight: 500;
}

/* ============================================
   EVENTS LIST
   ============================================ */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Event Card */
.event-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: grid;
    grid-template-columns: 180px 1fr auto;
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-dark);
}



.event-card.past {
    opacity: 0.6;
}

/* Event Date */
.event-date {
    background: var(--color-light-grey);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.date-day {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.date-month {
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.date-year {
    font-size: var(--text-xs);
    opacity: 0.7;
}

/* Event Info */
.event-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-type {
    font-size: var(--text-xs);
    color: var(--color-text-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item svg {
    color: var(--color-dark);
    flex-shrink: 0;
}

.event-description {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-text);
}

/* Event Actions */
.event-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
    border-left: 1px solid var(--color-border);
    min-width: 200px;
}

.event-status {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    text-align: center;
    white-space: nowrap;
}

.event-status.upcoming {
    background: var(--color-dark);
    color: var(--color-white);
}

.event-status.past {
    background: var(--color-light-grey);
    color: var(--color-text-light);
}

.event-status.sold-out {
    background: #d32f2f;
    color: var(--color-white);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-border);
    border-radius: 2rem;
    font-family: var(--font-primary);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-small:hover {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    opacity: 1;
}

.btn-small.outline {
    background: transparent;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
    padding: 3rem 5%;
}

footer p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .event-card {
        grid-template-columns: 150px 1fr;
    }

    .event-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        border-left: none;
        border-top: 1px solid var(--color-border);
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 4rem 5% 3rem;
    }

    .page-header h1 {
        font-size: var(--text-4xl);
    }

    .page-header-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .month-header {
        gap: 1rem;
    }

    .month-icon {
        width: 60px;
        height: 60px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-date {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 1.5rem;
    }

    .date-day {
        font-size: var(--text-3xl);
    }

    .event-info {
        padding: 1.5rem;
    }

    .event-actions {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .main-content {
        padding: 3rem 5%;
    }

    .month-section {
        margin-bottom: 3rem;
    }

    .event-info {
        padding: 1.25rem;
    }

    .event-details {
        flex-direction: column;
        gap: 0.75rem;
    }

    .event-actions {
        flex-direction: column;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }