/* Enhanced Policy Page Styles */

/* Policy Section Background */
.policy-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

/* Policy Cards Enhancement */
.policy-card {
    background: #fff;
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.policy-card h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 1rem;
    font-weight: 600;
}

/* Enhanced Cancellation Table */
.cancellation-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    transition: background-color 0.3s ease;
}

.table-row.header {
    background: #2c3e50;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.table-row:not(.header) {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.table-row:not(.header):nth-child(even) {
    background: #f8f9fa;
}

.table-row:not(.header):hover {
    background: #e8f5e9;
}

.table-cell {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.table-cell:last-child {
    justify-content: flex-end;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Special styling for refund amounts */
.table-row:not(.header) .table-cell:last-child {
    color: #2e7d32;
}

.table-cell.full {
    color: #d32f2f !important;
}

/* Bullet Points Styling */
.policy-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-card ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
    line-height: 1.8;
}

.policy-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Important Notes Styling */
.policy-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.policy-card p strong {
    color: #333;
    font-weight: 600;
}

/* Contact Info Card Enhancement */
.contact-info-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.contact-info-card h2 {
    color: #fff;
    border-bottom-color: #d4af37;
    margin-bottom: 1.5rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.contact-method strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.contact-method span {
    font-size: 1.2rem;
    color: #fff;
}

/* Notice Items Enhancement */
.notice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.notice-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #d4af37;
    transition: all 0.3s ease;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.notice-item h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-item p {
    margin-bottom: 0;
    color: #666;
    font-size: 1rem;
}

/* Refund Info Enhancement */
.refund-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.refund-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-top: 3px solid #d4af37;
}

.refund-item h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Special Highlight for Weather Cancellation */
.policy-card:first-child {
    border: 2px solid #d4af37;
    position: relative;
}

.policy-card:first-child::before {
    content: '重要';
    position: absolute;
    top: -12px;
    right: 2rem;
    background: #d4af37;
    color: #fff;
    padding: 0.3rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-card {
        padding: 2rem;
    }
    
    .policy-card h2 {
        font-size: 1.5rem;
    }
    
    .table-cell {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notice-list,
    .refund-info {
        grid-template-columns: 1fr;
    }
}

/* Animation for important information */
@keyframes highlight {
    0% { background-color: transparent; }
    50% { background-color: rgba(212, 175, 55, 0.1); }
    100% { background-color: transparent; }
}

.policy-card:first-child .table-row:not(.header) {
    animation: highlight 3s ease-in-out infinite;
}