/* 活動資訊頁面樣式 */
.info-section {
    margin-top: 80px;
    padding-bottom: 4rem;
}

.info-banner {
    position: relative;
    /* background-color: #0066cc; */
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    background-image: url(../images/1920x300.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.info-banner-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.info-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2rem;
}

.info-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 300px;
    display: block;
}

.page-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.info-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 5rem;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    position: relative;
    font-size: 1rem;
}

.section-title {
    color: #333;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.75rem;
    /* border-bottom: 2px solid #0066cc; */
}

/* 活動規則樣式 */
.info-rules {
    margin-bottom: 5rem;
}

.rules-list {
    counter-reset: rule-counter;
    list-style-type: none;
    padding: 0;
    margin-bottom: 4rem;
}

.rules-list li {
    position: relative;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    counter-increment: rule-counter;
    font-size: 1.1rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem;
    color: #333;
    position: relative;
    padding-left: 2.5rem;
}

.rules-list li h3::before {
    content: counter(rule-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 1.8rem;
    font-size: 1rem;
}

.rules-list li p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    padding-left: 2.5rem;
}

/* 活動流程表格樣式 */
.info-schedule {
    margin-bottom: 3rem;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #e0e0e0;
    padding: 1rem;
    text-align: left;
    vertical-align: middle;
}

.schedule-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: center;
    color: #333;
}

.schedule-table td {
    color: #333;
}

.date-cell {
    width: 25%;
    font-weight: 500;
    background-color: #fff;
    text-align: center;
}

.time-cell {
    width: 20%;
    text-align: center;
    font-weight: 500;
}

.event-cell {
    color: #666;
}

.schedule-item {
    margin-bottom: 0.75rem;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-item time {
    font-size: 0.9rem;
    color: #0066cc;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.schedule-item p {
    margin: 0;
    color: #333;
}

/* 活動地點樣式 */
.info-location {
    margin-bottom: 3rem;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-content h2 li {
    color: #fff;
}


.address-info {
    flex: 1;
}

.address-info h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #333;
}

.address-info address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.address-info address p {
    margin: 0.5rem 0;
    color: #555;
}

.transportation h4 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: #333;
}

.transportation ul {
    padding-left: 1.5rem;
    margin: 0;
}

.transportation li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.5;
}

.location-map {
    flex: 1;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.info-actions {
    margin-top: 3rem;
    text-align: center;
}

.action-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.back-button.action-button {
    background-color: #f5f5f5;
    color: #444;
}

.back-button.action-button:hover {
    background-color: #e9e9e9;
    color: #333;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .info-banner {
        height: 200px;
    }

    .info-banner h1 {
        font-size: 2rem;
    }

    .info-banner img {
        max-height: 200px;
    }

    .page-title {
        font-size: 2rem;
    }

    .info-container {
        margin-top: 0px;
        padding: 2.5rem;
    }

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

    .rules-list li h3 {
        font-size: 1.2rem;
    }

    .rules-list li h3::before {
        top: 1rem;
    }

    .schedule-table {
        font-size: 0.9rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.75rem;
    }

    .schedule-item time {
        font-size: 0.8rem;
    }

    .location-map {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .info-banner {
        height: 160px;
    }

    .info-banner h1 {
        font-size: 1.75rem;
    }

    .info-banner img {
        max-height: 150px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .info-container {
        margin-top: 0px;
        padding: 2.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .rules-list li h3 {
        font-size: 1.1rem;
        padding-left: 2rem;
    }

    .rules-list li h3::before {
        top: 1rem;
    }

    .rules-list li p {
        padding-left: 2rem;
        font-size: 1rem;
    }

    .schedule-table {
        font-size: 0.85rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.5rem;
    }

    .schedule-item time {
        font-size: 0.75rem;
    }

    .address-info h3 {
        font-size: 1.3rem;
    }

    .transportation h4 {
        font-size: 1rem;
    }

    .location-map {
        min-height: 250px;
    }
}

@media (min-width: 992px) {
    .location-content {
        flex-direction: row;
    }
}

.notice-list li {
    font-size: 1rem;
}

/* Location Section */
.location-section {
    background-color: #4B2E83;
    color: white;
    padding: 4rem 0;
    margin-top: 4rem;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h2 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-info h2 img {
    width: 40px;
    height: 40px;
}

.location-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-info .news-date {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Rewards Section */
.rewards-section {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.rewards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reward-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.reward-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.reward-item:hover .reward-icon {
    transform: scale(1.2);
}

.reward-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reward-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.reward-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-container {
        height: 350px;
    }

    .rewards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .location-section,
    .rewards-section {
        padding: 5rem 0;
    }

    .location-info h2 {
        font-size: 2rem;
    }

    .location-info h3 {
        font-size: 1.3rem;
    }

    .location-info p {
        font-size: 1rem;
    }

    .map-container {
        height: 300px;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reward-icon {
        width: 100px;
        height: 100px;
    }

    .reward-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {

    .location-section,
    .rewards-section {
        padding: 2.5rem 0;
    }

    .location-container,
    .rewards-container {
        padding: 0 1.5rem;
    }

    .location-info h2 {
        font-size: 1.75rem;
    }

    .map-container {
        height: 250px;
    }
}