/* events.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Page background */
body {
    background-image: url("../img/brick_texture.jpg");
    background-repeat: repeat;
    background-color: #0a0a0a;
    background-size: 1024px 1024px;
}

.event-poster {
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* Description Text */
.event-info-card {
    background-color: #000000;
    color: #ffffff;
    border: none;
    
}

.event-info-card .card-body {
    padding: 2rem;
    border-radius: 20px;
    font-family: 'Fira Code', 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Buy Ticket button styling */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0.5rem;
    padding: 0 1rem 2rem;
}
.tpos-add-to-cart {
    background-color: #918121;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
    white-space: nowrap;
}
.tpos-add-to-cart:hover {
    background-color: #e2ce47;
    color: #000000;
}

/* Add to Calendar button styling */
.calendar-btn {
    background-color: #000000;
    color: #918121;
    border: 2px solid #918121;
    border-radius: 0;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
    white-space: nowrap;
}
.calendar-btn:hover {
    background-color: #333333;
}

/* Calendar dropdown styling */
#calendar-choice {
    display: none;
    position: absolute;
    background-color: #000000;
    border: 2px solid #918121;
    z-index: 1000;
    padding: 0;
    margin-top: 5px;
    min-width: 200px;
    box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
}
.calendar-option {
    padding: 10px 16px;
    cursor: pointer;
    color: #918121;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #333333;
}
.calendar-option:last-child {
    border-bottom: none;
}
.calendar-option:hover {
    background-color: #333333;
}

/* Animation for the logo */
.vibrate {
    animation: vibrate 0.5s linear infinite;
    animation-play-state: paused;
}
.vibrate:hover {
    animation-play-state: running;
}
@keyframes vibrate {
    0% {transform: translate(0);}
    20% {transform: translate(-2px, 2px);}
    40% {transform: translate(-2px, -2px);}
    60% {transform: translate(2px, 2px);}
    80% {transform: translate(2px, -2px);}
    100% {transform: translate(0);}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-poster {
        max-width: 90%;
    }

    .event-info-card .lead {
        font-size: 1.4rem;
    }

    .button-container {
        padding: 0 1.5rem 2rem;
        gap: 15px;
    }

    .tpos-add-to-cart, .calendar-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .event-info-card .lead {
        font-size: 1.2rem;
        letter-spacing: 0.3px;
    }

    .button-container {
        padding: 0 1rem 2rem;
        gap: 10px;
    }

    .tpos-add-to-cart, .calendar-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}