/**
 * --------------------------------------------------------------------
 * Boxhub by PSPhotoBox CMS
 * Copyright (c) 2026 Patrick Gaisbauer
 * https://www.psphotobox.at
 * --------------------------------------------------------------------
 *
 * This software is proprietary and confidential.
 *
 * Unauthorized copying, distribution, sublicensing, resale, or
 * disclosure of this software, in whole or in part, is strictly prohibited.
 *
 * The licensee is permitted to modify this software solely for
 * their own internal use. Any modified or derived versions of this
 * software remain subject to this license and may not be shared,
 * distributed, or made available to third parties.
 *
 * This source code is licensed exclusively to the original purchaser
 * of the Boxhub by PSPhotoBox CMS and may only be used in accordance
 * with the applicable license agreement.
 *
 * The software may NOT be:
 * - shared with third parties
 * - redistributed in any form
 * - used on more installations than licensed
 * - reverse engineered or decompiled
 *
 * Any violation of these terms may result in legal action.
 *
 * --------------------------------------------------------------------
 *
 * DEUTSCHE FASSUNG
 *
 * Diese Software ist propriet r und vertraulich.
 *
 * Die unbefugte Vervielf ltigung, Weitergabe, Unterlizenzierung,
 * der Weiterverkauf oder die Offenlegung dieser Software   auch
 * auszugsweise   ist strengstens untersagt.
 *
 * Der Lizenznehmer ist berechtigt, diese Software ausschlie lich
 * f r den eigenen Gebrauch zu ver ndern. Ge nderte oder abgeleitete
 * Versionen dieser Software unterliegen weiterhin dieser Lizenz
 * und d rfen weder weitergegeben noch Dritten zug nglich gemacht werden.
 *
 * Der Quellcode ist ausschlie lich f r den urspr nglichen K ufer
 * des Boxhub by PSPhotoBox CMS lizenziert und darf nur gem   den
 * Bestimmungen der jeweiligen Lizenzvereinbarung verwendet werden.
 *
 * Jede Verletzung dieser Lizenzbedingungen kann rechtliche
 * Schritte nach sich ziehen.
 *
 * --------------------------------------------------------------------
 */

/**
 * Boxhub by PSPhotoBox CMS - Central Stylesheet
 * 
 * All basic styles for the CMS frontend
 * Colors and some settings are controlled via PHP and CSS variables (see header.php)
 */
/* ===========================================
   CSS Variables (Defaults - overridden by PHP)
   =========================================== */
:root {
    --primary-color: #1D88BC;
    --secondary-color: #166a99;
    --accent-color: #03DAC6;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffa8be;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===========================================
   Reset & Base Styles
   =========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

    a:hover {
        border-color: var(--secondary-color);
    }

img {
    max-width: 100%;
    height: auto;
}

/* ===========================================
   Container & Layout
   =========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* custom blocks */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: var(--secondary-color);
}

.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===========================================
   Spacing
   =========================================== */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }

/* ===========================================
   Typography
   =========================================== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-relaxed { line-height: 1.625; }

/* ===========================================
   Colors
   =========================================== */
.text-white { color: #ffffff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-corporate { color: var(--primary-color); }

/* Alert colors */
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #15803d; }
.bg-red-100 { background-color: #fee2e2; }
.bg-green-100 { background-color: #dcfce7; }
.border-red-400 { border-color: #f87171; }
.border-green-400 { border-color: #4ade80; }

.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-900 { background-color: #111827; }
.bg-corporate { background-color: var(--primary-color); }

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================================
   Borders & Shadows
   =========================================== */
.border { border: 1px solid var(--border-color); }
.border-2 { border: 2px solid var(--border-color); }
.border-transparent { border-color: transparent; }
.border-gray-200 { border-color: #e5e7eb; }
.border-corporate { border-color: var(--primary-color) !important; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* ===========================================
   Buttons
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* ===========================================
   Cards & Glass Effect
   =========================================== */
.card-hover:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===========================================
   Animations
   =========================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(29, 136, 188, 0.3); }
    50% { box-shadow: 0 0 20px rgba(29, 136, 188, 0.5); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ===========================================
   Hero & CTA Sections
   =========================================== */
.hero-section,
.cta-section {
    position: relative;
    overflow: hidden;
}

.gradient-bg {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

/* ===========================================
   Navigation
   =========================================== */
.mobile-menu-hidden {
    display: none !important;
}

.mobile-menu-visible {
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 768px) {
    #main-menu {
        display: flex !important;
        flex-direction: row !important;
    }
    
    #main-menu.mobile-menu-hidden {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    #main-menu:not(.mobile-menu-visible) {
        display: none !important;
    }
}

/* ===========================================
   Forms
   =========================================== */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 136, 188, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: white;
}

/* ===========================================
   FAQ Accordion
   =========================================== */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary i.fa-plus::before {
    content: "\f068";
}

/* ===========================================
   Utilities
   =========================================== */
.hidden { display: none !important; }
.no-underline { text-decoration: none !important; }
.underline { text-decoration: underline; }
.cursor-pointer { cursor: pointer; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.opacity-20 { opacity: 0.2; }
.opacity-90 { opacity: 0.9; }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }
.h-full { height: 100%; }
.h-10 { height: 2.5rem; }
.h-20 { height: 6.0rem; }
.w-4 { width: 1rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-80 { width: 20rem; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.backdrop-blur-md { backdrop-filter: blur(12px); }

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.transform { transform: translateZ(0); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }

/* Object fit utilities */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ===========================================
   Responsive Utilities
   =========================================== */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:static { position: static; }
    .md\:bg-transparent { background-color: transparent; }
    .md\:shadow-none { box-shadow: none; }
    .md\:w-auto { width: auto; }
    .md\:z-auto { z-index: auto; }
    .md\:rounded-none { border-radius: 0; }
    .md\:backdrop-blur-none { backdrop-filter: none; }
    .md\:hidden { display: none; }
}

/* ===========================================
   List Styles - Remove default bullets for layout lists
   =========================================== */
/* Remove bullets from navigation menu */
#main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-menu li {
    list-style: none;
}

/* Remove bullets from grid/flex layout lists (not prose content) */
.grid > li,
.flex > li {
    list-style: none;
}

/* Grid and flex parent lists should have no default styling */
ul.grid,
ul.flex {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Remove bullets from footer lists */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    list-style: none;
}

/* Prose lists should keep their styling */
.prose ul {
    list-style-type: disc;
    list-style-position: inside;
}

.prose ol {
    list-style-type: decimal;
    list-style-position: inside;
}

/* ===========================================
   Footer Link Styles - White color to match address
   =========================================== */
footer a {
    color: #ffffff;
}

footer a:hover {
    color: var(--primary-color);
}

footer nav ul li a {
    color: #ffffff;
}

footer nav ul li a:hover {
    color: var(--primary-color);
}

/* ===========================================
   Gallery Styles - Match main website
   =========================================== */
.gallery-thumb {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Gallery grid responsive */
@media (min-width: 1024px) {
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Gallery hero colors */
.text-yellow-300 { color: #fcd34d; }

/* ===========================================
   Contact Form Styles - Match main website
   =========================================== */
.max-w-4xl { max-width: 56rem; }

/* DateRangePicker Styles */
.daterangepicker {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 1050 !important;
}

.daterangepicker .calendar-table {
    border-radius: 5px;
}

/* Styles for booked dates */
.fully-booked-date {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    cursor: not-allowed !important;
}

.partially-booked-date {
    background-color: #fff3cd !important;
    color: #856404 !important;
}

/* ===========================================
   Account Page Styles - Match main website
   =========================================== */
.tab-btn {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
}

.tab-btn:hover {
    background-color: var(--bg-light);
}

.tab-btn.tab-active {
    background-color: var(--primary-color);
    color: white;
}

.tab-btn.tab-active:hover {
    background-color: var(--secondary-color);
}

/* Responsive improvements for account sidebar */
@media (min-width: 768px) {
    .md\:w-1\/3 { width: 33.333333%; }
}

@media (min-width: 1024px) {
    .lg\:w-1\/4 { width: 25%; }
}

.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }

/* ===========================================
   Print Styles
   =========================================== */
@media print {
    header, footer, .hero-section, .cta-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}


/* Fix: Icon-Zentrierung in Flex-Containern mit text-center */
.flex.flex-col.text-center > i.fas,
.flex.flex-col.text-center > i.fab,
.flex.flex-col.text-center > i.far,
.flex.flex-col.text-center > i.fa {
    align-self: center;
}