/* Policy Page Styles - 訂房須知頁面樣式 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #7c9bb5, #9bb0c4);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Main Content */
.policy-main {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Notice Section */
.notice-section {
    padding: 2rem 0;
}

.notice-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124, 155, 181, 0.1);
    text-align: center;
    border-left: 4px solid #7c9bb5;
}

.notice-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c9bb5, #9bb0c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.notice-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #4a453f;
    margin-bottom: 1.5rem;
}

.notice-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styles */
.section-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124, 155, 181, 0.1);
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #4a453f;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7c9bb5, #9bb0c4);
    border-radius: 2px;
}

/* Check-in Section */
.checkin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.checkin-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkin-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 155, 181, 0.2);
}

.checkin-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c9bb5, #9bb0c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.checkin-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #4a453f;
    margin-bottom: 1rem;
}

.checkin-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: #7c9bb5;
    margin-bottom: 1.5rem;
}

.checkin-notes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkin-notes li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.checkin-notes li::before {
    content: '•';
    color: #7c9bb5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Booking Section */
.booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.booking-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid #7c9bb5;
}

.booking-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #4a453f;
    margin-bottom: 1.5rem;
}

.payment-methods,
.deposit-policy,
.booking-notes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-methods li,
.deposit-policy li,
.booking-notes li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666;
    border-bottom: 1px solid #e9ecef;
}

.payment-methods li:last-child,
.deposit-policy li:last-child,
.booking-notes li:last-child {
    border-bottom: none;
}

.payment-methods i {
    color: #7c9bb5;
    width: 20px;
}

/* Cancellation Section */
.cancellation-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(124, 155, 181, 0.1);
}

.cancellation-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.cancellation-table th {
    background: #7c9bb5;
    color: white;
    padding: 1.2rem;
    text-align: left;
    font-weight: 500;
}

.cancellation-table td {
    padding: 1.2rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.cancellation-table tr:last-child td {
    border-bottom: none;
}

.refund-rate {
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.refund-high .refund-rate {
    background: #d4edda;
    color: #155724;
}

.refund-good .refund-rate {
    background: #d1ecf1;
    color: #0c5460;
}

.refund-medium .refund-rate {
    background: #fff3cd;
    color: #856404;
}

.refund-low .refund-rate {
    background: #f8d7da;
    color: #721c24;
}

.refund-minimal .refund-rate {
    background: #f5c6cb;
    color: #721c24;
}

.refund-none .refund-rate {
    background: #f1f3f4;
    color: #495057;
}

.special-cases {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.special-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #4a453f;
    margin-bottom: 1.5rem;
}

.special-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.special-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    color: #666;
}

.special-list i {
    color: #7c9bb5;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.rules-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #7c9bb5;
}

.rules-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #4a453f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rules-subtitle i {
    color: #7c9bb5;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    padding: 0.8rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

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

.rules-list li::before {
    content: '•';
    color: #7c9bb5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Facilities Section */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.facility-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 155, 181, 0.2);
}

.facility-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c9bb5, #9bb0c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.facility-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #4a453f;
    margin-bottom: 1rem;
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.facility-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.facility-list li::before {
    content: '•';
    color: #7c9bb5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 155, 181, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c9bb5, #9bb0c4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #4a453f;
    margin-bottom: 0.5rem;
}

.contact-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7c9bb5;
    margin-bottom: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Agreement Section */
.agreement-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.agreement-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(124, 155, 181, 0.1);
    text-align: center;
    border-top: 4px solid #7c9bb5;
}

.agreement-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #4a453f;
    margin-bottom: 2rem;
}

.agreement-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

.agreement-thanks {
    font-size: 1.1rem;
    color: #7c9bb5;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.agreement-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-content {
        padding: 2rem;
    }
    
    .checkin-grid,
    .booking-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* 4個卡片的區塊在中等屏幕保持2列 */
    .rules-grid,
    .facilities-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* 平板響應式 */
@media (max-width: 850px) {
    .rules-grid,
    .facilities-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .policy-main {
        padding: 2rem 0;
    }
    
    .section-content {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .notice-card {
        padding: 2rem;
    }
    
    .notice-title {
        font-size: 1.5rem;
    }
    
    .checkin-grid,
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cancellation-table {
        font-size: 0.875rem;
    }
    
    .cancellation-table th,
    .cancellation-table td {
        padding: 0.8rem;
    }
    
    .agreement-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
} 