/* Modern Bestel Page Styling */

/* Main container */
main {
    min-height: calc(100vh - 120px);
    padding: 20px;
    background: #fbbf00;
    background-image: url('../images/test.svg');
    background-repeat: repeat;
    background-size: 1200px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: #d1321b;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 300;
}

#choose-text {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 0;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Popup Styling */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header h2 {
    font-size: 1.8rem;
    color: #212529;
    margin-bottom: 10px;
    font-weight: 600;
}

.popup-header p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1rem;
}

.popup-buttons {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.popup-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.popup-btn.pickup-btn {
    border-color: #d1321b;
}

.popup-btn.pickup-btn:hover {
    background: #d1321b;
    color: white;
}

.popup-btn.delivery-btn {
    border-color: #fbbf00;
}

.popup-btn.delivery-btn:hover {
    background: #fbbf00;
    color: #212529;
}

.popup-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.popup-btn span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.popup-btn small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Order Options */
.order-options {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.option-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

.back-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: #495057;
}

.back-btn:hover {
    background: #e9ecef;
    transform: translateX(-3px);
}

.order-title {
    font-size: 2rem;
    color: #212529;
    margin: 0;
    font-weight: 600;
}

/* Info Cards */
.info-card, .delivery-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f3f4;
}

.info-card h3, .delivery-card h3 {
    font-size: 1.3rem;
    color: #212529;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.1rem;
    color: #d1321b;
    width: 20px;
    text-align: center;
}

.info-item span {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

/* Opening Hours Styling */
.opening-hours-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.opening-hours-status.open {
    color: #28a745;
}

.opening-hours-status.closed {
    color: #dc3545;
}

.opening-hours-error {
    color: #6c757d;
    font-style: italic;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.action-btn.primary {
    background: #d1321b;
    color: white;
}

.action-btn.primary:hover {
    background: #b02a17;
}

.action-btn.secondary {
    background: #28a745;
    color: white;
}

.action-btn.secondary:hover {
    background: #218838;
}

.action-btn.tertiary {
    background: white;
    color: #d1321b;
    border-color: #d1321b;
}

.action-btn.tertiary:hover {
    background: #d1321b;
    color: white;
}

/* Delivery Platforms */
.delivery-platforms {
    margin-top: 20px;
}

.delivery-platforms h3 {
    font-size: 1.3rem;
    color: #212529;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.platform-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.platform-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.platform-btn.primary {
    border-color: #d1321b;
    background: linear-gradient(135deg, #d1321b, #b02a17);
    color: white;
}

.platform-btn.thuisbezorgd {
    border-color: #ff6600;
}

.platform-btn.thuisbezorgd:hover {
    border-color: #e55a00;
    background: #fff5f0;
}

.platform-btn.ubereats {
    border-color: #000;
}

.platform-btn.ubereats:hover {
    border-color: #333;
    background: #f8f9fa;
}

.platform-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.platform-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    object-fit: contain;
}

.platform-btn span {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: inherit;
}

.platform-btn small {
    font-size: 0.9rem;
    opacity: 0.8;
    color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .popup-buttons {
        gap: 15px;
    }
    
    .popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .platform-buttons {
        grid-template-columns: 1fr;
    }
    
    .order-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .popup-buttons {
        flex-direction: row;
    }
    
    .popup-btn {
        flex: 1;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-options {
    animation: fadeIn 0.4s ease-out;
}
