@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --tsinghua-purple: #722F37;
    --tsinghua-light-purple: #8B4A52;
    --tsinghua-gold: #FFD700;
    --tsinghua-dark: #4A1F25;
    --gradient-primary: linear-gradient(135deg, #722F37 0%, #8B4A52 100%);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 0px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(114, 47, 55, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 45px;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--tsinghua-purple);
    background: rgba(114, 47, 55, 0.1);
}

.lang-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.page-section {
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    color: white;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
    padding: 2rem;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}

.cta-button {
    background: white;
    color: var(--tsinghua-purple);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    box-shadow: var(--shadow-heavy);
    margin-left: 3rem;
}

/* Members Section */
.members {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    box-shadow: var(--shadow-light);
}

.members h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    margin-bottom: 1rem;
}

.community-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-secondary);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #4a5568;
}

/* Event Highlights Section */
.event-highlights {
    background: #f8f9fa;
    padding: 4rem 0;
}

.event-highlights h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    margin-bottom: 3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.highlight-card {
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tsinghua-gold);
    margin-bottom: 1rem;
}

.highlight-content p {
    color: #4a5568;
    line-height: 1.5;
}

.highlight-content .event-date {
    background: var(--tsinghua-purple);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    margin: 0;
}

.highlight-register-btn {
    background: var(--tsinghua-purple);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.highlight-register-btn:hover {
    background: var(--tsinghua-dark);
    transform: translateY(-2px);
}

.events-cta {
    text-align: center;
}

/* Events Page Styles */
.events-hero {
    text-align: center;
    padding: 3rem 0;
    background: var(--gradient-secondary);
    margin-bottom: 3rem;
}

.events-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    margin-bottom: 1rem;
}

.events-hero p {
    font-size: 1.2rem;
    color: #6b7280;
}

.section-container {
    background: white;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-light);
}

.bylaws-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    margin-bottom: 1rem;
}

.bylaws-button {
    display: inline-block;
    text-decoration: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
}

.view-all-btn, .calendar-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.view-all-btn:hover, .calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Highlights Section */
.highlights-horizontal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.highlight-main {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.highlight-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.highlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.highlight-badge {
    background: var(--tsinghua-gold);
    color: var(--tsinghua-dark);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.highlight-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.learn-more-btn {
    background: white;
    color: var(--tsinghua-purple);
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition);
}

.highlights-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-mini {
    display: flex;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    transition: var(--transition);
}

.highlight-mini:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.highlight-mini img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.mini-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-tag {
    background: var(--tsinghua-purple);
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--tsinghua-purple);
    color: white;
}

/* Upcoming Events */
.featured-event {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
}

.event-date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.event-date {
    text-align: center;
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    min-width: 120px;
    width: 120px;
    color: white;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-date .year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.event-info p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.event-details {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.event-details span {
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
    margin: 0;
    background: none !important;
    background-color: transparent !important;
}

.register-btn {
    background: var(--tsinghua-gold);
    color: var(--tsinghua-dark);
    border: none;
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 120px;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.small-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.small-event {
    background: white;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 3px solid var(--tsinghua-purple);
    position: relative;
    overflow: hidden;
}

.small-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(114, 47, 55, 0.2);
}

.small-date {
    margin-bottom: 0;
    background: var(--tsinghua-purple);
    color: white;
    padding: 0.5rem 1rem;
    margin: -0.5rem auto 0.5rem auto;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

.small-date .month {
    display: inline;
}

.small-date .year {
    display: inline;
    margin-left: 0.25rem;
}

.small-event h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin: 0;
    line-height: 1.3;
}

.small-desc {
    font-size: 0.9rem;
    color: #64748b;
    font-style: normal;
    margin: 0;
    font-weight: 400;
}

.small-location {
    font-size: 0.9rem;
    color: var(--tsinghua-purple);
    font-weight: 600;
    display: inline-block;
}

.small-location::before {
    content: '📍';
    margin-right: 0.25rem;
}

/* Timeline */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.event-card.vertical .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
}

.event-card.horizontal {
    display: flex;
}

.event-card.horizontal .card-image {
    flex: 1;
    position: relative;
}

.event-card.horizontal .card-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.date-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--tsinghua-purple);
    color: white;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.date-badge span {
    background: var(--tsinghua-purple);
    color: white;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.event-type {
    background: #e2e8f0;
    color: #475569;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tsinghua-purple);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.venue, .location {
    font-size: 0.9rem;
    color: #6b7280;
}

.join-btn {
    background: var(--tsinghua-purple);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.join-btn:hover {
    background: var(--tsinghua-dark);
}

/* Timeline */
.activities-timeline {
    position: relative;
}

.timeline-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.timeline-item {
    text-align: center;
}

.timeline-marker {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.timeline-card {
    background: #f8f9fa;
    padding: 1.5rem;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.timeline-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 1rem;
}

.timeline-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.timeline-card li {
    padding: 0.25rem 0;
    color: #4a5568;
}

.season-btn {
    background: var(--tsinghua-purple);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.season-btn:hover {
    background: var(--tsinghua-dark);
    transform: translateY(-2px);
}

/* About Page */
.about .container > h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tsinghua-purple);
    text-align: center;
    margin-bottom: 2rem;
}

.about .container > p {
    font-size: 1.2rem;
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

.mission, .history, .activities, .leadership, .location, .contact-info, .board-members {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.mission h2, .history h2, .activities h2, .leadership h2, .location h2, .contact-info h2, .board-members h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-details a {
    color: var(--tsinghua-purple);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.board-member {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    transition: var(--transition);
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.board-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.board-member h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 0.5rem;
}

.board-member .title {
    font-size: 1rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.board-member .details {
    font-size: 0.9rem;
    color: #6b7280;
}

.activities ul {
    list-style: none;
    padding-left: 0;
}

.activities li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
}

.activities li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tsinghua-purple);
    font-weight: bold;
}

.activities li:last-child {
    border-bottom: none;
}

/* Sponsors Section */
.sponsors {
    background: #f8f9fa;
    padding: 2rem 0;
}

.sponsors h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tsinghua-purple);
    margin-bottom: 1.5rem;
}

.sponsors-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.sponsor-logo {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    filter: grayscale(100%);
}

.sponsor-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Styles for embedded "What We Do" inside the mission section */
.what-we-do {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--gradient-secondary);
    border-left: 4px solid var(--tsinghua-purple);
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    color: #374151;
}

.what-we-do h3 {
    margin: 0 0 0.75rem 0;
    color: var(--tsinghua-purple);
    font-size: 1.25rem;
    font-weight: 600;
}

.what-we-do-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.what-we-do-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.check-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tsinghua-purple);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
}

.what-we-do-item .text {
    color: #4a5568;
}

@media (min-width: 900px) {
    .what-we-do-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
footer {
    background: var(--tsinghua-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Past Events Gallery */
.past-events-gallery {
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(60%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .highlights-horizontal {
        grid-template-columns: 1fr;
    }
    
    .priority-event {
        text-align: center;
    }
    
    .priority-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .event-date-section {
        align-items: center;
    }
    
    .priority-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .timeline-track {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card.horizontal {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    nav {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .section-container {
        padding: 2rem 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
