/* Custom styles for Palomas Bakery and Restaurant */

/* Base reset & typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}

/* Selection color */
::selection {
    background-color: #166534;
    color: #fefdf8;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile link transitions */
.mobile-link {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hamburger animation */
#menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Subtle pattern overlay for cream sections */
.bg-cream-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(22, 101, 52, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Image hover container */
.rounded-2xl.overflow-hidden {
    position: relative;
}

/* Decorative serif drop caps feel */
.font-serif em {
    font-style: italic;
}

/* Ensure map container is responsive */
iframe {
    border-radius: 1.5rem;
}

/* Print styles */
@media print {
    #navbar, #mobile-menu, .reveal {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
