
.font-custom1 {
    font-family: inherit;
}
.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.category-main-wrapper {
    width: 100%;
    min-height: 100vh;
    margin-top: 100.59px; 
}

@media (min-width: 1024px) {
    .category-main-wrapper {
        margin-top: 108px;
    }
}

.custom_height {
    min-height: calc(100vh - 108px);
}

.category-header {
    margin-top: 33px;
    height: 100px;
    padding-left: 32px;
    padding-right: 32px;
    border-top: 0.5px solid black;
    border-bottom: 0.5px solid black;
    background: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -2.96px;
    color: black;
    margin: 0;
    text-transform: uppercase;
}


/* Venues Section Styles */
.venues-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.venues-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    min-height: 70vh;
}

.venue-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.video-container {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.venue-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.venue-video::-webkit-media-controls {
    display: none !important;
}

.venue-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.fallback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 55, 95, 0.6);
    z-index: 1;
}

.venue-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 55, 95, 0.8));
}

.venue-info {
    margin-bottom: 20px;
}

.venue-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.venue-description {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
    margin: 0 0 20px 0;
    opacity: 0.95;
}

.book-btn {
    background: #fff;
    border:1px solid #fff;
    color: #00375f;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}

.book-btn:hover {
    background:#00375f;
    border:1px solid #fff;
    color:#fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.7) translateY(-50px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Modal closing animation */
.modal.hiding {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}

.modal.hiding .modal-content {
    transform: scale(0.7) translateY(50px);
    opacity: 0;
}

.modal-header {
    background: #00375f;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.booking-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #00375f;
}

.form-group input,
.form-group textarea {
    width: 98%;
    padding: 12px 5px 12px 5px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00375f;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.cancel-btn,
.submit-btn {
    padding: 12px 25px;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border:1px solid #fff;
    font-family: inherit;
}

.cancel-btn {
    background: #fff;
    color: #00375f;
}

.cancel-btn:hover {
    background: #fff;
    border:1px solid #00375f;
}

.submit-btn {
    background: #00375f;
    color: white;
}

.submit-btn:hover {
    background: #fff;
    color:#00375f;
    border:1px solid #00375f;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.submit-btn:disabled:hover {
    background: #6c757d;
    transform: none;
}

/* Custom Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #00375f;
    position: relative;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 100%;
    word-wrap: break-word;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(450px);
    opacity: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    height: 0;
}

.notification.success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
}

.notification.error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #ffffff 100%);
}

.notification.warning {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
}

.notification.info {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #ffffff 100%);
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.notification-title {
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    font-size: 1rem;
    flex-grow: 1;
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #495057;
}

.notification-message {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 55, 95, 0.3);
    border-radius: 0 0 8px 8px;
    transform-origin: left;
    animation: progressBar 5s linear forwards;
}

.notification.success .notification-progress {
    background: rgba(40, 167, 69, 0.3);
}

.notification.error .notification-progress {
    background: rgba(220, 53, 69, 0.3);
}

.notification.warning .notification-progress {
    background: rgba(255, 193, 7, 0.3);
}

.notification.info .notification-progress {
    background: rgba(23, 162, 184, 0.3);
}

@keyframes progressBar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Success Transition Overlay (integrated with existing transition system) */
.success-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00375f;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.success-content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 40px;
}

.success-gif {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-gif img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    animation: successPulse 1s ease-in-out infinite alternate;
}

.success-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: successSlideUp 0.8s ease-out 0.3s both;
}

.success-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    animation: successSlideUp 0.8s ease-out 0.6s both;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes successSlideUp {
    0% { 
        opacity: 0;
        transform: translateY(30px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive for success overlay */
@media (max-width: 768px) {
    .success-content {
        padding: 30px 20px;
    }
    
    .success-text h2 {
        font-size: 2rem;
    }
    
    .success-text p {
        font-size: 1rem;
    }
    
    .success-gif img {
        width: 120px;
        height: 120px;
    }
}

/* Mobile responsive for notifications */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification.hide {
        transform: translateY(-100px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .venues-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .venue-card {
        min-height: 400px;
    }
    
    .venue-title {
        font-size: 2rem;
    }
    
    .venue-description {
        font-size: 1rem;
    }
    
    .venue-content {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .venues-section {
        padding: 20px 10px;
    }
    
    .venue-title {
        font-size: 1.8rem;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .booking-form {
        padding: 15px;
    }
}

/* RTL Support */
[dir="rtl"] .venue-content {
    text-align: right;
}

[dir="rtl"] .modal-header {
    direction: rtl;
}

[dir="rtl"] .booking-form {
    direction: rtl;
}

[dir="rtl"] .form-actions {
    justify-content: flex-start;
}