@font-face {
    font-family: 'Felix Titling';
    src: url('../font/Felix Titling V2.woff2') format('woff2'),
         url('../font/Felixti.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Felix Titling', sans-serif;
    margin: 0;
    padding: 0;
    color: #333; /* Dark text color */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #f8f8f8; /* Light gray background */
    background-image: url('/uploads/background-main.jpg'); /* Fixed background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-wrapper {
    min-height: 100vh;
    background-color: rgba(248, 248, 248, 0.7); /* Less transparent background for content */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.social-media {
    text-align: center;
    margin-top: 20px;
}

.social-media a {
    color: #333;
    margin: 0 10px;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #dd6b20;
}

footer .social-media a {
    color: #bbb !important; /* Lighter color for footer social media icons */
}

footer .social-media a:hover {
    color: #dd6b20 !important; /* White on hover in footer */
}

.login-body {
    display: flex;
    justify-Content: center;
    align-Items: center;
    height: 100vh;
    flex-wrap: wrap;
    flex-direction: column;
}
.adminLoginContainer {
    align-items: center;
}
.adminLoginForm {
    display: flex;
    flex-direction: column;
}

header {
    padding: 16px;
    background-color: #fff; /* White header background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #333; /* Dark text for header title */
    transition: transform 0.3s ease-in-out;
}

header nav a {
    padding: 8px 16px;
    border-radius: 0.25rem;
    color: #555; /* Darker text for nav links */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease; /* Add transform for animation */
    margin: 0 5px; /* Add horizontal margin between links */
}

header nav a:active {
    transform: translateY(2px); /* Simple click animation */
}

header nav a:hover {
    color: #dd6b20; /* Orange on hover */
}

.admin-login-btn {
    background-color: #dd6b20; /* Orange button */
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.admin-login-btn:active {
    transform: translateY(2px);
}

.admin-login-btn:hover {
    background-color: #c05621; /* Darker orange on hover */
}

.reserve-btn {
    background-color: #dd6b20; /* Orange button */
    color: #fff;
    padding: 8px 16px;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.reserve-btn:active {
    transform: translateY(2px);
}

.reserve-btn:hover {
    background-color: #c05621; /* Darker orange on hover */
}

main {
    padding: 0px;
}

section {
    margin-bottom: 48px;
}

#bar-info {
    text-align: center;
    padding: 32px;
    border-radius: 0.5rem;
    background-color: transparent; /* No background for info section */
    box-shadow: none; /* No shadow */
    color: #333;
}

#bar-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #333;
}

#bar-description {
    font-size: 1.125rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.contact-details-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center; /* Center align for contact details */
    justify-items: center;
}

.contact-details-grid div {
    padding: 16px;
    border-radius: 0.5rem;
    color: #333;
}

.contact-details-grid strong {
    color: #dd6b20;
    display: block; /* Make strong tags block for better separation */
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .contact-details-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for desktop */
    }
}

h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 2px solid #dd6b20; /* Orange border */
    padding-bottom: 8px;
    color: #333;
    margin-top: 40px; /* Add some top margin */
}

.hero-section {
    text-align: center;
    padding: 100px 20px; /* Large padding for prominent display */
}

.hero-section h1 {
    font-size: 4rem; /* Very large font size for "Atlas Bar" */
    font-weight: 900;
    color: #333;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/*
.card-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    gap: 20px;
    justify-content: center;
}
*/

.card-carousel {
  display: flex;         /* Ordnet alle .card-Elemente nebeneinander an */
  overflow-x: auto;      /* Ermöglicht horizontales Scrollen */
  padding: 1rem 0;       /* Etwas Abstand oben/unten (optional) */

  /* Verhindert, dass Karten in die nächste Zeile umbrechen */
  flex-wrap: nowrap;     
  
  /* WICHTIG für dein JS: Ohne Scroll-Verhalten scrollt das JS */
  scroll-behavior: auto; /* Deaktiviert smooth scrolling, falls es global an ist */

  /* Optional: Scrollbar ausblenden, da du JS-Scrolling hast */
  scrollbar-width: none;  /* Firefox */
  gap: 20px;
}



.card-carousel::-webkit-scrollbar {
    height: 10px;
}

/* Chrome, Safari, Opera */
.card-carousel::-webkit-scrollbar {
    /*display: none;*/
}

.card-carousel::-webkit-scrollbar-thumb {
    background-color: #dd6b20; /* Orange scrollbar thumb */
    border-radius: 5px;
}

.card-carousel::-webkit-scrollbar-track {
    background-color: #e0e0e0; /* Light gray scrollbar track */
    border-radius: 5px;
}

.card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background-color: #fff; /* White card background */
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #333;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 192px;
    object-fit: cover;
}

.hidden {
    display: none !important;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to fill available space */
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #dd6b20; /* Orange title */
}

.card-subtitle {
    color: #555;
    margin-bottom: 8px;
}

.card-description {
    color: #777;
}

.cocktail-category-title {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    color: #333;
}

.cocktail-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.cocktail-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #dd6b20; /* Orange cocktail name */
}

.cocktail-price {
    font-size: 1.125rem;
    font-weight: bold;
    color: #555;
}

.cocktail-ingredients {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 16px;
}

footer {
    text-align: center;
    padding: 16px;
    margin-top: 48px;
    background-color: #333; /* Dark footer background */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-admin-login-btn {
    background-color: transparent; /* Make it subtle */
    color: #bbb; /* Lighter text color */
    padding: 5px 10px;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-admin-login-btn:hover {
    color: #fff; /* White on hover */
}

/* Admin Dashboard Specific Styles */
.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333; /* Dark text for admin section titles */
}

.admin-card {
    margin-bottom: 48px;
    padding: 24px;
    background-color: #fff; /* White background for admin cards */
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    color: #333;
}

.admin-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #dd6b20; /* Orange for admin card titles */
}

.list-container {
    margin-top: 16px;
    margin-bottom: 16px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: #f0f0f0; /* Light background for list items */
    border-radius: 0.25rem;
    margin-bottom: 8px;
    color: #333;
}

.btn {
    padding: 8px 16px;
    border-radius: 0.25rem;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-danger {
    background-color: #dc3545; /* Red */
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    background-color: #28a745; /* Green */
}

.btn-success:hover {
    background-color: #218838;
}

.btn-warning {
    background-color: #ffc107; /* Yellow */
    color: #333;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-secondary {
    background-color: #6c757d; /* Gray */
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 0.875rem;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid .col-span-2 {
        grid-column: span 2;
    }
}

.admin-card form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.admin-card form input[type="text"],
.admin-card form input[type="email"],
.admin-card form input[type="number"],
.admin-card form input[type="datetime-local"],
.admin-card form textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Darker overlay for modals */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    color: #333;
    width: 80%;
    max-width: 600px;
    padding: 0; /* Remove padding to allow image to fill top */
    overflow: hidden; /* Ensures the image respects the border-radius */
}

.close-button {
    color: #fff; /* White color for visibility on image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.modal h3 {
    color: #dd6b20;
    margin-bottom: 20px;
}

.modal form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.modal form input[type="text"],
.modal form input[type="datetime-local"],
.modal form textarea,
.modal form input[type="email"],
.modal form input[type="number"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 0.25rem;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
}

.modal form button {
    width: auto; /* Adjust button width */
    padding: 10px 20px;
    border-radius: 0.25rem;
    border: none;
    background-color: #dd6b20;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px; /* Space between buttons */
}

.modal form button:hover {
    background-color: #c05621;
}

/* Reservation Form Response Message Styling */
#response.success {
    background-color: rgba(46, 125, 50, 0.2); /* Transparent green */
    color: #a5d6a7; /* Light green text */
}

#response.error {
    background-color: rgba(211, 47, 47, 0.2); /* Transparent red */
    color: #ef9a9a; /* Light red text */
}

.form-hint {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 0.5rem;
    text-align: left;
}
.form-warning {
    color: #f56565;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: left;
}

#submitBtn {
    width: 100%;
    padding: 0.75rem;
    background-color: #dd6b20;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submitBtn:hover {
    background-color: #c05621;
}

#response {
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: none; /* Hidden by default */
}

.response-success {
    background-color: rgba(74, 144, 126, 0.2); /* Semi-transparent green */
    color: #68d391; /* Light green text */
}

.response-error {
    background-color: rgba(229, 62, 62, 0.2); /* Semi-transparent red */
    color: #f56565; /* Light red text */
}

/* Consent Modal */
#consentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#consentModal > div {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    color: #2d3748;
}

#consentModal > div button {
    background-color: #a5d6a7;
}

#consentModal h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

#consentModal p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

#consentModal ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    padding-left: 1rem;
}

#consentModal li {
    margin-bottom: 0.5rem;
}

#consentModal > div > div {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

#consentModal button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#consentModal #declineBtn {
    background-color: #ea6464; 
}

.adminCocktailImage {
    border-radius: 0.5rem;
}

.detailcard {
    background-color: white;
    justify-content: flex-start;
}

#reservationForm {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f6ad55;
}

.form-hint {
    font-size: 0.875rem;
    color: #aaa;
    margin-top: 0.5rem;
    text-align: left;
}

.form-warning {
    color: #f56565;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-align: left;
}

.headerNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #dd6b20;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-carousel {
        padding: 1rem;
    }

    .card {
        width: 80%;
    }
}
