/* =====================================================================
   Captain Franks Hotdog Emporium — contact.css
   Contact-page-only styles. Shared styles live in main.css.
   ===================================================================== */

/* ---------------------------------------------------------------------
   CONTACT HERO — split layout
   --------------------------------------------------------------------- */
#contact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 92vh;
    overflow: hidden;
}

/* LEFT — photo panel */
.contact-photo-panel {
    position: relative;
    border: var(--captain-orange) 4px solid;
    border-radius: 25px;
    overflow: hidden;
    background: var(--white);
}

.contact-photo-panel img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    opacity: 0.88;
    transition: transform 0.9s ease, opacity 0.4s ease;
}

.contact-photo-panel:hover img {
    transform: scale(1.04);
    opacity: 1;
}

/* Orange gradient overlay bottom-to-top */
.contact-photo-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(244, 121, 0,0.24) 0%,
        rgba(244, 121, 0, 0.3) 45%,
        transparent 70%
    );
    pointer-events: none;
}

/* Name badge pinned to bottom of photo */
.contact-photo-badge {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 2;
    color: #fff;
}

.contact-photo-badge .badge-name {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.contact-photo-badge .badge-role {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    margin-top: 0.3rem;
}

/* Placeholder state when no image is set */
.contact-photo-panel.no-photo {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RIGHT — contact content */
.contact-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 5rem 5rem 5rem;
    background: var(--clr-bg, #fff);
    animation: fadeSlideIn 0.7s ease both;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.contact-content-panel .section-label {
    margin-bottom: 0.75rem;
}

.contact-headline {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 0.75rem;
}

.contact-headline em {
    font-style: italic;
    color: var(--captain-orange-deep);
}

.contact-subline {
    font-size: 1.05rem;
    color: var(--clr-text-muted, #666);
    line-height: 1.7;
    margin-bottom: 2.75rem;
    max-width: 42ch;
}

/* ── Primary contact buttons ── */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.75rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.2rem 1.75rem;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s;
}

.contact-btn:hover::before { opacity: 1; }

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.15);
}

/* Call button — bold orange */
.contact-btn-call {
    background: var(--captain-orange);
    color: var(--ink);
    box-shadow: 0 4px 20px rgba(198,43,25,0.3);
}

.contact-btn-call .contact-btn-icon svg { fill: var(--ink); }

/* Email button — dark / inverted */
.contact-btn-email {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.contact-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-btn-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.contact-btn-text {
    display: flex;
    flex-direction: column;
}

.contact-btn-label {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin-bottom: 0.15rem;
}

.contact-btn-value {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

/* ── Divider ── */
.contact-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

.contact-divider span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-muted, #707070);
}

/* ── Quick info pills ── */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.info-pill {
    background: var(--clr-surface, #faf8f5);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(117, 114, 114, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-pill-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--captain-orange-deep);
}

.info-pill-text {
    display: flex;
    flex-direction: column;
}

.info-pill-label {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--clr-text-muted, #707070);
    margin-bottom: 0.2rem;
}

.info-pill-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clr-text, #111);
    line-height: 1.35;
}

/* ---------------------------------------------------------------------
   FACEBOOK CONNECT STRIP  (uses .btn-facebook / .fb-icon from main.css)
   --------------------------------------------------------------------- */
#contact-facebook {
    background: var(--clr-surface, #faf8f5);
    padding: 4rem 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.fb-strip-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
}

.fb-strip-text h2 em {
    font-style: italic;
    color: var(--captain-orange-deep);
}

.fb-strip-text p {
    color: var(--clr-text-muted, #666);
    font-size: 1rem;
    margin: 0;
}

/* ══════════════════════════════════════════════
   RESPONSIVE  (≤ 820px)
══════════════════════════════════════════════ */
@media (max-width: 820px) {
    #contact-hero {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .contact-photo-panel {
        min-height: 320px;
    }

    .contact-photo-panel img {
        min-height: 320px;
    }

    .contact-photo-badge {
        left: 1.5rem;
        bottom: 1.5rem;
    }

    .contact-content-panel {
        padding: 3rem 1.5rem;
    }

    .contact-headline {
        font-size: clamp(1.9rem, 4vw, 2.6rem);
    }

    .contact-subline {
        max-width: 100%;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.1rem 1.25rem;
    }

    .contact-btn-text {
        align-items: flex-start;
        min-width: 0;
    }

    .contact-btn-value,
    .contact-btn-label {
        overflow-wrap: anywhere;
        word-break: break-word;
        text-align: center;
    }

    .contact-divider {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }

    .contact-divider::before,
    .contact-divider::after {
        width: 100%;
        max-width: 260px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    #contact-facebook {
        flex-direction: column;
        text-align: center;
        padding: 3rem 4%;
    }

    .fb-strip-text {
        max-width: 640px;
        margin: 0 auto;
    }

    .btn-facebook {
        width: 100%;
        justify-content: center;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE  (≤ 600px)
══════════════════════════════════════════════ */
@media (max-width: 600px) {
    .contact-photo-panel {
        min-height: 260px;
    }

    .contact-content-panel {
        padding: 2rem 1.25rem;
    }

    .contact-headline {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .contact-subline {
        font-size: 0.95rem;
    }

    .contact-buttons {
        gap: 0.75rem;
        align-items: stretch;
    }

    .contact-btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1rem 1.15rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-btn-icon {
        margin-bottom: 0.5rem;
    }

    .contact-btn-text {
        min-width: 0;
        width: 100%;
    }

    .contact-btn-label {
        font-size: 0.68rem;
    }

    .contact-btn-value {
        font-size: 1rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .contact-divider::before,
    .contact-divider::after {
        display: none;
    }

    .contact-divider span {
        width: 100%;
    }

    .contact-info-grid {
        gap: 0.85rem;
    }

    .info-pill {
        padding: 0.95rem 1rem;
    }

    #contact-facebook {
        padding: 2rem 1.5rem;
    }

    .fb-strip-text h2 {
        font-size: clamp(1.25rem, 4vw, 1.7rem);
    }

    .btn-facebook {
        font-size: 1rem;
        padding: 0.95rem 1.25rem;
    }
}
