/* London Theatre Direct Maintenance Page Styles */
/* Extracted from maintenance.aspx for better organization and caching */

/* Import Google Fonts - Source Sans Pro (matching main website) */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    background-color: #eaebed;
    color: #787878;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
    overflow-x: hidden;
}

.maintenance-container {
    background: #ffffff;
    border: 2px solid #d0d2d5;
    padding: 50px 40px;
    text-align: center;
    max-width: 800px;
    margin: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(61, 21, 71, 0.1);
}

.maintenance-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #3d1547;
}

.maintenance-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #630b79, #630b79 40%, #630b79 60%, #630b79);
}

.maintenance-icon {
    margin-bottom: 30px;
}

.maintenance-icon img {
    max-width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: #101010;
    font-size: 50px;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
}

.maintenance-message {
    font-size: 16px;
    color: #787878;
    margin-bottom: 40px;
    line-height: 1.4;
}

.maintenance-details {
    background: #eaebed;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid #d0d2d5;
    position: relative;
}

.maintenance-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(173, 173, 173, 0), rgba(173, 173, 173, 0.8) 40%, rgba(173, 173, 173, 0.8) 60%, rgba(173, 173, 173, 0));
}

.maintenance-details h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: #101010;
    font-size: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.maintenance-time {
    color: #787878;
    margin-top: 20px;
    font-size: 16px;
}

.maintenance-schedule {
    margin-bottom: 15px;
}

.maintenance-schedule p {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.maintenance-schedule strong {
    color: #101010;
    font-weight: 700;
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #d0d2d5;
}

.contact-info h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    color: #101010;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-links a {
    font-weight: 700;
    background-color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    margin: 0 15px;
    border-radius: 0;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: -.07em;
}

.contact-links a:hover {
    background-color: #3d1547;
    color: #fff;
    text-decoration: underline;
}

/* Progress Bar Styles */
.progress-indicator {
    margin: 30px 0;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3d1547 0%, #630b79 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 4px rgba(61, 21, 71, 0.3);
}

.progress-text {
    margin-top: 15px;
    font-size: 16px;
    color: #787878;
    text-align: center;
    font-weight: 400;
}

.progress-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #101010;
    margin-bottom: 5px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* User Guidance Section */
.user-guidance {
    background: #eaebed;
    border: 2px solid #d0d2d5;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0;
}

.user-guidance h3 {
    color: #101010;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-guidance ul {
    margin: 0;
    padding-left: 20px;
    color: #787878;
}

.user-guidance li {
    margin-bottom: 8px;
    list-style-type: square;
    padding-left: 20px;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.footer-note {
    margin-top: 40px;
    font-size: 16px;
    color: #787878;
}

/* London Theatre Direct specific styling */
.ltd-footer {
    height: 60px;
    width: 100%;
    background-color: #3d1547;
    margin-top: 40px;
    position: relative;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop and Large Tablets */
@media (max-width: 1024px) {
    .maintenance-container {
        max-width: 700px;
        padding: 50px 30px;
    }
    
    .user-guidance ul {
        padding-left: 15px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 40px 20px;
        margin: 15px;
    }
    
    h1 {
        font-size: 35px;
        line-height: 1.2;
    }
    
    .maintenance-icon img {
        max-width: 180px;
    }
    
    .maintenance-message {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .progress-percentage {
        font-size: 20px;
    }
    
    .progress-text {
        font-size: 14px;
    }
    
    .user-guidance, .maintenance-details {
        padding: 15px;
        margin: 20px 0;
    }
    
    .contact-links a {
        font-size: 16px;
        padding: 12px 20px;
        margin: 8px 0;
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .maintenance-container {
        margin: 5px;
        padding: 30px 15px;
        font-size: 16px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .maintenance-icon img {
        max-width: 150px;
    }
    
    .progress-percentage {
        font-size: 18px;
    }
    
    .user-guidance li {
        margin-bottom: 10px;
        font-size: 15px;
    }
}

/* Landscape tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .maintenance-container {
        max-width: 800px;
        padding: 40px;
    }
    
    .progress-indicator {
        margin: 25px 0;
    }
}

/* High-DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .maintenance-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        font-size: 12pt;
    }
    
    .maintenance-container {
        box-shadow: none;
        border: 1px solid #000;
        max-width: none;
        margin: 0;
        padding: 20pt;
    }
    
    .progress-bar,
    .contact-links,
    .user-guidance {
        display: none;
    }
    
    h1 {
        font-size: 18pt;
        color: #000;
    }
    
    .maintenance-details {
        background: white;
        border: 1px solid #000;
    }
}