/* ====================
   SCHWARZER HERMANN
   Black & White Design
   ==================== */

/* Font Imports */
@font-face {
    font-family: 'CardenioModern';
    src: url('../fonts/CardenioModernStd.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CardenioModern';
    src: url('../fonts/CardenioModernBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-text-size-adjust: 100%;
    font-family: 'CardenioModern';
    background-color: #000000;
    background-size: auto;
    color: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    text-align: center;
    padding: 30px 0 20px;
}

.header-content .logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Events Section */
.events-section {
    margin: 20px 0;
}

.events-section h2,
.event-banner-section h2,
.calendar-section h2,
.reservation-section h1,
.form-header h2,
.popup-content h3 {
    font-family: 'CardenioModern';
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
}

.events-section h2,
.event-banner-section h2 {
    font-size: 1.8rem;
}

.reservation-section h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.form-header h2 {
    font-size: 1.6rem;
}

.calendar-section h2 {
    font-size: 1.5rem;
    text-align: left;
}

.events-grid {
    display: grid;
    gap: 15px;
}

.event-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
}

.event-image {
    width: 120px;
    min-height: 100px;
    background-size: auto;
    background-repeat: repeat;
    flex-shrink: 0;
}

.event-info {
    padding: 15px;
    flex: 1;
}

.event-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.event-date {
    color: #cccccc;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.event-desc {
    color: #aaaaaa;
    font-size: 0.85rem;
}

/* Event Banner */
.event-banner-section {
    margin: 20px 0;
}

.event-banner {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 0;
    margin: 20px 0;
}

.event-banner-item {
    min-width: 200px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.event-banner-item img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.event-banner-item h3 {
    color: #ffffff;
    font-size: 1rem;
    margin: 5px 0;
}

.event-banner-item p {
    color: #cccccc;
    font-size: 0.8rem;
}

/* Calendar */
.calendar-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #ffffff;
    border-radius: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    padding: 10px;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(20,20,20,0.9);
    border: 1px solid #444444;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.calendar-day:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.calendar-day.selected {
    border-color: #ffffff;
    background: rgba(255,255,255,0.2);
}

.calendar-day.has-event::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

.calendar-day-number {
    font-size: 1.1rem;
    color: #f5f5f5;
}

.calendar-day.today {
    border: 2px solid #ffffff;
}

/* Reservation Form */
.reservation-section {
    flex: 1;
    margin: 20px 0;
}

.reservation-form {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(5px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444444;
    border-radius: 6px;
    background: rgba(20, 20, 20, 0.9);
    color: #f5f5f5;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: #ffffff;
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-family: 'CardenioModern';
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #cccccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #4a9a4a;
    border-radius: 12px;
}

.success-message h2 {
    font-family: 'CardenioModern';
    font-weight: bold;
    color: #6abf6a;
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-message p {
    color: #f5f5f5;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Error Message */
.error-message {
    background: rgba(180, 50, 50, 0.3);
    border: 1px solid #b43232;
    color: #ff9999;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 30px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    max-width: 150px;
    opacity: 0.8;
}

.footer-logo-lov {
    max-width: 200px;
    margin: 20px auto;
    display: block;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #cccccc;
}

/* Popup */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #1a1a1a;
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
}

.popup-content h3 {
    font-family: 'CardenioModern';
    font-weight: bold;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.popup-content p {
    color: #f5f5f5;
    margin-bottom: 20px;
}

.popup-content a {
    display: inline-block;
    padding: 12px 24px;
    background: #ffffff;
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.popup-content .close-btn {
    margin-top: 15px;
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        width: 100%;
        height: 150px;
    }
    
    .reservation-form {
        padding: 20px;
    }
    
    .event-banner {
        flex-direction: column;
    }
    
    .event-banner-item {
        min-width: 100%;
    }
}











/* Portal Subtitle - Desktop */
.portal-subtitle {
    font-family: 'CardenioModern';
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.2;
}

/* Portal Subtitle - Mobile */









/* Portal Subtitle Mobile Override */
@media (max-width: 768px) {
    .portal-subtitle {
        font-size: 1.2rem !important;
        margin-top: 30px;
        margin-bottom: 20px;
        letter-spacing: 5px;
    }
}














/* Desktop Background */
@media (min-width: 769px) {
    body {
        background-color: #000000;
                background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: fixed;
    }
}


/* Mobile Background */
@media (max-width: 768px) {
    body {
        background-color: #000000;
                background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-attachment: scroll;
    }
}


@media (max-width: 768px) {
    .reservation-form {
        padding: 15px;
        margin: 10px auto;
        width: calc(100% - 20px);
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 16px;
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 14px;
    }
}


/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    background: #1a1a1a;
    border: 2px solid #fff;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover {
    color: #d4a574;
}

.lightbox-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border: 1px solid #fff;
}

.lightbox-content h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 24px;
}

.lightbox-content p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.5;
}

.lightbox-content .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .lightbox {
        padding: 10px;
    }
    
    .lightbox-content {
        padding: 20px;
        max-height: 95vh;
    }
    
    .lightbox-content h2 {
        font-size: 20px;
    }
}


.area-hidden { display: none !important; }
