/* =========================================================================
   custom.css - Hotel Lorca
   Zentrale Datei fuer alle individuellen Anpassungen der Website.
   Vorher waren diese Regeln als <style>-Bloecke auf jeder einzelnen Seite
   dupliziert. Jetzt reicht eine Aenderung hier, um sie ueberall wirksam
   werden zu lassen (sofern die betroffene Klasse/ID auf mehreren Seiten
   vorkommt).
   ========================================================================= */


/* -------------------------------------------------------------------------
   1) Navigation, Logo & Oeffnungszeiten (auf allen Seiten)
   ------------------------------------------------------------------------- */
nav#main-nav ul li {
    margin-right: 14px !important;
}
nav#main-nav ul li a {
    font-size: 17px !important;
}
nav#main-nav p.opening-hours-line {
    text-align: left !important;
    margin: 6px 0 0 !important;
    padding-left: 0 !important;
    font-weight: 700;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-size: 13px !important;
    letter-spacing: -0.15px;
}
@media (max-width: 991px) {
    nav#main-nav p.opening-hours-line {
        font-size: 11.5px !important;
    }
}
@media (max-width: 767px) {
    nav#main-nav p.opening-hours-line {
        font-size: 12px !important;
    }
}

a.logo.hotel-lorca-logo {
    display: inline-block !important;
    background: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    visibility: visible !important;
    padding: 8px 0 !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
a.logo.hotel-lorca-logo:hover {
    opacity: 0.85;
    transform: scale(1.02);
}
a.logo.hotel-lorca-logo img {
    display: block !important;
    height: 100px !important;
    width: auto !important;
    max-width: none !important;
}
@media (max-width: 849px) {
    a.logo.hotel-lorca-logo {
        display: inline-block !important;
        margin: 8px 0 !important;
    }
    a.logo.hotel-lorca-logo img {
        height: 85px !important;
    }
}
@media (max-width: 767px) {
    a.logo.hotel-lorca-logo img {
        height: 72px !important;
    }
}

/* Mobile-Menue: uebernimmt dieselbe Reihenfolge wie die
   Desktop-Navigation (Home, Zimmer & Preise, Buchen, Restaurant, Kontakt) -
   keine zusaetzliche Umsortierung mehr noetig, da beide Ansichten
   nun identisch sortiert sind. */
@media (max-width: 767px) {
    #mobile-nav ul {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Das Theme richtet #main-nav ul per float:right aus, wodurch die
   Reihenfolge auf dem Desktop automatisch gegenueber der
   HTML-Reihenfolge gespiegelt wird. Mit display:flex wird dieses
   Float ausser Kraft gesetzt, sodass die Reiter in der
   tatsaechlichen HTML-Reihenfolge (Home, Zimmer & Preise,
   Buchen, Restaurant, Kontakt) erscheinen. */
@media (min-width: 768px) {
    nav#main-nav > ul {
        display: flex !important;
        flex-direction: row !important;
        float: none !important;
    }
    nav#main-nav > ul > li {
        float: none !important;
    }
}


/* -------------------------------------------------------------------------
   2) Startseite: Willkommensbereich & Familie-Vorstellung (index.html)
   ------------------------------------------------------------------------- */
#welcome-content {
    padding-top: 25px;
}

.family-welcome {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin: 25px 0 35px 0;
    background: #fdfaf6;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
}
.family-welcome .family-image {
    flex: 1 1 320px;
    max-width: 480px;
}
.family-welcome .family-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12);
    object-fit: contain;
    object-position: center;
    display: block;
}
.family-welcome .family-text {
    flex: 1 1 320px;
}
.family-welcome .family-text h2 {
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}
.family-welcome .family-text .signature {
    margin-top: 18px;
    font-style: italic;
    font-weight: 700;
}
@media (max-width: 767px) {
    .family-welcome { padding: 18px; }
}


/* -------------------------------------------------------------------------
   3) Startseite: Grosses Bilder-Karussell (index.html)
   ------------------------------------------------------------------------- */
.big-slider .carousel-inner .item {
    position: relative;
    width: 100%;
    height: 600px; /* EINHEITLICHE Hoehe fuer alle Slides */
    overflow: hidden;
    background: #f2f2f2;
}
.big-slider .carousel-inner > .item {
    display: none;
}
.big-slider .carousel-inner > .item.active,
.big-slider .carousel-inner > .item.next,
.big-slider .carousel-inner > .item.prev {
    display: flex;
    align-items: center;
    justify-content: center;
}
.big-slider .carousel-inner > .item.next,
.big-slider .carousel-inner > .item.prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.big-slider .carousel-inner .item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* vollstaendig sichtbar, kein Beschnitt */
    object-position: center center;
    display: block;
}
@media (max-width: 991px) {
    .big-slider .carousel-inner .item {
        height: 500px;
    }
}
@media (max-width: 767px) {
    .big-slider .carousel-inner .item {
        height: 380px;
    }
}
@media (max-width: 480px) {
    .big-slider .carousel-inner .item {
        height: 300px;
    }
}


/* -------------------------------------------------------------------------
   4) Restaurant-Seite: Bilder-Karussell (restaurant.html)
   ------------------------------------------------------------------------- */
.restaurant-slider {
    margin: 30px 0 34px;
}
.restaurant-slider .carousel-inner .item {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 6px;
}
.restaurant-slider .carousel-inner > .item {
    display: none;
}
.restaurant-slider .carousel-inner > .item.active,
.restaurant-slider .carousel-inner > .item.next,
.restaurant-slider .carousel-inner > .item.prev {
    display: flex;
    align-items: center;
    justify-content: center;
}
.restaurant-slider .carousel-inner > .item.next,
.restaurant-slider .carousel-inner > .item.prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.restaurant-slider .carousel-inner .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.restaurant-slider .carousel-nav {
    z-index: 10;
}
@media (max-width: 991px) {
    .restaurant-slider .carousel-inner .item {
        height: 380px;
    }
}
@media (max-width: 767px) {
    .restaurant-slider .carousel-inner .item {
        height: 300px;
    }
}
@media (max-width: 480px) {
    .restaurant-slider .carousel-inner .item {
        height: 230px;
    }
}


/* -------------------------------------------------------------------------
   5) Zimmer & Preise: Preis-Kacheln, Karussell je Zimmer, Lightbox
      (zimmer-preise.html)
   ------------------------------------------------------------------------- */
#content .price-page-intro {
    margin-bottom: 30px;
}
#content .price-page-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-bottom: 8px;
}
#content .price-page-intro p {
    font-family: 'Sintony', sans-serif;
    color: #777;
}

#content .price-group-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 35px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c9a15a;
    color: #2b2b2b;
}
#content .price-group-title:first-of-type {
    margin-top: 0;
}

#content .price-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 10px;
}

#content .room-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 10px;
}
#content .room-list .room-card {
    flex-direction: row;
    align-items: stretch;
}
#content .room-list .room-card .price-card-img {
    width: 320px;
    height: auto;
    align-self: stretch;
    flex-shrink: 0;
}
#content .room-list .room-card .price-card-body {
    flex: 1;
}
#content .room-list .room-card .room-description {
    font-family: 'Sintony', sans-serif;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px;
}
@media (max-width: 700px) {
    #content .room-list .room-card {
        flex-direction: column;
    }
    #content .room-list .room-card .price-card-img {
        width: 100%;
        height: 220px;
    }
}

#content .price-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
#content .price-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
#content .price-card .price-card-img {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
}
#content .price-card .price-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#content .price-card .card-carousel-img {
    cursor: pointer;
    background: #eee;
}
#content .price-card .card-carousel-prev,
#content .price-card .card-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 1;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}
#content .price-card .card-carousel:hover .card-carousel-prev,
#content .price-card .card-carousel:hover .card-carousel-next {
    opacity: 1;
}
#content .price-card .card-carousel-prev:hover,
#content .price-card .card-carousel-next:hover {
    background: rgba(0,0,0,0.6);
}
#content .price-card .card-carousel-prev { left: 8px; }
#content .price-card .card-carousel-next { right: 8px; }
#content .price-card .card-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 5px;
}
#content .price-card .card-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
#content .price-card .card-carousel-dot.active {
    background: #fff;
    transform: scale(1.25);
}
@media (max-width: 480px) {
    #content .price-card .card-carousel-prev,
    #content .price-card .card-carousel-next {
        opacity: 1;
    }
}
#content .price-card .price-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
#content .price-card h3.room-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin: 0 0 6px;
}
#content .price-card h3.room-title a {
    color: #2b2b2b;
    text-decoration: none;
}
#content .price-card .room-cost {
    display: block;
    font-family: 'Sintony', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #c9a15a;
    margin-bottom: 12px;
}
#content .price-card .room-post-person {
    margin: 6px 0 14px;
    color: #777;
    font-size: 14px;
}
#content .price-card .room-post-person .glyphicon {
    margin: 0 4px;
}
#content .price-card .btn-primary {
    align-self: flex-start;
    margin-top: auto;
}
#content .price-card.no-booking .price-card-body {
    padding-bottom: 20px;
}
@media (max-width: 480px) {
    #content .price-card .price-card-img {
        height: 160px;
    }
}

#zimmer-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#zimmer-lightbox.open { display: flex; }
#zimmer-lightbox .lb-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}
#zimmer-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}
#zimmer-lightbox .lb-caption {
    text-align: center;
    color: #ddd;
    margin-top: 10px;
    font-size: 14px;
}
#zimmer-lightbox .lb-close,
#zimmer-lightbox .lb-prev,
#zimmer-lightbox .lb-next {
    position: absolute;
    color: #fff;
    background: rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 50%;
    user-select: none;
}
#zimmer-lightbox .lb-close {
    top: -50px;
    right: -10px;
}
#zimmer-lightbox .lb-prev {
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
}
#zimmer-lightbox .lb-next {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
}
@media (max-width: 768px) {
    #zimmer-lightbox .lb-prev { left: 5px; }
    #zimmer-lightbox .lb-next { right: 5px; }
    #zimmer-lightbox .lb-close { top: 5px; right: 5px; }
}


/* -------------------------------------------------------------------------
   6) Buchungsseite (buchen.html)
   ------------------------------------------------------------------------- */
.booking-hero {
    text-align: center;
    background: #fdfaf6;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 34px 20px 38px;
    margin: 0 0 24px;
}
.booking-hero .hero-badge {
    display: inline-block;
    background: #2b2b2b;
    color: #fff;
    font-family: 'Sintony', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.booking-hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 34px;
    color: #1f1f1f;
    margin: 0 0 14px;
}
.booking-hero p {
    font-family: 'Sintony', sans-serif;
    color: #777;
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}
@media (max-width: 480px) {
    .booking-hero {
        padding: 26px 16px 30px;
    }
    .booking-hero h1 {
        font-size: 26px;
    }
    .booking-hero p {
        font-size: 14px;
    }
}

#booking-widget-wrapper {
    position: relative;
    min-height: 500px;
}
#booking-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    color: #777;
    font-family: 'Sintony', sans-serif;
    font-size: 14px;
    transition: opacity 0.3s ease;
}
#booking-loading .spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #eee;
    border-top-color: #c9a15a;
    border-radius: 50%;
    animation: booking-spin 0.8s linear infinite;
}
@keyframes booking-spin {
    to { transform: rotate(360deg); }
}
#booking-widget-wrapper.is-loaded #booking-loading {
    opacity: 0;
    pointer-events: none;
}
#nobeds-booking-frame {
    position: relative;
    z-index: 1;
    background: #fff;
}


/* -------------------------------------------------------------------------
   7) Datenschutz-Seite (datenschutz.html)
   ------------------------------------------------------------------------- */
#content .privacy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin: 34px 0 12px;
    color: #2b2b2b;
}
#content .privacy-content h2:first-of-type {
    margin-top: 0;
}
#content .privacy-content h3 {
    font-family: 'Sintony', sans-serif;
    font-size: 17px;
    margin: 22px 0 8px;
    color: #444;
}
#content .privacy-content p,
#content .privacy-content li {
    color: #555;
    line-height: 1.7;
}
#content .privacy-content ul {
    padding-left: 20px;
}


/* -------------------------------------------------------------------------
   8) Schwebende Kontakt-Buttons: WhatsApp, Telefon, E-Mail (auf allen Seiten)
   ------------------------------------------------------------------------- */
#floating-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#floating-contact-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#floating-contact-buttons a:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
#floating-contact-buttons .btn-whatsapp {
    background: #25D366;
}
#floating-contact-buttons .btn-call {
    background: #c9a15a;
}
#floating-contact-buttons .btn-mail {
    background: #4a4a4a;
}
@media (max-width: 480px) {
    #floating-contact-buttons {
        right: 14px;
        bottom: 14px;
    }
    #floating-contact-buttons a {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}
