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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #000;
    background: #fff;
    min-height: 100vh;
    padding: 0.5rem;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Logo Section */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-image {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-section h1 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-section p {
    font-size: 1rem;
    color: #333;
    max-width: 500px;
    margin: 0 auto;
}

/* Menu Gallery */
.menu-gallery {
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.menu-page {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
    border: 2px solid #000;
}

.menu-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-color: #333;
}

.menu-page img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.page-number {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid #000;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 2px solid #000;
    color: #333;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .container {
        width: 95%;
        padding: 1rem;
        margin: 1rem auto;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .welcome-section p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .menu-page {
        border-radius: 8px;
    }

    .page-number {
        top: 8px;
        right: 8px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .logo-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .welcome-section h1 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-page {
        border-radius: 6px;
    }

    .page-number {
        top: 6px;
        right: 6px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Accessibility */
.menu-page:focus {
    outline: 3px solid #000;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        background: white;
    }
    
    .menu-page {
        box-shadow: none;
        border: 2px solid #333;
        break-inside: avoid;
    }
    
    .page-number {
        background: #333;
        color: white;
    }
}

