@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #064e3b;
    /* Deep Emerald */
    --accent: #d4af37;
    /* Champagne Gold */
    --bg-dark: #0f172a;
    /* Dark Slate */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(15, 23, 42, 0.7);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Lock Helper */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

html {
    scrollbar-gutter: stable;
    background-color: var(--bg-dark);
    /* Ensure gutter matches body background */
}



/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero_modern.png') no-repeat center center/cover;
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    padding: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 3px solid var(--accent);
    transition: transform 0.3s ease;
}

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

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-light);
}

h1 span {
    color: var(--accent);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    /* Increased contrast */
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    /* Shadow for better readability */
    font-weight: 400;
}

/* Menu Preview Badge */
.menu-preview-overlay {
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 0.5s both;
}

.menu-preview-content {
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-preview-content i {
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap !important;
    /* Prevent wrapping enforced */
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #e5c158;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
    background-color: transparent;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-dark);
}

/* Info Cards Section */
.info-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: -100px auto 0;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
    color: var(--accent);
}

.contact-button i {
    width: 20px;
    text-align: center;
    color: var(--accent);
}

/* Delivery Service Buttons */
.btn-wolt {
    background-color: #009de0 !important;
    color: white !important;
    border-color: #009de0 !important;
}

.btn-wolt:hover {
    background-color: #0082ba !important;
    transform: translateY(-2px);
}

.btn-lieferando {
    background-color: #ff8000 !important;
    color: white !important;
    border-color: #ff8000 !important;
}

.btn-lieferando:hover {
    background-color: #e67300 !important;
    transform: translateY(-2px);
}

.delivery-buttons {
    display: flex;
    flex-direction: row;
    /* Change to row for more compact look if space allows */
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
}

.delivery-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    font-weight: 600;
}

.delivery-buttons .btn-premium {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-width: auto;
}

.price-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 8px;
    font-style: italic;
    font-weight: bold;
    opacity: 0.9;
}

.price-hint span {
    font-style: normal;
    display: inline-block;
    /* Helps with some browser rendering of emojis */
}

.price-hint i {
    margin-right: 5px;
}

/* Global Floating Quick Actions */
.mobile-quick-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}

.quick-action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-action-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.quick-action-btn.call {
    background: #064e3b;
}

.quick-action-btn.maps {
    background: #d4af37;
    color: #0f172a;
}


/* Footer & Legal */
footer {
    padding: 4rem 2rem;
    text-align: center;
    background: #0a0f1a;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.google-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 1rem;
    text-decoration: none;
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
}

.google-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0.7;
}

.footer-legal {
    margin-top: 5px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 10px;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .info-section {
        margin-top: 2rem;
    }
}

/* Inquiry Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    transition: max-width 0.3s ease;
}

.modal-wrapper.modal-wide {
    max-width: 96%;
    width: 1400px;
    /* Cap at reasonable large width */
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.modal-body h1,
.modal-body h2,
.modal-body h3 {
    hyphens: auto;
    overflow-wrap: break-word;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(to right, rgba(6, 78, 59, 0.8), rgba(6, 78, 59, 0.4));
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

.modal-body {
    padding: 25px;
}

.modal-intro {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group label i {
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    font-size: 1.1rem;
}

.privacy-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

.privacy-hint a:hover {
    color: var(--accent);
}

/* GDPR Consent Banner */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--accent);
    padding: 1.5rem 2rem;
    z-index: 4000;
    display: none;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.privacy-banner.active {
    display: flex;
    transform: translateY(0);
}

.close-banner {
    position: absolute;
    top: 5px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
    z-index: 10;
}

.close-banner:hover {
    color: white;
}

.privacy-banner-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.privacy-banner-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.privacy-banner-text a {
    color: var(--accent);
    text-decoration: underline;
}

.privacy-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .privacy-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .privacy-banner {
        padding: 1.5rem;
    }
}

/* --- Gallery & Lightbox --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    padding: 10px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.zoom-icon {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Lightbox */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    backdrop-filter: blur(10px);
}

#lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 20010;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1.5rem;
    z-index: 20010;
    transition: color 0.2s;
}

.nav-btn:hover {
    color: var(--accent);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-btn {
        font-size: 2rem;
        padding: 0.5rem;
    }
}

/* Mobile Landscape Fix - prevents content cutoff and overlap */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto !important;
        min-height: 120vh;
        padding: 80px 0;
    }

    .info-section {
        margin-top: 0 !important;
    }
}

/* --- Gallery Swipe Animations (Premium) --- */
.slide-in-right {
    animation: premiumInRight 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.slide-in-left {
    animation: premiumInLeft 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.slide-out-left {
    animation: premiumOutLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-out-right {
    animation: premiumOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes premiumInRight {
    from {
        transform: translateX(60px) scale(0.95);
        opacity: 0;
        filter: blur(10px);
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes premiumInLeft {
    from {
        transform: translateX(-60px) scale(0.95);
        opacity: 0;
        filter: blur(10px);
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes premiumOutLeft {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }

    to {
        transform: translateX(-60px) scale(1.05);
        opacity: 0;
        filter: blur(10px);
    }
}

@keyframes premiumOutRight {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }

    to {
        transform: translateX(60px) scale(1.05);
        opacity: 0;
        filter: blur(10px);
    }
}

.slide-in-bottom {
    animation: premiumOpen 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes premiumOpen {
    from {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
        filter: blur(15px);
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

@media print {
    body>*:not(.modal-overlay) {
        display: none !important;
    }

    .modal-overlay.active {
        display: flex !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: white !important;
        z-index: 9999 !important;
        overflow: visible !important;
    }

    .modal-wrapper {
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .modal-wrapper.modal-wide {
        max-width: 100% !important;
        width: 100% !important;
    }

    .modal-content {
        border: none !important;
        background: white !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .modal-body {
        padding: 0 !important;
        overflow: visible !important;
    }

    /* Hide close buttons and other non-print UI in modal */
    .close-modal,
    .print-share-buttons,
    .back-btn,
    .share-btn,
    .print-btn,
    .delivery-buttons,
    .modal-header,
    .mobile-quick-actions,
    #scrollTopBtn {
        display: none !important;
    }

    /* Additional Print Safety */
    @page {
        size: landscape;
        margin: 0.5cm;
    }

    * {
        box-sizing: border-box !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}