/* ===================== CONTACT SECTION — FULL REDESIGN ===================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

.contact-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 5%;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    margin-top: -2px; /* close any sub-pixel gap */
}

.contact-section .contact-bg-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 2rem;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 248, 220, 0.3), 0 0 20px rgba(255, 248, 220, 0.15);
}


/* Fade in from the pub section's colour at the top */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, #0a0a0a 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ── Mac OS Window wrapper ── */
.contact-mac-window {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    background: #161618;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 60px 120px rgba(0,0,0,0.8),
        0 0 0 1px rgba(255,255,255,0.07);
}

/* Top bar */
.contact-mac-topbar {
    display: flex;
    align-items: center;
    height: 2.8rem;
    padding: 0 1.2rem;
    background: linear-gradient(180deg, #2e2e30 0%, #252527 100%);
    border-bottom: 1px solid rgba(0,0,0,0.4);
    gap: 8px;
}

.contact-mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.contact-mac-dot.red    { background: #ff5f56; }
.contact-mac-dot.yellow { background: #ffbd2e; }
.contact-mac-dot.green  { background: #27c93f; }

.contact-mac-plus {
    margin-left: auto;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

/* ── Window body ── */
.contact-mac-body {
    padding: 4rem 4.5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── BIG HEADLINE ── */
.contact-headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #fff;
    margin: 0 0 1rem 0;
    position: relative;
}

/* The italic "stories." word — flowing gold glow effect */
.contact-headline-italic {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-weight: 700;
    position: relative;
    display: inline-block;
    /* Base colour */
    color: rgba(255, 255, 255, 0.55);
    /* Shimmer animation via background-clip */
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.3) 0%,
        rgba(255,220,120,0.9) 25%,
        #fff 40%,
        rgba(255,220,120,0.9) 55%,
        rgba(255,255,255,0.3) 80%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldFlow 3.5s ease-in-out infinite;
}

@keyframes goldFlow {
    0%   { background-position: 200% center; }
    50%  { background-position: 0% center; }
    100% { background-position: -200% center; }
}

/* ── Sub-description (bottom-right of headline) ── */
.contact-desc-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.contact-desc-text {
    max-width: 360px;
    text-align: right;
}

.contact-desc-text p {
    font-family: 'Inter', sans-serif;
    margin: 0;
    line-height: 1.5;
}

.contact-desc-text p:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.contact-desc-text p:last-child {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}

/* ── Two-column layout ── */
.contact-cols {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* ── LEFT — Info cards ── */
.contact-info-col {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    cursor: pointer;
}

.c-info-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,220,120,0.3);
    box-shadow: 0 0 20px rgba(255, 200, 80, 0.08);
    transform: translateX(4px);
}

.c-info-card-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.c-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
}
.c-info-icon svg {
    width: 17px;
    height: 17px;
}

.c-info-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin: 0 0 0.15rem 0;
    white-space: nowrap;
}

.c-info-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.c-info-arrow {
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.c-info-card:hover .c-info-arrow {
    color: rgba(255,200,80,0.8);
    transform: translate(2px, -2px);
}

/* ── RIGHT — Contact Form ── */
.contact-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form-col input,
.contact-form-col textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    outline: none;
    resize: vertical;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.contact-form-col input::placeholder,
.contact-form-col textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form-col input:focus,
.contact-form-col textarea:focus {
    border-color: rgba(255,220,120,0.4);
    background: rgba(255,255,255,0.07);
}

.contact-form-col textarea {
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ff3366 0%, #ff1a1a 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(255,50,80,0.35);
}

.contact-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255,50,80,0.5);
}

.contact-resume-btn {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-resume-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contact-mac-body {
        padding: 2.5rem 1.8rem 3rem;
    }
    .contact-headline {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }
    .contact-cols {
        flex-direction: column;
    }
    .contact-info-col {
        flex: none;
        width: 100%;
    }
    .contact-desc-row {
        justify-content: flex-start;
    }
    .contact-desc-text {
        text-align: left;
    }
}
