* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* 主色调变量 */
:root {
    --primary-color: #c78c8a;     /* 主玫瑰色 */
    --primary-dark: #b27977;      /* 深玫瑰色 */
    --primary-light: #d7a8a6;     /* 浅玫瑰色 */
    --text-dark: #8b5553;         /* 深褐色文字 */
    --background-light: #faf2f2;  /* 超浅玫瑰背景 */
}

nav {
    position: fixed;
    width: 100%;
    padding: 1rem;
    background: rgba(199, 140, 138, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    height: 50px;  /* 根据实际 logo 大小调整 */
}

.logo img {
    height: 100%;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

.logo-deja {
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: 2px;  /* DÉJÀ 的字间距 */
}

.logo-deja .raised {
    display: inline-block;
    transform: translateY(-4px);
}

.logo-brew {
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 1.5px;  /* 减小 BREW 的字间距以匹配 DÉJÀ 的宽度 */
}

.logo:hover {
    color: white;
    transition: color 0.3s ease;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: white;
}

.nav-links a:hover {
    color: var(--background-light);
}

/* ========================================
   EVENTS NAV SPECIAL INDICATOR
   ======================================== */

.nav-links a[href="#events"],
.mobile-nav a[href="#events"] {
    position: relative;
}

.nav-links a[href="#events"].has-active-registration::after,
.mobile-nav a[href="#events"].has-active-registration::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -8px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
    border-radius: 50%;
    animation: registration-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 75, 87, 0.6);
}

.nav-links a[href="#events"].has-active-registration {
    animation: nav-glow 3s ease-in-out infinite;
}

@keyframes registration-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

@keyframes nav-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    }
}

/* Mobile version - larger indicator for touch screens */
.mobile-nav a[href="#events"].has-active-registration::after {
    width: 10px;
    height: 10px;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('images/coffee_shop.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.page-header h1,
.page-header p {
    color: white;
}

.page-header h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
}

section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-margin-top: 80px;
}

section#events {
    padding: 1.5rem 0;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 769px) {
    section#events {
        padding: 4rem 0;
    }
}

section h1, 
section h2, 
section h3 {
    color: var(--text-dark);
}

.section-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
}

.gallery-item {
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ========================================
   EVENT CARDS
   ======================================== */

.event-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Event Header */
.event-card .event-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    background: none;
}

@media (min-width: 769px) {
    .event-card .event-header {
        padding: 1rem 1.5rem;
        padding-bottom: 0.5rem;
    }
}

/* Event Date Badge */
.event-card .event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    min-width: 100px;
    flex-shrink: 0;
    gap: 0.2rem;
}

.event-card .date-day {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.event-card .date-month {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
}

.event-card .date-year {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1;
}

/* Event Info */
.event-card .event-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
}

@media (min-width: 769px) {
    .event-card .event-info {
        flex: 1;
    }
}

.event-card .event-title {
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
}

.event-card .event-price {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Event Description */
.event-card .event-description {
    padding: 0 2rem 1rem 2rem;
}

.event-card .event-description p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.event-card .event-time,
.event-card .event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.event-card .event-time i,
.event-card .event-location i {
    color: var(--primary-color);
    width: 20px;
}

.event-card .event-location a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-card .event-location a:hover {
    color: var(--primary-color);
}

.event-card .event-rsvp-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.event-card .event-rsvp-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}


.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
}

section:nth-child(odd) {
    background-color: var(--background-light);
}

h1, h2, h3 {
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.book-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: var(--primary-dark);
}

.booking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.booking-buttons .book-button {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-buttons .book-button i {
    font-size: 1.2rem;
}

footer {
    padding: 2rem;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    background-color: var(--primary-dark);
}

.social-link i {
    font-size: 1.2rem;
}

footer .address {
    margin: 1rem 0;
    color: white;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section#coworking {
        padding: 4rem 0;
    }
    
    section#coworking h2,
    section#coworking > p {
        padding: 0 1rem;
    }
    
    section#coworking .section-image {
        border-radius: 0;
        margin: 2rem 0;
        max-width: 100%;
    }
    
    footer .address {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* ========================================
   EVENTS GRID LAYOUT
   ======================================== */

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-section {
    width: 100%;
}

.upcoming-section {
    margin-bottom: 2rem;
}

.past-section {
    margin-top: 2rem;
}

.section-subtitle {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.7;
    font-weight: 600;
}

.past-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.no-events {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    padding: 4rem 2rem;
}

/* ========================================
   UPCOMING EVENT STYLES
   ======================================== */

.upcoming-event {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 3px solid var(--primary-color);
    box-shadow: 0 12px 40px rgba(199, 140, 138, 0.4);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.upcoming-event::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(15px);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.4;
        filter: blur(15px);
    }
    50% {
        opacity: 0.6;
        filter: blur(20px);
    }
}

.upcoming-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(199, 140, 138, 0.5);
}

.event-poster {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.upcoming-event:hover .event-poster img {
    transform: scale(1.02);
}

.upcoming-event .event-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: white;
    min-height: 100%;
}

.upcoming-event .event-header {
    padding: 0;
    margin-bottom: 1rem;
    background: none !important;
    display: flex;
    align-items: flex-start;
}

.upcoming-event .event-date {
    background: transparent !important;
    background-image: none !important;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.upcoming-event .event-date .date-day,
.upcoming-event .event-date .date-month,
.upcoming-event .event-date .date-year {
    color: var(--primary-color);
}

.upcoming-event .event-info {
    flex: 1;
}

.upcoming-event .event-title {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upcoming-event .event-price {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.event-status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.03);
    }
}

.upcoming-event .event-description {
    padding: 0;
    margin-top: 1rem;
}

.upcoming-event .event-description p {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

.upcoming-event .event-description * {
    box-sizing: border-box;
}

.upcoming-event .event-time,
.upcoming-event .event-location {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.upcoming-event .event-time i,
.upcoming-event .event-location i {
    color: var(--primary-color);
}

.upcoming-event .event-location a {
    color: var(--text-dark);
    font-weight: 500;
}

.upcoming-event .event-location a:hover {
    color: var(--primary-color);
}

.upcoming-event .event-rsvp-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 6px 20px rgba(199, 140, 138, 0.4);
    font-size: 1rem;
    padding: 1rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.upcoming-event .event-rsvp-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 140, 138, 0.6);
}

/* Desktop layout for upcoming events - side by side */
@media (min-width: 769px) {
    .upcoming-event {
        display: flex;
        flex-direction: row;
        max-width: 1400px;
        min-height: 650px;
        border-radius: 20px;
    }

    .event-poster {
        width: 50%;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px 0 0 20px;
        overflow: hidden;
    }

    .event-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .upcoming-event .event-content {
        width: 50%;
        padding: 3.5rem 3.5rem 3rem 3.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: white;
        border-radius: 0 20px 20px 0;
    }

    .upcoming-event .event-header {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .upcoming-event .event-date {
        flex-shrink: 0;
        min-width: 100px;
        padding: 1rem;
    }

    .upcoming-event .event-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .upcoming-event .event-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: left;
        margin: 0;
    }

    .upcoming-event .event-status-badge {
        align-self: flex-start;
    }

    .upcoming-event .event-price {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .upcoming-event .event-description {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.8rem;
    }

    .upcoming-event .event-description p {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: justify;
        margin-bottom: 1.5rem;
    }

    .upcoming-event .event-time,
    .upcoming-event .event-location {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .upcoming-event .event-rsvp-btn {
        margin-top: 1.5rem;
        align-self: center;
        min-width: 200px;
        text-align: center;
    }
}

/* ========================================
   PAST EVENT STYLES
   ======================================== */

.past-event {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.past-event-overlay {
    position: relative;
    z-index: 1;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.past-event .event-header {
    padding: 0;
    background: transparent;
}

.past-event .event-date {
    background: rgba(199, 140, 138, 0.9);
    backdrop-filter: blur(10px);
}

.past-event .event-title,
.past-event .event-price {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.past-event .event-description {
    padding: 0;
    margin-top: auto;
}

.past-event .event-description p {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.past-event .event-time,
.past-event .event-location {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.past-event .event-time i,
.past-event .event-location i {
    color: var(--primary-light);
}

.past-event .event-location a {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.past-event .event-location a:hover {
    color: var(--primary-light);
}

@media (min-width: 768px) {
    .past-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   SECTION TITLE
   ======================================== */

section#events h2 {
    color: var(--primary-color);
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    section#events h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    section#events {
        padding: 1.5rem 0;
        width: 100%;
    }
    
    .events-grid {
        padding: 0;
        gap: 2rem;
        width: 100%;
        align-items: center;
    }
    
    .events-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        max-width: 100%;
        width: 100%;
    }

    .event-card .event-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .event-card .event-date {
        min-width: 80px;
    }

    .event-card .date-day {
        font-size: 2rem;
    }

    .event-card .date-month {
        font-size: 1rem;
    }

    .event-card .event-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .event-card .event-description {
        padding: 0 1.5rem 1rem 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .event-card .event-description p {
        font-size: 1rem;
        text-align: center;
    }

    .event-card .event-time,
    .event-card .event-location {
        justify-content: center;
        text-align: center;
    }

    .event-card .event-rsvp-btn {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* Upcoming events on mobile */
    .upcoming-event {
        display: flex;
        flex-direction: column;
        border: none;
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        box-shadow: none;
    }
    
    .upcoming-event::before {
        display: none;
    }

    .upcoming-event .event-poster {
        width: 100%;
        min-height: auto;
        height: auto;
        border-radius: 0;
    }

    .upcoming-event .event-poster img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        display: block;
    }

    .upcoming-event .event-content {
        padding: 1.5rem 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .upcoming-event .event-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 0;
        width: 100%;
    }
    
    .upcoming-event .event-info {
        gap: 0.6rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .upcoming-event .event-title {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        line-height: 1.3;
        padding: 0;
        font-weight: 700;
    }

    .upcoming-event .event-description {
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .upcoming-event .event-description * {
        text-align: center !important;
    }

    .upcoming-event .event-description p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        margin-top: 0;
        text-align: center !important;
        width: 100%;
        max-width: 500px;
    }

    .upcoming-event .event-time,
    .upcoming-event .event-location {
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        margin-top: 0;
        line-height: 1.4;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }
    
    .upcoming-event .event-time *,
    .upcoming-event .event-location * {
        text-align: center;
    }
    
    .upcoming-event .event-location a {
        text-align: center;
    }

    .upcoming-event .event-rsvp-btn {
        display: block;
        text-align: center;
        margin: 1.5rem auto 0;
        font-size: 1rem;
        padding: 1rem 2.5rem;
        width: auto;
        min-width: 200px;
        max-width: 90%;
    }
    
    .event-card .event-status-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
        margin: 0.4rem 0;
    }
    
    .upcoming-event .event-price {
        font-size: 1rem;
        margin: 0;
        line-height: 1.2;
        font-weight: 600;
        text-align: center;
    }
    
    .upcoming-event .event-date {
        padding: 0.8rem 1rem;
        min-width: 80px;
        gap: 0.2rem;
    }
    
    .upcoming-event .event-date .date-day {
        font-size: 2rem;
        line-height: 1;
        margin: 0;
    }
    
    .upcoming-event .event-date .date-month {
        font-size: 1rem;
        line-height: 1;
        margin: 0;
        padding: 0.2rem 0;
    }
    
    .upcoming-event .event-date .date-year {
        font-size: 0.85rem;
        line-height: 1;
        margin: 0;
    }

    /* Past events grid */
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .past-event {
        min-height: 350px;
    }
    
    .past-event-overlay {
        padding: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}

/* 更新关键词动画样式 */
.keyword1, .keyword2 {
    display: inline-block;
    position: relative;
    color: var(--primary-color);
    min-width: 120px;
    text-align: left;
}

/* 只在打字时显示光标 */
.keyword1.typing::after, 
.keyword2.typing::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 10%;
    height: 80%;
    width: 2px;
    background-color: var(--primary-color);
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 移动端导航菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--primary-color);
    padding: 80px 40px;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
    opacity: 0.8;
}

/* 当菜单打开时的样式 */
.menu-open .mobile-nav {
    right: 0;
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

.company-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #4A3536;
    margin-left: -2rem;  /* 抵消父元素的 padding */
    margin-right: -2rem;
    margin-bottom: -2rem;  /* 延伸到底部边缘 */
}

.company-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.company-info .company-name {
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 0.3rem;
    opacity: 1;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-top: 3rem;
}

.artist-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Tattoo section: show full cover image (no crop) */
section#tattoo .section-image {
    height: auto;
    max-height: 700px;
    object-fit: contain;
}

/* Tattoo artist cards: remove white background and shadow to highlight images */
section#tattoo .artist-card {
    background: transparent;
    box-shadow: none;
    padding: 1rem;
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    cursor: pointer;
}

/* Larger card images on desktop */
section#tattoo .artist-photo {
    height: 320px;
}

@media (max-width: 768px) {
    section#tattoo .section-image {
        max-height: 60vh;
    }
    section#tattoo .artist-photo {
        height: 260px;
    }
}

.artist-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.artist-style {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.artist-link {
    color: var(--text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.artist-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

.airbnb-info {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
}

.amenities {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.amenity-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.airbnb-gallery {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.airbnb-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    padding: 2rem;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close-btn {
    position: absolute;
    right: 2rem;
    top: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.prev-btn { left: 2rem; }
.next-btn { right: 2rem; }

@media (max-width: 768px) {
    .airbnb-gallery .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        margin: 0 -1rem;  /* 让图片区域比容器更宽 */
    }
    
    .gallery-item.large {
        grid-column: auto;
    }
    
    .gallery-item {
        margin: 0.5rem 0;
        border-radius: 0;  /* 移动端去掉圆角，让图片更宽 */
    }
    
    .gallery-item img {
        border-radius: 0;  /* 移动端去掉圆角 */
    }
    
    .amenities {
        gap: 1rem;
    }
    
    .amenity-item {
        font-size: 1rem;
    }
}

/* 展览部分样式 */
.exhibitions-section {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.exhibition-block {
    margin-bottom: 60px;
}

.exhibition-block h2 {
    color: #8B6B61;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.exhibition-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.exhibition-content img {
    width: 50%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.exhibition-details {
    flex: 1;
}

.exhibition-details h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.exhibition-details .artists {
    line-height: 1.8;
    margin: 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.exhibition-details .artists .artist-link {
    color: #8B6B61;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(139, 107, 97, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.exhibition-details .artists .artist-link i {
    font-size: 0.85em;
    opacity: 0.8;
}

.exhibition-details .artists .artist-link:hover {
    color: var(--primary-color);
    background: rgba(199, 140, 138, 0.15);
    transform: translateY(-2px);
}

.exhibition-details .date,
.exhibition-details .duration {
    font-size: 1.1em;
    color: #8B6B61;
    margin-bottom: 10px;
}

.exhibition-details .description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-top: 20px;
}

/* Past Exhibitions: card grid layout */
.exhibition-block.past-exhibition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.exhibition-block.past-exhibition > h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.exhibition-block.past-exhibition .exhibition-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exhibition-block.past-exhibition .exhibition-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.exhibition-block.past-exhibition .exhibition-content img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.exhibition-block.past-exhibition .exhibition-details {
    padding: 16px 18px 20px;
}

.exhibition-block.past-exhibition .exhibition-details h3 {
    margin-bottom: 8px;
}

.exhibition-block.past-exhibition .exhibition-details .date,
.exhibition-block.past-exhibition .exhibition-details .duration {
    margin-bottom: 6px;
}

.exhibition-block.past-exhibition .exhibition-details .description {
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .exhibition-block.past-exhibition {
        gap: 16px;
        grid-template-columns: 1fr;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .exhibition-content {
        flex-direction: column;
    }

    .exhibition-content img {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .exhibition-block h2 {
        font-size: 2em;
    }

    .exhibition-details h3 {
        font-size: 1.5em;
    }

    .exhibition-details .artists {
        justify-content: center;
        text-align: center;
    }
    
    .exhibition-details .artists .artist-link {
        font-size: 0.9em;
        padding: 4px 10px;
    }
}

/* 桌面版语言切换器 */
.language-switcher {
    position: relative;
    margin-left: 2rem;
}

.lang-select {
    appearance: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.3rem 1.8rem 0.3rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 8px;
}

.lang-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.lang-select:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.lang-select option {
    background: var(--primary-color);
    color: white;
    padding: 10px;
}

/* 移动版语言切换器 */
.mobile-language-switcher {
    display: none;
    margin-top: 2rem;
    padding: 0 1rem;
}

.mobile-language-switcher .lang-select {
    width: 100%;
    padding: 0.8rem 2rem 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    background-position: right 1rem center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-language-switcher .lang-select:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .language-switcher {
        display: none;  /* 隐藏桌面版语言切换器 */
    }
    
    .mobile-language-switcher {
        display: block;  /* 显示移动版语言切换器 */
    }
    
    .mobile-nav {
        padding-bottom: 2rem;  /* 为语言切换器留出空间 */
    }
}

/* Shareholder Program Styles */
.shareholder-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/coffee_shop.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    margin-top: 80px;
}

.shareholder-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.shareholder-header p {
    font-size: 1.2rem;
    max-width: 600px;
}

.shareholder-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card.gold {
    border: 2px solid #FFD700;
}

.tier-card.black {
    border: 2px solid #000;
    background: #000;
    color: white;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tier-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tier-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-price .amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.tier-price .equity {
    font-size: 1rem;
    color: var(--primary-color);
}

.tier-card.black .tier-price .equity {
    color: #FFD700;
}

.tier-benefits h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.tier-card.black .tier-benefits h3 {
    color: white;
}

.tier-benefits ul {
    list-style: none;
    padding: 0;
}

.tier-benefits li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tier-benefits i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.tier-card.black .tier-benefits i {
    color: #FFD700;
}

@media (max-width: 768px) {
    .shareholder-header {
        height: 50vh;
        margin-top: 60px;
    }

    .shareholder-header h1 {
        font-size: 2.5rem;
    }

    .shareholder-tiers {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .tier-card {
        padding: 1.5rem;
    }
}

/* ========================================
   EVENT SPACE RENTAL MODULE
   ======================================== */

.rental-module {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.rental-module::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.rental-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(199, 140, 138, 0.3);
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(199, 140, 138, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(199, 140, 138, 0.4);
    }
}

.rental-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.rental-description {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.warehouse-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.warehouse-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
}

.warehouse-gallery-item.large {
    grid-row: span 2;
    height: 100%;
}

.warehouse-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.warehouse-gallery-item:hover img {
    transform: scale(1.08);
}

.warehouse-gallery-item::after {
    content: '🔍 Click to view';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.warehouse-gallery-item:hover::after {
    opacity: 1;
}

.rental-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.rental-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rental-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(199, 140, 138, 0.2);
}

.rental-feature i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.rental-feature span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.rental-pricing {
    background: linear-gradient(135deg, rgba(199, 140, 138, 0.1), rgba(215, 168, 166, 0.1));
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.regular-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.price-label {
    font-size: 1rem;
    color: var(--text-dark);
}

.price-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: line-through;
}

.special-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.special-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B, #FF4757);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.special-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.special-note {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
}

.rental-location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 2rem 0;
}

.rental-location i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.rental-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.rental-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 6px 25px rgba(199, 140, 138, 0.4);
    transition: all 0.3s ease;
}

.rental-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(199, 140, 138, 0.6);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.rental-button i {
    font-size: 1.3rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .rental-module {
        padding: 2rem 1rem;
        margin: 2rem 0;
        border-radius: 0;
        max-width: 100%;
    }
    
    .rental-module::before {
        border-radius: 0;
    }
    
    .rental-badge {
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }
    
    .rental-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .rental-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .rental-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem -0.5rem;
    }
    
    .rental-feature {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .rental-pricing {
        padding: 1.5rem 0.5rem;
        margin: 2rem -0.5rem;
    }
    
    .regular-price {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .special-amount {
        font-size: 2rem;
    }
    
    .rental-location {
        flex-direction: row;
        text-align: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 0.5rem;
    }
    
    .rental-cta {
        padding: 0 0.5rem;
    }
    
    .rental-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .warehouse-gallery {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 1.5rem -1rem;
        border-radius: 0;
    }
    
    .warehouse-gallery-item {
        height: 300px;
        border-radius: 0;
    }
    
    .warehouse-gallery-item.large {
        grid-row: auto;
        height: 300px;
    }
}
