/* ====================================
   COZY HOME CAFE - MINIMALIST STYLE
   ==================================== */

@font-face {
    font-family: 'Godomaum';
    src: url('godomaum.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #F1E5CC;
    --mocha: #715037;
    --mocha-hover: #5A3F2B;
    --font-main: 'Recoleta', Georgia, serif;
    --font-tagline: 'Godomaum', 'Recoleta', Georgia, serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    height: 100%;
    background-color: var(--cream);
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    background-color: var(--cream);
    color: var(--mocha);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin: 0;
}

main { flex: 1 0 auto; }

h1, h2, h3 {
    font-weight: 600;
    color: var(--mocha);
}

/* Footer */
.footer-section {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
    max-width: none;
    margin-top: auto;
    border-top: 1px solid var(--mocha);
    flex-shrink: 0;
    background-color: var(--cream);
}

.footer-box {
    flex: 1;
    border-right: 1px solid var(--mocha);
    padding: 1.6rem 4rem;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.footer-box.info { flex: 1.5; }
.footer-box:last-child { border-right: none; }

.footer-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mocha);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.footer-box p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--mocha);
    line-height: 1.7;
}

.social-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-list li {
    font-size: 1rem;
    font-weight: 400;
    color: var(--mocha);
}

.social-list a {
    color: var(--mocha);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-list a:hover { opacity: 0.6; }

/* Sub-page layout */
.sub-page .events-content { align-items: flex-start; }

.sub-page .events-image img {
    object-fit: contain;
    max-height: 600px;
}

/* Navigation */
.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--mocha);
    transition: all 0.3s ease;
}

.hamburger:hover span { background-color: var(--mocha-hover); }

.nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--cream);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5rem 3rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0);
}

.nav-menu.open {
    right: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--mocha);
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}

.close-btn:hover { color: var(--mocha-hover); }

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nav-menu a {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--mocha);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
}

.nav-menu a:hover { opacity: 0.6; }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 150;
}

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

/* Logo */
.logo-header {
    padding: 2.5rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.site-logo {
    width: clamp(216px, 33.6vw, 360px);
    height: auto;
    display: block;
}

.logo-tagline {
    font-family: var(--font-tagline);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--mocha);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    margin: 0;
}

/* Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 3rem 6rem;
    padding: 2rem 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.grid-item:hover { transform: translateY(-5px); }

.image-wrapper {
    width: 160px;
    height: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.grid-item:hover .image-wrapper img { transform: scale(1.03); }

.label {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--mocha);
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

/* Sub Pages */
.sub-page { width: 100%; margin: 0; }

.sub-page-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
    padding-bottom: 8rem;
}

.sub-nav { margin-bottom: 3rem; }

.sub-nav a {
    color: var(--mocha);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.menu-container h1, .about-container h1, .events-container h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: lowercase;
    color: var(--mocha);
}

.menu-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    text-transform: lowercase;
    border-bottom: 1px solid var(--mocha);
    padding-bottom: 0.5rem;
    color: var(--mocha);
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--mocha);
    gap: 1rem;
}

.menu-item .item-name { flex: 1; }

.menu-item .item-size {
    flex: 0 0 4rem;
    text-align: right;
    opacity: 0.7;
    font-size: 0.95rem;
}

.menu-item .item-price {
    flex: 0 0 5rem;
    text-align: right;
}

.menu-note {
    font-size: 0.95rem;
    font-weight: 400;
    font-style: italic;
    color: var(--mocha);
    opacity: 0.75;
    margin: 0 0 0.75rem 0;
}

.menu-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--mocha);
    opacity: 0.85;
    margin-left: 0.5rem;
    line-height: 1.7;
}

.menu-divider {
    border: none;
    border-top: 1px solid rgba(113, 80, 55, 0.25);
    margin: 1rem 0;
}

/* About & Events */
.about-content, .events-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-content { align-items: stretch; }

.about-text, .events-text { flex: 1; }

.about-text p, .events-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.4rem;
    font-weight: 400;
    color: var(--mocha);
}

.about-text .tagline {
    font-family: var(--font-tagline);
    font-size: 2.6rem;
    text-align: center;
    margin: 0.5rem 0 2rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.about-text .psalm {
    font-style: italic;
    font-size: 1.05rem;
    opacity: 0.9;
    border-left: 2px solid var(--mocha);
    padding-left: 1.25rem;
    margin-top: 1.5rem;
}

.about-image, .events-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img, .events-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 5rem 2rem;
    font-size: 2rem;
    font-weight: 400;
    color: var(--mocha);
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(2, auto);
        gap: 3rem;
    }
    .footer-section { flex-direction: column; }
    .footer-box {
        border-right: none;
        border-bottom: 1px solid var(--mocha);
        padding: 2rem;
    }
    .footer-box:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
    .nav-menu { width: 100%; right: -100%; }
    .image-grid { grid-template-columns: repeat(2, auto); gap: 2rem; }
    .about-content, .events-content {
        flex-direction: column;
        gap: 2rem;
    }
    .site-logo { width: min(78vw, 320px); }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--mocha);
    outline-offset: 3px;
}
