@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

/* Global Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 60px 0 0;
}

/* Pricing Page General Styles */
.pricing-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 5rem; /* Adjusted for consistency */
    text-align: center;
}

/* Pricing Header */
.pricing-header h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #ffb187, #e521d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.pricing-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Pricing Tables */
.pricing-tables {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Pricing Cards */
.pricing-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
    font-family: 'Montserrat', 'Playfair Display', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

.featured {
    background: linear-gradient(135deg, #fad4e3, #fa9fc5);
    color: #fff;
    transform: scale(1.05);
}

.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Price Section */
.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff77bd;
}

.price span {
    font-size: 0.9rem;
    color: #666;
}

/* Pricing Card List */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.pricing-card ul li {
    font-size: 1rem;
    color: #666;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card ul li i {
    color: #178a00;
    margin-right: 10px;
}

/* Reserve Button */
.reserve-btn {
    background: linear-gradient(135deg, #f8aeee 0%, #f778e6 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 200px;
    white-space: nowrap
}

.reserve-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Options Table */
.options-table {
    margin-top: 60px;
    text-align: left;
}

.options-table h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 0 auto;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

table th {
    background-color: #f69cf6;
    color: #fff;
}

table td {
    color: #333;
}

/* Transportation Fee Section */
.transportation-fee {
    margin-top: 60px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.transportation-fee h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #ffb187, #e521d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.transportation-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.map-container {
    flex: 1;
    text-align: center;
}

.tokyo-map {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fee-table-container {
    flex: 1;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fee-table th {
    background: linear-gradient(135deg, #f8aeee 0%, #f778e6 100%);
    color: white;
    padding: 15px;
    text-align: left;
}

.fee-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.fee-table td:first-child {
    font-weight: 600;
    color: #ff61a3;
    white-space: nowrap;
}

.fee-notes {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 97, 163, 0.1);
    border-radius: 10px;
}

.fee-notes p {
    color: #666;
    margin: 10px 0;
    font-size: 0.75rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }

    .pricing-page-container {
        padding-top: 7rem;
    }

    .pricing-tables {
        flex-direction: row;
        justify-content: space-between;
    }

    .pricing-card {
        width: 30%; /* Each card takes 30% width on tablet */
    }

    .pricing-header h1 {
        font-size: 2.5rem; /* Adjusted for tablets */
    }

    .pricing-header p {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.5rem; /* Larger price font on tablets */
    }

    .pricing-card ul li {
        font-size: 1.1rem;
    }

    .reserve-btn {
        padding: 16px 40px;
        font-size: 1.2rem; /* Larger buttons on tablets */
    }

    .options-table h2 {
        font-size: 2rem;
        text-align: center;
    }

    table th, table td {
        font-size: 1rem;
    }

    .transportation-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .map-container {
        flex: 0 0 45%;
    }

    .fee-table-container {
        flex: 0 0 55%;
    }

    .pricing-card h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .pricing-page-container {
        padding-top: 5rem; /* Extra space for larger screens */
    }

    .pricing-header h1 {
        font-size: 3.5rem; /* Restore larger font size */
    }

    .pricing-card {
        padding: 40px 30px; /* More padding for larger screens */
    }

    .pricing-header p {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.7rem; /* Bigger price on larger screens */
    }

    .reserve-btn {
        padding: 18px 50px; /* Larger padding for reserve button */
    }

    .pricing-card h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 2.5rem; /* Smaller heading for mobile */
    }

    .pricing-header p {
        font-size: 1rem; /* Smaller paragraph for mobile */
    }

    .price {
        font-size: 1.2rem;
    }

    .reserve-btn {
        font-size: 1rem;
        padding: 12px 25px; /* Slightly smaller buttons */
    }

    .pricing-card ul li {
        font-size: 0.9rem;
    }

    table {
        width: 100%; /* Full width on mobile */
    }

    .transportation-fee h2 {
        font-size: 1.8rem;
    }

    .fee-table td {
        font-size: 0.9rem;
    }

    .fee-notes p {
        font-size: 0.8rem;
    }

    .pricing-card h2 {
        font-size: 1.3rem;
    }
}

/* Add color variables for zones */
:root {
    --zone-0: rgba(255, 255, 255, 0.8); /* White for Free zone */
    --zone-1: rgba(255, 235, 238, 0.8); /* Light pink for 1,000円 zone */
    --zone-2: rgba(255, 243, 224, 0.8); /* Light orange for 2,000円 zone */
    --zone-3: rgba(232, 245, 233, 0.8); /* Light green for 3,000円 zone */
    --zone-4: rgba(227, 242, 253, 0.8); /* Light blue for 4,000円 zone */
}

/* Style the fee table rows */
.fee-table tbody tr:nth-child(1) {
    background-color: var(--zone-0);
}
.fee-table tbody tr:nth-child(2) {
    background-color: var(--zone-1);
}

.fee-table tbody tr:nth-child(3) {
    background-color: var(--zone-2);
}

.fee-table tbody tr:nth-child(4) {
    background-color: var(--zone-3);
}

.fee-table tbody tr:nth-child(5) {
    background-color: var(--zone-4);
}

/* Add a legend for the map */
.map-container {
    position: relative;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 4px;
}
