@import url("https://fonts.googleapis.com/css2?family=Poiret+One&family=Red+Hat+Mono&display=swap");

/* General Styles */
body {
    font-family: 'Poiret One', cursive;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #9e9e9e;
    box-sizing: border-box;
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scrolling for navigation */
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #25110c;
    color: white;
    text-align: center;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

header p {
    margin: 1rem 0 0;
    font-size: 1.2rem;
}

/* Navigation */
nav {
    background-color: rgb(0, 0, 0);
    text-align: center;
    padding: 0.5rem 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Poiret One', cursive;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #70663d;
}

/* Fix anchor scroll issues with offset for fixed header */
:target {
    scroll-margin-top: 175px; /* Adjust for header height */
}

/* Main Content */
/* If you want the content behind the footer, no extra margin needed on main */
/* If you'd rather avoid covering content, add bottom-padding or margin to main */
main {
    margin-top: 175px;
    padding-bottom: 100px;
}

/* Hero Section */
#hero {
    background-color: #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 2rem auto;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content p,
.hero-content div {
    font-family: 'Poiret One', cursive;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Quill alignment classes */
.hero-content .ql-align-left,
.about-intro .ql-align-left,
.about-intro p.ql-align-left,
.about-intro h2.ql-align-left,
.about-intro h3.ql-align-left,
.about-intro h4.ql-align-left {
    text-align: left !important;
}

.hero-content .ql-align-center,
.about-intro .ql-align-center,
.about-intro p.ql-align-center,
.about-intro h2.ql-align-center,
.about-intro h3.ql-align-center,
.about-intro h4.ql-align-center {
    text-align: center !important;
}

.hero-content .ql-align-right,
.about-intro .ql-align-right,
.about-intro p.ql-align-right,
.about-intro h2.ql-align-right,
.about-intro h3.ql-align-right,
.about-intro h4.ql-align-right {
    text-align: right !important;
}

.hero-content .ql-align-justify,
.about-intro .ql-align-justify,
.about-intro p.ql-align-justify,
.about-intro h2.ql-align-justify,
.about-intro h3.ql-align-justify,
.about-intro h4.ql-align-justify {
    text-align: justify !important;
}

/* Panels */
.panel {
    max-width: 800px;
    margin: 1rem auto;
    padding: 2rem;
    background-color: #3a3a3a;
    color: white;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#menu.panel {
    padding-top: 0.5rem;
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.panel-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 1;
    border-radius: 8px;
    pointer-events: none;
}

/* Events */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    background-color: rgba(43, 15, 15, 0.8);
    border: 1px solid #c04600;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.event-date {
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    color: #ffcd70;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: white;
}

.event-description {
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-top: 1rem;
}

.event-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.panel h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

#menu.panel h2 {
    margin-top: 0;
    padding-top: 0;
}

.panel p {
    font-family: 'Poiret One', cursive;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Menu Categories */
.menu-category {
    border-top: 2px solid #352e2d;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 2.5rem;
    font-family: 'Poiret One', cursive;
    text-align: center;
    font-weight: bold;
}

/* Menu Category Wrapper */
.menu-category-wrapper {
    margin-bottom: 2rem;
}

/* Menu Items */
.menu-item {
    background-color: rgba(43, 15, 15, 0.9);
    border: 1px solid rgba(192, 70, 0, 0.9);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem;
    box-shadow: 0 8px 9px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease; /* Adjust transition duration for smooth scaling */
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
}


.menu-item-text {
    flex: 1;
    text-align: left;
}

.menu-item h3 {
    display: flex;
    padding: 0rem;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
}

.menu-item p {
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.menu-item-image-container {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 1px solid #c04600;
}

.menu-item-image-container:hover {
    transform: scale(1.05);
}

.menu-item-image-frontend {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-item-text {
    flex: 1;
    text-align: left;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #25110c;
    color: white;
    text-align: center;
    padding: 0.1rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
}

/* Adjust link text color in the footer */
footer a {
    color: #ff7b00;       /* Choose whatever color you want for links */
    text-decoration: none;
}

footer a:hover {
    color: #ffcd70;       /* Hover color, e.g. gold */
    text-decoration: underline;
}

/* About Section with Background Image */
#about-panel {
    position: relative;
    overflow: hidden;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-align: center; /* Keep center for title and details */
}

.about-content h2 {
    text-align: center; /* Ensure title is centered */
}

.about-intro {
    margin: 1rem 0;
    text-align: initial; /* Reset inherited center alignment so editor alignment classes work */
    line-height: 1.2; /* Tight line spacing to match editor */
}

.about-intro h2,
.about-intro h3,
.about-intro h4 {
    margin: 0;
    margin-bottom: 0.1rem;
    font-family: 'Poiret One', cursive;
    line-height: 1.1;
}

.about-intro p {
    margin: 0;
    font-family: 'Poiret One', cursive;
    line-height: 1.2;
}

.about-intro p + p {
    margin-top: 0.1rem; /* Very minimal spacing between paragraphs */
}

.about-intro p:empty,
.about-intro p:has(br:only-child) {
    margin: 0;
    height: 0.1rem; /* Minimal spacing for line breaks */
    line-height: 0.1rem;
    overflow: hidden;
}

.about-details-container {
    margin-top: 1rem;
    text-align: center; /* Keep details centered */
}

.about-details-container p {
    margin: 0.5rem 0;
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    text-align: center; /* Keep detail items centered */
}

/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #ffcd70;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-item-image-container {
        height: 180px;
    }
    
    .lightbox-close {
        top: -2.5rem;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Maintenance Mode Page Styles */
.maintenance-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-color: #000000;
}

.maintenance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.maintenance-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    background-color: rgba(37, 17, 12, 0.65);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.maintenance-title {
    font-size: 3rem;
    color: #ffcd70;
    margin-bottom: 0;
    font-weight: bold;
    line-height: 1.1;
}

.maintenance-subtitle {
    font-size: 1.5rem;
    color: #9e9e9e;
    margin-bottom: 2rem;
    margin-top: 0.1rem;
    line-height: 1.2;
}

.maintenance-intro {
    font-size: 1.2rem;
    color: #d4d4d4;
    margin-bottom: 2rem;
    line-height: 1.2; /* Tight line spacing to match editor */
}

.maintenance-intro h2,
.maintenance-intro h3,
.maintenance-intro h4 {
    margin: 0;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

.maintenance-intro p {
    margin: 0;
    line-height: 1.2;
}

.maintenance-intro p + p {
    margin-top: 0.1rem; /* Very minimal spacing between paragraphs */
}

.maintenance-intro p:empty,
.maintenance-intro p:has(br:only-child) {
    margin: 0;
    height: 0.1rem; /* Minimal spacing for line breaks */
    line-height: 0.1rem;
    overflow: hidden;
}

/* Quill Alignment Classes for Maintenance Page */
.maintenance-intro .ql-align-left { text-align: left; }
.maintenance-intro .ql-align-center { text-align: center; }
.maintenance-intro .ql-align-right { text-align: right; }
.maintenance-intro .ql-align-justify { text-align: justify; }

.maintenance-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.maintenance-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffcd70;
}

.maintenance-detail-label {
    font-weight: bold;
    color: #ffcd70;
    font-size: 1.1rem;
}

.maintenance-detail-value {
    color: #d4d4d4;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .maintenance-content {
        padding: 2rem 1.5rem;
    }
    
    .maintenance-title {
        font-size: 2rem;
    }
    
    .maintenance-subtitle {
        font-size: 1.2rem;
    }
    
    .maintenance-detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

