/* ============================================
   BOROUGH GUIDE STYLES
   ============================================ */

/* ===== MAP HUB PAGE ===== */

.map-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    background: var(--dark);
    overflow: hidden;
}

.map-hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 48px 80px;
    max-width: 700px;
    animation: fadeUp 1.2s ease-out 0.3s both;
}

.map-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.map-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
}

/* Map Display */
.map-section {
    background: var(--white);
    padding: 80px 48px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.map-instruction {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 32px;
}

/* Borough Grid */
.borough-grid-section {
    background: var(--off-white);
    padding: 0 0 100px;
}

.borough-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 0 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.borough-card {
    background: var(--white);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.borough-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.borough-card-coming {
    opacity: 0.6;
    cursor: default;
}

.borough-card-inner {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.borough-card-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 6px;
}

.borough-card-area {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.borough-card-tease {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 16px;
}

.borough-card-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--accent);
    transition: color 0.3s ease;
}

a.borough-card:hover .borough-card-link {
    color: var(--text);
}

/* ===== BOROUGH PAGE ===== */

.borough-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    background: var(--dark);
    overflow: hidden;
}

.borough-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 80px,
            rgba(255,255,255,0.5) 80px,
            rgba(255,255,255,0.5) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 80px,
            rgba(255,255,255,0.5) 80px,
            rgba(255,255,255,0.5) 81px
        );
}

.borough-hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 48px 80px;
    max-width: 800px;
    animation: fadeUp 1.2s ease-out 0.3s both;
}

.borough-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.borough-hero-tagline {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.borough-hero-intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
}

/* Borough Quick Facts */
.borough-facts {
    background: var(--off-white);
    padding: 60px 48px;
}

.borough-facts-inner {
    display: flex;
    justify-content: center;
    gap: 64px;
    max-width: 900px;
    margin: 0 auto;
}

.borough-fact {
    text-align: center;
}

.borough-fact-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.2;
}

.borough-fact-label {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-faint);
}

/* Borough Sections */
.borough-section {
    padding: 80px 48px;
    background: var(--white);
}

.borough-section-alt {
    background: var(--off-white);
}

.borough-section-dark {
    background: var(--dark);
}

.borough-section-inner {
    max-width: 760px;
    margin: 0 auto;
}

.borough-section-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.borough-section-dark .borough-section-inner h2 {
    color: #fff;
}

.borough-section-inner p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 16px;
}

.borough-section-dark .borough-section-inner p {
    color: rgba(255,255,255,0.55);
}

/* Hidden Spots List */
.borough-spots {
    margin-top: 32px;
}

.borough-spot {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.borough-section-dark .borough-spot {
    border-bottom-color: rgba(255,255,255,0.08);
}

.borough-spot:last-child {
    border-bottom: none;
}

.borough-spot-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 8px;
}

.borough-section-dark .borough-spot-number {
    color: rgba(255,255,255,0.15);
}

.borough-spot-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.2;
}

.borough-section-dark .borough-spot-name {
    color: #fff;
}

.borough-spot-location {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.borough-section-dark .borough-spot-location {
    color: var(--accent-light);
}

.borough-spot-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
}

.borough-section-dark .borough-spot-desc {
    color: rgba(255,255,255,0.55);
}

/* Bet You Didn't Know */
.borough-secret {
    margin-top: 12px;
    padding: 16px 20px;
    background: rgba(139,111,71,0.06);
    border-left: 3px solid var(--accent);
}

.borough-section-dark .borough-secret {
    background: var(--dark-soft);
}

.borough-secret-label {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.borough-section-dark .borough-secret-label {
    color: var(--accent-light);
}

.borough-secret p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Legends From Here */
.borough-legends-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 32px;
}

.borough-legend-card {
    background: var(--off-white);
    padding: 28px 24px;
}

.borough-section-dark .borough-legend-card {
    background: var(--dark-soft);
}

.borough-legend-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
}

.borough-section-dark .borough-legend-name {
    color: #fff;
}

.borough-legend-claim {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-light);
}

.borough-section-dark .borough-legend-claim {
    color: rgba(255,255,255,0.5);
}

/* Next Borough */
.next-borough {
    background: var(--dark);
    padding: 80px 48px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.next-borough-inner {
    max-width: 500px;
    margin: 0 auto;
}

.next-borough-name {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: #fff;
    margin: 12px 0;
}

.next-borough-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.next-borough-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--accent-light);
    transition: color 0.3s ease;
}

.next-borough-link:hover {
    color: #fff;
}

/* ===== KNOW SOMETHING CTA ===== */

.know-something {
    background: var(--off-white);
    padding: 80px 48px;
    border-top: 1px solid var(--border);
}

.know-something-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.know-something-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--text);
    margin-bottom: 12px;
}

.know-something-inner p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
}

.know-form {
    text-align: left;
}

.know-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.know-form input,
.know-form textarea,
.know-form select {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.know-form input:focus,
.know-form textarea:focus,
.know-form select:focus {
    outline: none;
    border-color: var(--accent);
}

.know-form input::placeholder,
.know-form textarea::placeholder {
    color: var(--text-faint);
}

.know-form textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 12px;
}

.know-form select {
    margin-bottom: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.know-form-honey {
    position: absolute;
    left: -9999px;
}

.know-form-submit {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--dark);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.know-form-submit:hover {
    background: var(--accent);
}

.know-form-note {
    margin-top: 16px;
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-faint);
    text-align: center;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .borough-grid {
        grid-template-columns: 1fr;
    }

    .borough-legends-grid {
        grid-template-columns: 1fr;
    }

    .borough-facts-inner {
        flex-wrap: wrap;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .map-hero-content {
        padding: 120px 24px 60px;
    }

    .map-section {
        padding: 48px 24px;
    }

    .borough-grid {
        padding: 0 24px;
    }

    .borough-card-inner {
        padding: 28px 24px;
        min-height: auto;
    }

    .borough-hero-content {
        padding: 120px 24px 60px;
    }

    .borough-facts {
        padding: 40px 24px;
    }

    .borough-facts-inner {
        flex-direction: column;
        gap: 24px;
    }

    .borough-section {
        padding: 60px 24px;
    }

    .next-borough {
        padding: 60px 24px;
    }

    .know-something {
        padding: 60px 24px;
    }

    .know-form-row {
        grid-template-columns: 1fr;
    }
}