@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-latin.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url(../fonts/material-symbols.woff2) format('woff2');
}

:root {
    --bs-primary: #ec6702;
    --bs-primary-rgb: 236, 103, 2;
    --bs-secondary: #ec6702;
    --bs-secondary-rgb: 236, 103, 2;
    --bs-body-color: #333333;
    --bs-body-font-family: 'Open Sans', sans-serif;
    --bs-font-sans-serif: 'Open Sans', sans-serif;
    --bs-border-radius: 0.2rem;
    --bs-border-radius-sm: 0.15rem;
    --bs-border-radius-lg: 0.3rem;
    --bs-border-radius-xl: 0.5rem;
    --bs-border-radius-2xl: 1rem;
}

::selection {
    background-color: var(--bs-primary);
    color: #ffffff;
}

::-moz-selection {
    background-color: var(--bs-primary);
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .split-hero-content h1.display-4 {
        font-size: 2.8rem !important;
    }
}

body {
    color: var(--bs-body-color);
    font-family: var(--bs-body-font-family);
    background-color: #f8f6f6;
    font-size: 19px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Playfair Display', serif;
}

h3,
.h3 {
    font-size: 1.7rem !important;
}

/* Footer Link Hovers */
.footer-link {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--bs-primary);
}

/* Custom Overrides & Helpers to match the template */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #d05b02;
    --bs-btn-hover-border-color: #c45502;
    color: white;
}

.btn-outline-primary {
    --bs-btn-color: #ec6702;
    --bs-btn-border-color: #ec6702;
    --bs-btn-hover-bg: #ec6702;
    --bs-btn-hover-border-color: #ec6702;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #ec6702;
    --bs-btn-active-border-color: #ec6702;
    --bs-btn-active-color: #fff;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.icon-box {
    width: 68px;
    height: 68px;
    background-color: var(--bs-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.icon-box .material-symbols-outlined {
    font-size: 36px;
}

.image-card-hover {
    transition: transform 0.5s ease;
}

.group-hover-wrapper:hover .image-card-hover {
    transform: scale(1.1);
}

.product-price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--bs-primary);
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    z-index: 2;
}

.group-hover-wrapper:hover .product-price-badge {
    background-color: var(--bs-primary);
    color: white;
}

.logo-icon {
    background-color: var(--bs-primary);
    padding: 0.375rem;
    border-radius: 0.25rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-section {
    background-color: #4d1300;
    color: #f8f9fa;
}

.nav-custom .nav-link {
    color: var(--bs-body-color);
    font-weight: 500;
    font-size: 1.3rem;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    transition: width 0.3s ease;
}

.nav-custom .nav-link:hover::after,
.nav-custom .nav-link.active::after {
    width: 100%;
}

.nav-custom .nav-link:hover {
    color: var(--bs-primary);
}

/* Material Symbols Adjustments */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.bg-cream,
.bg-light {
    background-color: #fef7f2 !important;
}

/* Split Hero Section for Restaurant Page */
.split-hero {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
    background-color: transparent;
}

.split-hero-content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem 3rem 0;
}

.split-hero-image {
    flex: 1 1 50%;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

@media (max-width: 991px) {

    .split-hero-content,
    .split-hero-image {
        flex: 1 1 100%;
    }

    .split-hero-content {
        padding: 2.5rem 0;
        padding-right: 2rem;
    }

    .split-hero-image {
        height: 350px;
        min-height: auto;
    }
}

/* Custom Hamburger Menu Focus Ring */
.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: 0 0 0 0.15rem rgba(236, 103, 2, 0.5) !important;
    outline: none !important;
    border-color: var(--bs-primary) !important;
}

/* Floating Reservation Button */
.floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--bs-primary);
    color: white !important;
    width: 75px;
    height: 75px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.2s, background-color 0.2s;
}

.floating-btn:hover {
    transform: scale(1.05);
    background-color: #d05b02;
}

/* Google Maps Button auf Kontaktseite */
.btn-maps-google {
    background-color: #ffffff !important;
    color: var(--bs-primary) !important;
}

.btn-maps-google:hover {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
}

/* responsive image sizing for eingang.jpg on contact page */
.img-eingang-kontakt {
    width: 100%;
    height: 250px;
    object-fit: cover;
    max-width: 100%;
}

@media (min-width: 768px) {
    .img-eingang-kontakt {
        max-width: 280px;
        height: 440px;
    }
}