/* City Page Styles */
:root {
    --primary-color: #e60012;
    --dark-red: #c50010;
    --light-bg: #f9f7f4;
    --text-dark: #333;
    --text-light: #666;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

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

/* City Hero Section */
.city-hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.city-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.city-name-container {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.city-name-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.city-hero h1 {
    font-size: 4rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.japanese-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.city-tagline {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* City Overview */
.city-overview {
    padding: 5rem 0;
    background-color: var(--light-bg);
    position: relative;
}

.city-stats-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 1rem;
}

.city-stat {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(230, 0, 18, 0.1);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.city-intro {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.city-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.city-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.city-intro p {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Language Schools Section */
.schools-section {
    padding: 5rem 0;
    background-color: #fff;
}

.schools-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.schools-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.school-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.school-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.school-logo {
    height: 180px;
    overflow: hidden;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.school-card:hover .school-logo img {
    transform: scale(1.1);
}

.school-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.school-features {
    padding: 0 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.school-features span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.school-features span i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.school-link {
    display: block;
    padding: 1rem;
    text-align: center;
    background: var(--light-bg);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-top: 1px solid #eee;
}

.school-link:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Living Costs Section */
.living-costs {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.living-costs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.living-costs h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.costs-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.costs-content {
    flex: 1;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.costs-content > p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    color: var(--text-light);
}

.cost-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cost-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.cost-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.cost-category p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.cost-chart-container {
    flex: 1;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.cost-chart-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Visa Process Section */
.visa-process {
    padding: 5rem 0;
    background-color: #fff;
}

.visa-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.visa-process h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 75px;
    height: 100%;
    width: 2px;
    background-color: #eee;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.2);
    z-index: 2;
}

.timeline-content {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-right: 12px solid #fff;
    border-bottom: 12px solid transparent;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.visa-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-red) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 15px 35px rgba(230, 0, 18, 0.2);
}

.visa-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.visa-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.visa-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #fff;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.visa-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Attractions Section */
.attractions-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.attractions-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.attractions-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.attraction-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-10px);
}

.attraction-image {
    height: 180px;
    overflow: hidden;
}

.attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-image img {
    transform: scale(1.1);
}

.attraction-content {
    padding: 1.5rem;
}

.attraction-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.attraction-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.student-life-info {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.student-life-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.student-life-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.work-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.work-opportunities li {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.work-opportunities li:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.work-opportunities li i {
    margin-right: 0.5rem;
}

/* Other Cities Section */
.other-cities {
    padding: 5rem 0;
    background-color: #fff;
}

.other-cities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.other-cities h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.city-link {
    text-decoration: none;
}

.city-thumbnail {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 150px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.city-thumbnail:hover {
    transform: translateY(-10px);
}

.city-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.city-thumbnail:hover img {
    transform: scale(1.1);
}

.city-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .city-stats-row {
        flex-wrap: wrap;
    }
    
    .city-stat {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 1.5rem;
    }
    
    .costs-wrapper {
        flex-direction: column;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .city-hero h1 {
        font-size: 3rem;
    }
    
    .japanese-name {
        font-size: 1.5rem;
    }
    
    .city-tagline {
        font-size: 1.1rem;
    }
    
    .cost-categories {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-number {
        margin-bottom: 1.5rem;
        margin-right: 0;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .process-timeline::before {
        left: 40px;
    }
}

@media (max-width: 576px) {
    .city-hero {
        min-height: 400px;
    }
    
    .city-stat {
        flex: 0 0 100%;
    }
    
    .city-intro {
        padding: 2rem;
    }
    
    .visa-cta {
        padding: 2rem;
    }
    
    .visa-cta h3 {
        font-size: 1.5rem;
    }
    
    .attractions-grid {
        grid-template-columns: 1fr;
    }
    
    .work-opportunities {
        grid-template-columns: 1fr;
    }
}

/* Tokyo Page Specific Styling */
.city-hero {
    min-height: 100vh;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

/* Background pattern */
.city-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e60012' fill-opacity='0.5'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.city-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left content */
.city-content {
    flex: 0 0 50%;
    padding-right: 3rem;
}

.city-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.city-title .japanese {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 5rem;
    color: rgba(230, 0, 18, 0.1);
    position: absolute;
    top: -1.5rem;
    left: -2rem;
    z-index: -1;
}

.city-subtitle {
    font-size: 1.5rem;
    color: #e60012;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.city-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #e60012, rgba(230, 0, 18, 0.3));
    margin-bottom: 2rem;
    border-radius: 2px;
}

.city-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

/* City statistics */
.city-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.city-stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e60012;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Right image with floating animation */
.city-image-container {
    flex: 0 0 50%;
    position: relative;
}

.city-image-floating {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1000px;
}

.tokyo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Floating elements animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.float-element.train {
    width: 80px;
    height: 30px;
    top: 15%;
    right: -40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="white" d="M352 0C405 0 448 42.98 448 96V352H528C586.5 352 635.4 390.7 655.1 444.1C664.1 467.1 683.1 487.1 707 496.9L707.1 496.9C734.5 508.5 736.8 546.5 711.4 561.2C651.8 596.1 582.2 416 480 416H240C202.4 416 173.1 396.8 173.1 352V288H224C241.7 288 256 273.7 256 256C256 238.3 241.7 224 224 224H173.1V160H224C241.7 160 256 145.7 256 128C256 110.3 241.7 96 224 96H173.1C173.1 42.98 216.1 0 270 0H352zM96 160V96H0V160H96zM0 416H96V352H0V416zM0 288H96V224H0V288z"/></svg>');
    animation: floatTrain 12s linear infinite;
}

@keyframes floatTrain {
    0% {
        right: -40px;
    }
    100% {
        right: 100%;
    }
}

.float-element.sakura {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 20%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50,40 L55,50 L65,50 L57,57 L60,67 L50,62 L40,67 L43,57 L35,50 L45,50 Z" fill="%23e60012" fill-opacity="0.7"/></svg>');
    animation: floatSakura 15s ease-in-out infinite;
}

@keyframes floatSakura {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, 30px) rotate(45deg);
    }
    50% {
        transform: translate(0px, 60px) rotate(90deg);
    }
    75% {
        transform: translate(-20px, 30px) rotate(45deg);
    }
}

.float-element.skytree {
    width: 50px;
    height: 120px;
    bottom: 0;
    left: 20%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="white" d="M384 319.1C384 425.9 297.9 512 192 512s-192-86.13-192-192c0-58.67 27.82-106.8 54.57-134.1C69.54 169.3 96 179.8 96 201.5v85.5c0 35.17 27.97 64.5 63.16 64.94C194.9 352.5 224 323.6 224 288c0-88-175.1-96.12-52.15-277.2c9.34-13.59 29.82-10.94 36.29 5.25C249.5 112.8 384 165.1 384 319.1z"/></svg>');
    animation: floatSkytree 10s ease-in-out infinite;
}

@keyframes floatSkytree {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.float-element.fuji {
    width: 120px;
    height: 60px;
    bottom: 20%;
    right: 10%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M256 32C135.2 32 36.44 84.11 0 160h512C475.6 84.11 376.8 32 256 32zM176 224h32V192h96v32h32V160H176V224zM498.7 416H13.29C28.51 480.2 133.8 512 256 512C378.2 512 483.5 480.2 498.7 416zM256 416h-32l-16-64h96L288 416H256z"/></svg>');
    opacity: 0.4;
    animation: floatFuji 12s ease-in-out infinite alternate;
}

@keyframes floatFuji {
    0% {
        transform: scale(1) translateX(0) rotate(0deg);
    }
    100% {
        transform: scale(1.1) translateX(-30px) rotate(-2deg);
    }
}

/* Other locations section */
.other-locations {
    padding: 7rem 0;
    background-color: #fff;
}

.other-locations .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.other-locations .accent-text {
    position: relative;
    display: inline-block;
}

.other-locations .accent-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(230, 0, 18, 0.1);
    z-index: -1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.location-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.location-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-item:hover .location-image img {
    transform: scale(1.1);
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
}

.location-name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: #fff;
    z-index: 2;
    text-align: center;
}

.japanese-name {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.english-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
}

.back-to-all {
    text-align: center;
    margin-top: 3rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    color: #e60012;
    font-weight: 500;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid #e60012;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-btn i {
    margin-right: 0.5rem;
}

.back-btn:hover {
    background-color: #e60012;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .city-container {
        flex-direction: column;
    }
    
    .city-content, .city-image-container {
        flex: 0 0 100%;
    }
    
    .city-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .city-title {
        font-size: 3.5rem;
    }
    
    .city-title .japanese {
        font-size: 4rem;
    }
    
    .city-image-floating {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .city-hero {
        padding: 6rem 0 4rem;
    }
    
    .city-title {
        font-size: 3rem;
    }
    
    .city-title .japanese {
        font-size: 3.5rem;
        top: -1rem;
        left: -1.5rem;
    }
    
    .city-subtitle {
        font-size: 1.3rem;
    }
    
    .city-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .city-stat {
        flex: 0 0 calc(50% - 0.75rem);
    }
    
    .locations-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .city-title {
        font-size: 2.5rem;
    }
    
    .city-title .japanese {
        font-size: 3rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .city-image-floating {
        height: 350px;
    }
} 