﻿
/* FORM */
#bookingForm {
    display: none;
    margin: 30px auto;
    background: #fff;
    padding: 55px;
    border-radius: 10px;
    box-shadow: 0 0 70px 0 #0000000d;
    max-width: 560px;
}
    #bookingForm input {
        border: 1px solid #00000038;
        border-radius: 10px;
        height: 55px;
        padding: 10px 15px !important;
    }
button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}
    button.submitbutton {
        background: #29a218;
        border-radius: 11px;
        font-size: 19px;
    }
span#tblNo {
    color: #CF2030 !important;
}
.table.final {
    position: relative;
}
section.gallery-section img {
    width: 100%;
    border-radius: 0px 0px 20px 20px;
}

    /*.table.final .table-inner::after {
        content: attr(data-name) "\A" attr(data-chapter);
        position: absolute;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.85);
        color: #fff;
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 5px;
        white-space: nowrap;
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: 0.2s;
    }
.table-inner::after {
    content: attr(data-name) "\A" attr(data-chapter);
  white-space: pre-line;*/  /*👈 ye fix hai*/ 
    /*position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 99;
    text-align: center;
}*/

    .table.final:hover .table-inner::after {
        opacity: 1;
        visibility: visible;
    }
.passage.responsive {
    display: none;
}
@media (max-width: 1024px) {
    .passage {
        position: relative;
        padding: 115px 30px;
        top: 0;
        bottom: 0;
    }
    .hall-wrapper {
        gap: 10px;
    }
    .tablerowdirection {
        overflow-x: auto;
        display: block;
    }
}
    @media (max-width: 768px) {
        .hall-wrapper {
            gap: 17px;
            min-width: 859px;
        }
        .passage.responsive {
            display: block;
        }
        .tablerowdirection {
            margin: 0px 0;
        }
    }
@media (max-width: 767px) {
    .hall-wrapper {
        min-width: 100%;
    }
    .passage {
        padding: 105px 30px;
    }
   
}
















.bookslots {
    padding: 50px 0 10px;
    background: #f5f8fc;
}

/* Main Cards */

.custom-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    height: 100%;
    border: 1px solid #eef2f7;
}

/* Header */

.blue-header {
    background: linear-gradient(90deg,#003a8c,#0d57c5);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    padding: 18px 35px;
}

.green-header {
    background: linear-gradient(90deg,#1f8c37,#3db54a);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    padding: 18px 35px;
}

    .blue-header i,
    .green-header i {
        margin-right: 10px;
    }

/* Layout Image */

.layout-wrapper {
    padding: 10px 20px 0px;
    text-align: center;
}

    .layout-wrapper img {
        width: 100%;
        border-radius: 15px;
    }

/* Legend */

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 25px;
    flex-wrap: wrap;
    font-size: 16px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

    .legend-dot.available {
        background: #28a745;
    }

    .legend-dot.pending {
        background: #ffc107;
    }

    .legend-dot.final {
        background: #e6e6e6;
        border: 1px solid #bdbdbd;
    }

/* Stall Grid */

.stall-grid {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 25px;
}

/* Stall Box */

.stall-box {
    border-radius: 12px;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .stall-box:hover {
        transform: translateY(-5px);
    }

    /* Available */

    .stall-box.available {
        background: #f5f5f5;
        color: #000;
    }

    /* Pending */

    .stall-box.pending {
        background: #ffc107;
        color: #000;
    }
    .stall-box.pending { 
        pointer-events: none;
    }
    /* Booked */

    .stall-box.final {
        background:#28a745;
        color: #fff;
        border: 1px solid #ddd;
    }

/* Text */

.stall-no {
    display: block;
    font-size: 30px;
    font-weight: 700;
}

.stall-size {
    display: block;
    font-size: 15px;
    margin-top: 4px;
}

/* Responsive */

@media (max-width: 1200px) {

    .stall-grid {
        grid-template-columns: repeat(4,1fr);
    }
}

@media (max-width: 991px) {

    .stall-grid {
        grid-template-columns: repeat(3,1fr);
        padding: 25px;
    }

    .blue-header,
    .green-header {
        font-size: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .stall-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .legend {
        gap: 15px;
    }
}

@media (max-width: 480px) {

    .stall-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
        padding: 15px;
    }

    .stall-no {
        font-size: 18px;
    }

    .stall-size {
        font-size: 13px;
    }

    .blue-header,
    .green-header {
        font-size: 20px;
        padding: 15px;
    }
}

/* ================= HERO ================= */

.stall-hero {
    padding: 0px 0;
    background: #f5f8fc;
}

.hero-box {
    /* background: linear-gradient( 135deg, #eef6ff, #f7fbff); */
    border-radius: 0px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0,0,0,.08); */
}

.hero-content {
    padding: 30px 50px;
}

.hero-tag {
    color: #34a853;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 34px;
    font-weight: 700;
    color: #123a7b;
    margin-top: 5px;
    line-height: 37px;
}

.hero-content p {
    margin-top: 8px;
    font-size: 16px;
    color: #555;
    max-width: 600px;
}

.hero-image {
    height: 100%;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ================= BENEFITS ================= */

.benefits-section {
    padding: 15px 30px 35px;
    background: #f5f8fc;
}

.benefit-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0px;
}

.benefit-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.icon-circle {
    width: 50px;
    height: 52px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}

.blue {
    background: #0d57c5;
}

.green {
    background: #2fad4b;
}

.benefit-item h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 18px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1200px) {

    .hero-content h1 {
        font-size: 48px;
    }

    .benefit-wrapper {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:991px) {

    .hero-content {
        padding: 20px 15px;
        text-align: left;
        max-width: 320px;
    }

        .hero-content h1 {
            font-size: 20px;
        }

        .hero-content p {
            margin: auto;
            margin-top: 0px;
        }
}

@media(max-width:768px) {

    .benefit-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 20px;
        line-height: 24px;
    }
    .hero-tag {
        font-size: 14px;
    }

    .hero-content p {
        font-size: 12px;
        line-height: 15px;
    }
    .bookslots {
        padding: 20px 20px 10px;
    }
    .benefit-item {
        justify-content: center;
        align-items: center;
    }
    .hero-image {
        height: 100%;
        width: 550px;
        margin-left: -127px;
    }
    .hero-box{
        display:none;
    }
}