/* Font Face */
@font-face {
    font-family: 'KK Topo';
    src: url('../fonts/KK-Topo-Regular.woff2') format('woff2'),
        url('../fonts/KK-Topo-Regular.woff') format('woff'),
        url('../fonts/KK-Topo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'BIZ UDPMincho', serif;
}

body {
    background-color: #ffffff;
    color: #002071;
}

/* Page Container */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Bar (Wide screens) */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    gap: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Hero Section with Logo and Doves */
.hero-section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
}

.doves-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.dove {
    width: 150px;
    height: 200px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.subtitle {
    font-family: 'KK Topo', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #002071;
    margin-bottom: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #002071;
    border-radius: 50%;
}

/* Hide mobile dove pair on desktop */
.dove-pair {
    display: none;
}

/* Hours Section */
.hours-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 40px;
    display: none;
}

.hours-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
    color: #002071;
    position: relative;
}

.day {
    font-weight: 400;
    background-color: #ffffff;
    padding-right: 8px;
    z-index: 2;
    position: relative;
}

.dots {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background-image: repeating-linear-gradient(to right,
            #002071 0,
            #002071 3px,
            transparent 3px,
            transparent 6px);
    z-index: 1;
}

.time {
    font-weight: 400;
    white-space: nowrap;
    background-color: #ffffff;
    padding-left: 8px;
    z-index: 2;
    position: relative;
}

/* Buttons Section (Mobile) */
.buttons-section {
    display: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 1200px;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.address {
    font-size: 18px;
    font-weight: 600;
    color: #002071;
    text-align: center;
}

.address p {
    margin: 0;
}

.address a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.address a:hover {
    opacity: 0.7;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002071;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 0;
}

.icon-box:hover {
    opacity: 0.7;
}

.icon-box img {
    display: block;
    height: 32px;
    width: auto;
}

/* Button Styles */
.button-ink {
    display: inline-block;
    width: 160px;
    padding: 12px 28px;
    background-color: transparent;
    color: #002071;
    text-decoration: none;
    font-family: 'KK Topo', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.button-ink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" width="160" height="49" viewBox="0 0 160 49" fill="none" preserveAspectRatio="none"%3e%3cpath fill-rule="evenodd" clip-rule="evenodd" d="M159.999 46.0137C159.999 47.1182 159.104 48.0137 157.999 48.0137H2.02344C0.918866 48.0137 0.0234375 47.1182 0.0234375 46.0137V2C0.0234375 0.895432 0.918868 0 2.02344 0H157.999C159.104 0 159.999 0.895431 159.999 2V46.0137ZM13.5596 5.01172C8.80438 5.25292 5.02344 9.18487 5.02344 14V34.0137C5.02344 38.9842 9.05288 43.0137 14.0234 43.0137H145.999C150.969 43.0134 154.999 38.9841 154.999 34.0137V14C154.999 9.18483 151.217 5.25286 146.462 5.01172L145.999 5H14.0234L13.5596 5.01172Z" fill="%23002071"/%3e%3c/svg%3e');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.button-ink:hover {
    background-color: #002071;
    color: #ffffff;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #002071;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.menu-close:hover {
    background-color: #001a5c;
}

.menu-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Wide Screen Layout - Position hours and contact in corners */
@media (min-width: 769px) {
    body {
        overflow: hidden;
    }

    .page-container {
        height: 100vh;
        position: relative;
    }

    .main-content {
        justify-content: flex-start;
        padding: 0;
    }

    .hero-section {
        margin-bottom: 0;
        margin-top: 0;
    }

    /* Position hours in bottom-left */
    .hours-section {
        display: block;
        position: fixed;
        bottom: 40px;
        left: 40px;
        width: 320px;
        margin: 0;
    }

    /* Position contact in bottom-right */
    .contact-section {
        display: flex;
        position: fixed;
        bottom: 40px;
        right: 40px;
        align-items: flex-end;
        max-width: none;
    }

    /* Hide mobile buttons */
    .buttons-section {
        display: none;
    }

    .menu-button-mobile {
        display: none;
    }
}

/* Narrow Screen Layout - Stack everything */
@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    .page-container {
        height: 100vh;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    .main-content {
        padding: 30px 20px 30px;
        gap: 24px;
        justify-content: flex-start;
    }

    .hero-section {
        margin-bottom: 0;
        margin-top: 0;
    }

    .doves-container {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    /* Hide desktop doves on mobile */
    .dove-left,
    .dove-right {
        display: none;
    }

    .logo-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dot {
        display: none;
    }

    /* Show mobile dove pair */
    .dove-pair {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
    }

    .dove-mobile {
        width: 50px;
        height: 66px;
        object-fit: contain;
    }

    .logo {
        max-width: 300px;
    }

    .subtitle {
        font-size: 20px;
        margin-bottom: 15px;
    }

    /* Show hours section in stack */
    .hours-section {
        display: block;
        position: static;
        width: 100%;
        max-width: 320px;
        margin: 0;
    }

    .hours-row {
        font-size: 14px;
    }

    /* Show buttons section */
    .buttons-section {
        display: flex;
    }

    .button-ink {
        font-size: 16px;
        width: 160px;
    }

    /* Show contact section in stack */
    .contact-section {
        display: flex;
        position: static;
        width: 100%;
    }

    .address {
        font-size: 16px;
    }

    .icon-box {
        width: 45px;
        height: 45px;
    }

    .icon-box svg {
        width: 28px;
        height: 28px;
    }

    /* Menu overlay responsive */
    .menu-container {
        max-width: 95%;
        padding: 30px 20px;
    }

    .menu-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 16px 20px;
        gap: 16px;
    }

    .hero-section {
        margin-top: 0;
    }

    .dove-mobile {
        width: 40px;
        height: 53px;
    }

    .dove-pair {
        gap: 6px;
    }

    .logo {
        max-width: 220px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .button-ink {
        font-size: 14px;
        width: 140px;
        padding: 10px 20px;
    }

    .buttons-section {
        gap: 16px;
        margin-bottom: 0;
    }

    .hours-section {
        margin-bottom: 0;
    }

    .hours-row {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .address {
        font-size: 13px;
    }

    .contact-section {
        gap: 12px;
    }

    .icon-box img {
        height: 28px;
    }
}

/* Allow scrolling on mobile landscape mode */
@media (max-width: 896px) and (max-height: 480px) and (orientation: landscape) {
    body {
        overflow: auto;
    }

    .page-container {
        height: auto;
        min-height: 100vh;
    }

    .main-content {
        padding: 20px 16px;
    }
}