/*==========================================
   PLAN YOUR EXPO  -  Automation Expo North
   Self-contained: this page does not load
   exhibit.css, so the floor-plan modal rules
   are repeated at the bottom of this file.
==========================================*/

.pye-section {
    background-color: #01253f;
    padding: 60px 0;
    font-family: 'Roboto', sans-serif;
}

.pye-section .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.pye-section .section-main-title {
    text-align: center;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 40px;
}

/*==========================================
   TAB BAR
==========================================*/

.pye-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(255, 255, 255, 0.10);
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(12px);
}

.pye-tab {
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
    padding: 14px 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    transition: background .25s ease, transform .25s ease, color .25s ease;
}

.pye-tab i {
    display: block;
    font-size: 22px;
    margin-bottom: 8px;
}

.pye-tab:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.pye-tab.active {
    background: #ffcc00;
    color: #01253f;
    font-weight: 700;
}

/*==========================================
   PANELS
==========================================*/

.pye-panel {
    display: none;
    background: #ffffff;
    margin-top: 18px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    color: #22333f;
    font-size: 16px;
    line-height: 1.7;
    animation: pyeFade .35s ease;
}

.pye-panel.active {
    display: block;
}

@keyframes pyeFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pye-panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #01253f;
    margin: 0 0 16px;
}

.pye-panel p {
    margin: 0 0 14px;
}

.pye-panel a:not(.pye-btn) {
    color: #0a66a8;
    text-decoration: none;
}

.pye-panel a:not(.pye-btn):hover {
    text-decoration: underline;
}

/*==========================================
   BUTTONS
==========================================*/

.pye-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

/* Matches .btn-yellow in the navbar ("Book Your Stall Now !"):
   same yellow, radius, height and hover inversion. The navbar
   bounce animation is deliberately NOT copied - it is an
   attention cue for a single CTA, not for buttons in page content. */
.pye-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 220px;
    padding: 0 28px;
    border: 2px solid #ffca05;
    border-radius: 50px;
    background: #ffca05;
    color: #111111;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}

.pye-panel a.pye-btn,
.pye-btn {
    color: #111111;
    text-decoration: none;
}

.pye-panel a.pye-btn:hover,
.pye-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #21145c;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
    text-decoration: none;
}

.pye-btn:disabled,
.pye-btn:disabled:hover {
    opacity: .6;
    cursor: not-allowed;
    background: #ffca05;
    border-color: #ffca05;
    color: #111111;
    transform: none;
    box-shadow: none;
}

/*==========================================
   VENUE TAB
==========================================*/

.pye-venue-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 26px;
    align-items: stretch;
}

.pye-map-box {
    min-height: 460px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e7eaee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pye-map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

.pye-venue-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pye-info-card {
    background: #f5f7f9;
    border: 1px solid #e7eaee;
    border-radius: 10px;
    padding: 24px;
}

.pye-info-card--dark {
    background: #01253f;
    border-color: #01253f;
    color: #ffffff;
}

.pye-info-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 16px;
}

.pye-info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pye-info-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.pye-info-card li:last-child {
    margin-bottom: 0;
}

.pye-info-card li i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #7f8c99;
}

.pye-info-card--dark li i {
    color: #ffcc00;
}

.pye-info-card li span {
    color: #7f8c99;
    font-size: 14px;
}

.pye-info-card--dark li span {
    color: rgba(255, 255, 255, 0.65);
}

/*==========================================
   CONTACT CARDS  (logistics, designers,
   printing partner)
==========================================*/

.pye-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 6px;
}

.pye-card {
    background: #f5f7f9;
    border: 1px solid #e7eaee;
    border-radius: 12px;
    padding: 22px;
    font-size: 15px;
    line-height: 1.65;
}

.pye-card p {
    margin: 0 0 8px;
}

.pye-card p:last-child {
    margin-bottom: 0;
}

.pye-card i {
    width: 18px;
    color: #7f8c99;
    margin-right: 4px;
}

.pye-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #01253f;
    margin-bottom: 10px !important;
}

.pye-card-tag {
    display: inline-block;
    margin: 0 0 8px !important;
    padding: 4px 12px;
    border-radius: 50px;
    background: #ffca05;
    color: #111111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.pye-card-sub {
    font-weight: 700;
    color: #01253f;
    margin-top: 14px !important;
    margin-bottom: 6px !important;
}

/*==========================================
   HOTEL CARDS
==========================================*/

.pye-stay-heading {
    font-size: 20px;
    font-weight: 700;
    color: #01253f;
    margin: 30px 0 16px;
}

.pye-hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.pye-hotel {
    background: #01253f;
    border-radius: 12px;
    overflow: hidden;
    color: #ffffff;
}

/* Photo band is optional - the North rate sheet ships without images.
   Drop a .pye-hotel-img div in and it styles itself. */
.pye-hotel-img {
    height: 170px;
    background: #06304f;
}

.pye-hotel-img img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

/* Shown until the hotel photo is uploaded. The inline onerror on each
   <img> adds .is-empty and removes the broken image, so the card keeps
   its shape instead of showing a broken-image icon. Nothing to undo
   later - once image/hotel/N.webp exists, this never triggers. */
.pye-hotel-img.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06304f, #0a4570);
}

.pye-hotel-img.is-empty::after {
    content: "\f594";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 34px;
    color: rgba(255, 255, 255, 0.22);
}

.pye-hotel-body {
    padding: 14px;
    font-size: 15px;
}

.pye-hotel-body h5 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.pye-hotel-body p {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.85);
}

.pye-hotel-body p i {
    width: 16px;
    margin-right: 4px;
    color: rgba(255, 255, 255, 0.45);
}

.pye-rate-line {
    margin-top: 8px !important;
}

.pye-rate {
    display: block;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #ffcc00;
}

.pye-rate--tbr {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
    font-style: italic;
    font-size: 15px;
}

.pye-stay-note {
    background: #f5f7f9;
    border-left: 4px solid #ffcc00;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 18px 0 4px;
    font-size: 14px;
    line-height: 1.65;
    color: #5a6b7a;
}

.pye-stay-note p { margin: 0; }

.pye-stay-note i {
    color: #e0b400;
    margin-right: 6px;
}

.pye-hotel-body a {
    color: #83c2ff;
}

/* card with no photo: give the body a bit more room to breathe */
.pye-hotel > .pye-hotel-body:first-child {
    padding: 20px 18px;
}


/*==========================================
   COMING SOON NOTE
   Revealed by a .pye-btn carrying data-soon.
==========================================*/

.pye-soon-note[hidden] { display: none; }

.pye-soon-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 620px;
    margin: 16px 0 0;
    padding: 14px 18px;
    border: 1px dashed #e0b400;
    border-left: 4px solid #ffca05;
    border-radius: 10px;
    background: #fff8e1;
    color: #7a5c00;
    font-size: 15px;
    line-height: 1.6;
}

.pye-soon-note i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #e0b400;
}

.pye-soon-note strong { color: #5c4500; }

.pye-soon-note.is-pulse {
    animation: pyeSoonIn .32s ease;
}

@keyframes pyeSoonIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/*==========================================
   PLACEHOLDER  (content not supplied yet)
   Delete these blocks as real content lands.
==========================================*/

.pye-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8e1;
    border: 1px dashed #e0b400;
    border-radius: 10px;
    padding: 16px 18px;
    color: #7a5c00;
    font-size: 15px;
}

.pye-placeholder i {
    color: #e0b400;
}

/*==========================================
   RESPONSIVE
==========================================*/

@media (max-width: 992px) {
    .pye-venue-grid {
        grid-template-columns: 1fr;
    }
    .pye-map-box,
    .pye-map-box iframe {
        min-height: 340px;
    }
}

@media (max-width: 768px) {
    .pye-section {
        padding: 40px 0;
    }
    .pye-section .section-main-title {
        font-size: 26px;
        margin-bottom: 26px;
    }
    .pye-tabs {
        padding: 12px;
        gap: 8px;
    }
    .pye-tab {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        font-size: 13px;
        padding: 12px 6px;
    }
    .pye-tab i {
        font-size: 19px;
        margin-bottom: 6px;
    }
    .pye-panel {
        padding: 22px 18px;
    }
    .pye-panel-title {
        font-size: 20px;
    }
    .pye-btn {
        width: 100%;
        min-width: 0;
        font-size: 16px;
        padding: 0 18px;
    }
}

/*==========================================
   FLOOR PLAN MODAL
   Duplicated from exhibit.css because this
   page does not load that stylesheet.
==========================================*/

.fp-modal[hidden] { display: none; }

.fp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fp-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, .75);
}

.fp-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.fp-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 0;
}

.fp-modal__head h3 {
    font-size: 18px;
    font-weight: 700;
    color: #01253f;
    margin: 0;
    line-height: 1.4;
}

.fp-modal__close {
    flex: 0 0 auto;
    border: 0;
    background: none;
    font-size: 30px;
    line-height: 1;
    color: #8b98a4;
    cursor: pointer;
    padding: 0;
}

.fp-modal__close:hover { color: #01253f; }

.fp-modal__body { padding: 20px 24px 26px; }

.fp-hp {
    position: absolute !important;
    left: -9999px !important;
}

.fp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.fp-row--full { grid-template-columns: 1fr; }

.fp-group { position: relative; }

.fp-group input {
    width: 100%;
    padding: 18px 14px 8px;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #22333f;
    background: #ffffff;
}

.fp-group input:focus {
    outline: none;
    border-color: #01253f;
}

.fp-group label {
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 14px;
    color: #8b98a4;
    pointer-events: none;
    transition: all .18s ease;
}

.fp-group label span { color: #d33; }

.fp-group input:focus + label,
.fp-group input:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 11px;
    color: #5a6b7a;
}

.fp-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a6b7a;
    margin: 4px 0 18px;
    cursor: pointer;
}

.fp-submit {
    width: 100%;
    margin-top: 4px;
    padding: 16px 20px;
    border: 0;
    border-radius: 50px;
    background: linear-gradient(to right, #63005d, #01316f);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
}

.fp-submit:hover {
    background: linear-gradient(to left, #63005d, #01316f);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.fp-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fp-success {
    text-align: center;
    padding: 20px 0;
}

.fp-success h4 {
    font-size: 20px;
    color: #01253f;
    margin: 0 0 8px;
}

.enquiry-msg {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.enquiry-msg.is-ok {
    background: #e8f6ec;
    border: 1px solid #b7e0c3;
    color: #1c6b34;
}

.enquiry-msg.is-error {
    background: #fdecea;
    border: 1px solid #f5c2bd;
    color: #a52318;
}

.enquiry-msg[hidden] { display: none; }

@media (max-width: 560px) {
    .fp-row { grid-template-columns: 1fr; }
}