/* Shared Styles for VIP Hockey Stadium */

/* Header Styles */
.header-container {
    position: relative;
    background: #08100C;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-content {
    padding: 30px 0;
    transition: all 0.3s ease;
}

.scrolled .header-content {
    padding: 15px 0;
}

/* Logo Styles */
.main-logo {
    width: 180px;
    height: 60px;
    transition: all 0.3s ease;
}

.scrolled .main-logo {
    width: 50px;
    height: 50px;
    border-width: 2px;
}

.side-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #7b68ee;
    background-color: white;
    box-shadow: 0 3px 10px rgba(123, 104, 238, 0.3);
    transition: all 0.3s ease;
}

.scrolled .side-logo {
    width: 35px;
    height: 35px;
    border-width: 1px;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.main-logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    border: 10px solid white;
    border-radius: 15px;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.5),
    0 0 40px 10px rgba(255, 255, 255, 0.3),
    0 0 60px 15px rgba(255, 255, 255, 0.1);
}

.left-logo {
    align-self: flex-start;
}

.right-logo {
    align-self: flex-start;
}

/* Base Layout */
body {
    padding-top: 0;
    background: #08100C url("../img/hintergrund_qr-r9Rwy0H.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    padding: 0 20px;
}

/* Welcome Section */
.welcome-section {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-title {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.company-logo-container {
    margin-top: 20px;
}

.company-logo {
    max-width: 200px;
    height: auto;
    background-color: white;
    border: 10px solid white;
    border-radius: 15px;
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.5),
    0 0 40px 10px rgba(255, 255, 255, 0.3),
    0 0 60px 15px rgba(255, 255, 255, 0.1);
}

/* Parallax Button Styles */
.parallax-section {
    padding: 0 0;
}

.parallax-button {
    position: relative;
    width: calc(100% - 40px);
    aspect-ratio: 1;
    margin: 30px 20px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.parallax-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.parallax-bg {
    position: absolute;
    top: -200px;
    left: -10px;
    right: -10px;
    bottom: -200px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 50%, rgba(15, 52, 96, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.parallax-button:hover .parallax-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.5) 50%, rgba(15, 52, 96, 0.6) 100%);
}

.parallax-text {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
    margin: 0;
    transition: transform 0.3s ease;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.parallax-button:hover .parallax-text {
    transform: scale(1.05);
}

.parallax-button-half {
    aspect-ratio: 2/1;
}

.parallax-button-half .parallax-text {
    font-size: 2rem;
    letter-spacing: 2px;
}

/* Back Button Styles */
.back-button-container {
    padding: 20px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.back-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateX(-5px);
}

/* Menu Page Styles */
.menu-section {
    padding: 50px 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Order Page Styles */
.order-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 160px 20px;
}

.table-number {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 15px;
    margin-bottom: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
}

.order-item-name {
    color: #ffffff;
    font-weight: bold;
    flex: 1;
}

.drink-volume {
    font-size: 0.5em;
    font-weight: normal;
    opacity: 0.8;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: rgba(128, 128, 128, 1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-display {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.order-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    z-index: 1000;
}

.order-summary {
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.order-button {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #1e40af 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.order-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.order-confirmation {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    z-index: 1001;
    min-width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.order-confirmation.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.order-confirmation h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.order-confirmation p {
    margin: 5px 0;
    font-size: 1rem;
}

.order-confirmation .order-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.order-content {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .order-container {
        flex-direction: column;
        height: auto;
    }

    .drinks-sidebar, .order-panel {
        width: 100%;
    }
}

.menu-title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 50px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.course-section {
    margin-bottom: 60px;
}

.course-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .course-title::before,
    .course-title::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 80px;
        height: 2px;
        background: linear-gradient(to right, transparent, #ffffff, transparent);
    }

    .course-title::before {
        right: 100%;
        margin-right: 20px;
    }

    .course-title::after {
        left: 100%;
        margin-left: 20px;
    }
}

.menu-item {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    text-align: center;
}

.menu-item:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.menu-item-name {
    font-size: 1.0rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #ffffff;
}

.menu-item-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    line-height: 1.5;
}

.section-separator {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 40px 0;
    border-radius: 1px;
}
