/**
 * Blue Zone Harmony Village Okinawa 青の里
 * ACCESS Page Styles
 */

/* ============================================
   Page Layout
   ============================================ */
.access-page {
    background-color: #fff;
}

.access-page .main-header {
    position: relative;
    background-color: #fff;
}

.access-page .main-header .header-logo a {
    color: #333;
}

.access-page .hamburger-menu {
    background-color: rgba(17, 43, 98, 0.9);
}

.access-page .hamburger-menu span {
    background-color: #fff;
}

/* ============================================
   Page Title Section
   ============================================ */
.page-title-section {
    padding: 120px 20px 60px;
    text-align: center;
    background-color: #fff;
}

.page-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #333;
    margin: 0;
}

.page-subtitle {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #666;
    margin-top: 10px;
    letter-spacing: 0.2em;
}

/* ============================================
   Access Content
   ============================================ */
.access-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ============================================
   Address & Map Section
   ============================================ */
.address-map-section {
    margin-bottom: 50px;
}

.address-info {
    margin-bottom: 20px;
}

.address-label {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
}

.address-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.access-description {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
}

.access-description a {
    color: #2563eb;
    text-decoration: none;
}

.access-description a:hover {
    text-decoration: underline;
}

.map-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* ============================================
   Direction Photos Section
   ============================================ */
.direction-photos-section {
    margin-bottom: 60px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.photo-item {
    position: relative;
}

.photo-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.photo-caption {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.75rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

/* ============================================
   Bottom Links Section (2 columns)
   ============================================ */
.bottom-links-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.bottom-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px;
    text-decoration: none;
    overflow: hidden;
    min-height: 250px;
}

.bottom-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.bottom-link:hover::before {
    transform: scale(1.05);
}

.access-link::before {
    background-image: url('../images/link_access.jpg');
}

.facility-link::before {
    background-image: url('../images/link_facility.jpg');
}

.link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.bottom-link:hover .link-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.link-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.link-title {
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin: 0;
}

.link-subtitle {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background-color: #112b62;
    padding: 60px 40px 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    color: #fff;
}

/* Left column - Property Info */
.footer-info {
    font-family: 'Zen Old Mincho', serif;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-info p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 8px;
    opacity: 0.9;
}

/* Center & Right columns - Navigation */
.footer-heading {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-reservation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li,
.footer-reservation ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a,
.footer-reservation ul li a {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-reservation ul li a:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-family: 'Zen Old Mincho', serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: absolute;
    bottom: 30px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn span {
    font-size: 1.2rem;
    color: #112b62;
    line-height: 1;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-info {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    .page-title-section {
        padding: 100px 20px 40px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bottom-links-section {
        grid-template-columns: 1fr;
    }

    .bottom-link {
        min-height: 180px;
        padding: 40px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info {
        grid-column: auto;
    }

    .main-footer {
        padding: 40px 20px 80px;
    }

    .scroll-top-btn {
        right: 20px;
        bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .page-title-section {
        padding: 80px 15px 30px;
    }

    .page-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .access-content {
        padding: 0 15px 40px;
    }

    .address-label {
        font-size: 0.85rem;
    }

    .access-description {
        font-size: 0.8rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .photos-grid {
        grid-template-columns: 1fr;
    }

    .photo-caption {
        font-size: 0.7rem;
    }

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

    .link-subtitle {
        font-size: 0.8rem;
    }

    .footer-brand {
        font-size: 1rem;
    }

    .footer-info p {
        font-size: 0.8rem;
    }

    .footer-heading {
        font-size: 0.9rem;
    }

    .footer-nav ul li a,
    .footer-reservation ul li a {
        font-size: 0.85rem;
    }
}

/* ============================================
   Mobile Touch Improvements
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .bottom-link:hover::before {
        transform: none;
    }

    .bottom-link:active::before {
        transform: scale(1.02);
    }

    .scroll-top-btn:hover {
        transform: none;
    }

    .scroll-top-btn:active {
        transform: scale(0.95);
    }

    .photo-item img:hover {
        transform: none;
    }
}

/* ============================================
   Safe Area Support
   ============================================ */
@supports (padding: max(0px)) {
    .main-footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }

    @media screen and (max-width: 768px) {
        .main-footer {
            padding-bottom: max(80px, calc(60px + env(safe-area-inset-bottom)));
        }
    }
}

/* ============================================
   Landscape Mobile
   ============================================ */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .page-title-section {
        padding: 80px 20px 30px;
    }

    .bottom-link {
        min-height: 150px;
    }
}
