/* ============================================================
   The InfinityZ — Shared styles for new pages & components
   (legal pages, forms, gallery, contact, newsletter, follow,
    coupon field, GST rows, language toggle)
   Reuses design tokens from style.css. Keep style.css untouched.
   ============================================================ */

/* ---- Generic content page ---- */
.page-hero {
    padding: 150px 0 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.page-hero .section-tag { margin-bottom: 14px; }
.page-hero h1 {
    font-family: var(--font-playfair);
    font-size: 2.8rem;
    font-weight: 500;
}
.page-hero p { color: var(--text-muted); max-width: 620px; margin: 14px auto 0; font-weight: 300; }

.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 24px 100px;
    position: relative;
    z-index: 1;
}
.legal-updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 30px; }
.content-wrap h2 {
    font-family: var(--font-playfair);
    font-size: 1.5rem;
    margin: 34px 0 12px;
    color: #fff;
}
.content-wrap h3 { font-size: 1.1rem; margin: 22px 0 8px; color: var(--color-cyan); }
.content-wrap p, .content-wrap li { color: var(--text-muted); font-weight: 300; line-height: 1.8; font-size: 1rem; }
.content-wrap ul { margin: 10px 0 10px 22px; }
.content-wrap li { margin-bottom: 8px; }
.content-wrap a { color: var(--color-cyan); text-decoration: none; }
.content-wrap a:hover { text-decoration: underline; }
.placeholder-note {
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--color-gold);
    margin: 16px 0;
}
.back-link { display: inline-block; margin-bottom: 20px; color: var(--text-muted); text-decoration: none; }
.back-link:hover { color: var(--color-cyan); }

/* ---- Forms (group booking, contact, newsletter) ---- */
.iz-form {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.iz-form .full { grid-column: 1 / -1; }
.iz-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}
.iz-form input, .iz-form select, .iz-form textarea {
    width: 100%;
    background: rgba(5, 5, 13, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.iz-form input:focus, .iz-form select:focus, .iz-form textarea:focus {
    outline: none; border-color: var(--color-cyan); box-shadow: var(--border-glow-cyan);
}
.iz-form textarea { resize: vertical; min-height: 110px; }
.iz-form .field-error { color: var(--color-magenta); font-size: 0.78rem; margin-top: 5px; display: none; }
.iz-form .invalid input, .iz-form .invalid select, .iz-form .invalid textarea { border-color: var(--color-magenta); }
.iz-form .invalid .field-error { display: block; }
.form-success {
    grid-column: 1 / -1;
    background: rgba(0, 255, 102, 0.08);
    border: 1px solid rgba(0, 255, 102, 0.3);
    border-radius: 12px;
    padding: 18px;
    color: #00ff66;
    text-align: center;
    display: none;
}
.form-success.show { display: block; }
@media (max-width: 700px) { .iz-form { grid-template-columns: 1fr; padding: 24px; } }

/* ---- Bulk pricing table ---- */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-glass); }
.price-table th { color: var(--color-cyan); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; }
.price-table td { color: var(--text-muted); font-weight: 300; }
.price-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- Gallery ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 40px;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 1px solid var(--border-glass);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gcap {
    position: absolute; inset: auto 0 0 0; padding: 14px;
    background: linear-gradient(transparent, rgba(5,5,13,0.9));
    font-size: 0.9rem; font-weight: 600;
}
.lightbox {
    position: fixed; inset: 0; background: rgba(3,3,10,0.94);
    display: none; justify-content: center; align-items: center; z-index: 500; padding: 30px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.7); }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; font-size: 2rem; color: #fff; cursor: pointer; background: none; border: none; }

/* ---- Contact + Map ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-embed { border-radius: 20px; overflow: hidden; border: 1px solid var(--border-glass); min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg); }
.contact-detail { margin-bottom: 20px; }
.contact-detail h4 { color: var(--color-magenta); font-size: 1rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.contact-detail p, .contact-detail a { color: var(--text-muted); font-weight: 300; text-decoration: none; }
.contact-detail a:hover { color: var(--color-cyan); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- Newsletter band ---- */
.newsletter-band {
    background: linear-gradient(120deg, rgba(122,0,255,0.15), rgba(0,229,255,0.08));
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 46px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.newsletter-band h2 { font-family: var(--font-playfair); font-size: 2rem; margin-bottom: 10px; }
.newsletter-band p { color: var(--text-muted); margin-bottom: 26px; font-weight: 300; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 220px; background: rgba(5,5,13,0.6); border: 1px solid var(--border-glass); border-radius: 100px; padding: 14px 22px; color: #fff; font-family: var(--font-outfit); }
.newsletter-form input:focus { outline: none; border-color: var(--color-cyan); box-shadow: var(--border-glow-cyan); }
.newsletter-msg { margin-top: 14px; font-size: 0.9rem; color: #00ff66; min-height: 20px; }

/* ---- Follow / social grid ---- */
.follow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 36px; }
.follow-card {
    background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: 16px;
    padding: 26px 18px; text-align: center; text-decoration: none; color: #fff; transition: var(--transition-smooth);
}
.follow-card:hover { border-color: var(--color-cyan); box-shadow: var(--border-glow-cyan); transform: translateY(-3px); }
.follow-card .fi { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.follow-card .fn { font-weight: 600; }
.follow-card .fh { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Coupon field + GST rows (booking page) ---- */
.coupon-box { display: flex; gap: 10px; margin: 14px 0; }
.coupon-box input {
    flex: 1; background: rgba(5,5,13,0.5); border: 1px solid var(--border-glass);
    border-radius: 10px; padding: 11px 14px; color: #fff; font-family: var(--font-outfit); text-transform: uppercase;
}
.coupon-box input:focus { outline: none; border-color: var(--color-cyan); }
.coupon-msg { font-size: 0.82rem; margin: 4px 0 0; min-height: 18px; }
.coupon-msg.ok { color: #00ff66; }
.coupon-msg.err { color: var(--color-magenta); }
.summary-line.discount span { color: #00ff66; }
.summary-line.gst span { color: var(--text-muted); }

/* ---- Language toggle ---- */
.lang-toggle {
    display: inline-flex; border: 1px solid var(--border-glass); border-radius: 100px; overflow: hidden; margin-right: 6px;
}
.lang-toggle button {
    background: transparent; border: none; color: var(--text-muted); padding: 7px 12px;
    cursor: pointer; font-family: var(--font-outfit); font-size: 0.8rem; font-weight: 600;
}
.lang-toggle button.active { background: var(--color-cyan); color: var(--bg-dark); }
