/**
 * Contact Page Styles
 *
 * Reuses CSS custom properties from main.css.
 */

/* ============================================================
   CONTACT HERO BANNER
   ============================================================ */

.contact-hero {
    position: relative;
    padding: 80px 0 64px;
    background: linear-gradient(135deg, #2d3142 0%, #1a1d2e 50%, #2d3142 100%);
    overflow: hidden;
    text-align: center;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
}

.contact-hero__shape--1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
    animation: contactFloat 12s ease-in-out infinite;
}

.contact-hero__shape--2 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    bottom: -150px;
    left: -80px;
    animation: contactFloat 16s ease-in-out infinite reverse;
}

.contact-form-card form{
    padding:20px !important;
}

@keyframes contactFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -20px) scale(1.05); }
}

.contact-hero__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.12);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.contact-hero__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.contact-hero__title::before {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 0 auto 20px;
}

.contact-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin: 0;
    max-width: 480px;
    margin-inline: auto;
    line-height: 1.6;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.contact-page {
    padding: 60px 0 80px;
    background: var(--bg-light);
    position: relative;
}

/* ============================================================
   TWO-COLUMN GRID
   ============================================================ */

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ============================================================
   LEFT COLUMN
   ============================================================ */

.contact-page__intro-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.contact-page__intro-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #ff8c42 100%);
    border-radius: 4px 0 0 4px;
}

.contact-page__intro {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
    text-align: left;
    max-width: none;
    padding: 0;
}

/* ---- Map screenshot ---- */

.contact-map {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 28px;
    border: 3px solid var(--bg-white);
}

.contact-map__img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
    filter: saturate(0.9);
}

.contact-map:hover .contact-map__img {
    transform: scale(1.06);
    filter: saturate(0.5) brightness(0.65);
}

.contact-map__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 49, 66, 0.0);
    transition: background 0.5s ease;
    pointer-events: none;
}

.contact-map:hover .contact-map__overlay {
    background: rgba(45, 49, 66, 0.5);
}

.contact-map__cta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.4s ease 0.05s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.contact-map:hover .contact-map__cta {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-map__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */

.contact-social {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 28px 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-social__label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-social__icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social .social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.contact-social .social-icon-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-social .social-icon-link img {
    width: 22px;
    height: 22px;
    transition: filter 0.3s ease;
}

.contact-social .social-icon-link:hover img {
    filter: brightness(0) invert(1);
}

/* ============================================================
   RIGHT COLUMN
   ============================================================ */

.contact-page__right {
    position: sticky;
    top: 100px;
}

/* ---- Contact info cards ---- */

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff8c42 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.2);
}

.contact-info-card:hover::after {
    opacity: 1;
}

.contact-info-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 140, 66, 0.08) 100%);
    color: var(--primary-color);
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-info-card:hover .contact-info-card__icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    color: #fff;
    transform: scale(1.05);
}

.contact-info-card__icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-card__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info-card__value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
    line-height: 1.5;
}

.contact-info-card__value--link {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.2s ease;
}

.contact-info-card__value--link:hover {
    color: var(--primary-color);
}

/* ---- Form card ---- */

.contact-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.contact-form-card__header {
    padding: 32px 36px 28px;
    background: linear-gradient(135deg, #2d3142 0%, #3d4156 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-card__header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-form-card__header-icon svg {
    width: 22px;
    height: 22px;
}

.contact-form-card__heading {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    padding: 0;
    border: none;
}

.contact-form-card__subheading {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

/* WPForms container inside card body */
.contact-form-card .wpforms-container {
    margin: 0;
    padding: 32px 36px 36px;
}

.contact-form-card .wpforms-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-form-card .wpforms-field input[type="text"],
.contact-form-card .wpforms-field input[type="email"],
.contact-form-card .wpforms-field input[type="tel"],
.contact-form-card .wpforms-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
    box-shadow: none;
}

.contact-form-card .wpforms-field input::placeholder,
.contact-form-card .wpforms-field textarea::placeholder {
    color: #aab0bc;
    font-size: 13px;
}

.contact-form-card .wpforms-field input:focus,
.contact-form-card .wpforms-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.08);
}

.contact-form-card .wpforms-field textarea {
    min-height: 130px;
    resize: vertical;
}

/* Submit button */
.contact-form-card .wpforms-submit-container {
    margin-top: 16px;
    text-align: right;
}

.contact-form-card .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 36px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.contact-form-card .wpforms-submit:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.4);
}

/* Required asterisk colour */
.contact-form-card .wpforms-required-label {
    color: var(--primary-color);
}

/* Confirmation message */
.contact-form-card .wpforms-confirmation-container-full {
    padding: 24px 36px;
    background: #f0fdf4;
    border-left: 4px solid var(--success-color);
    border-radius: 0;
    color: #166534;
    font-size: 15px;
}

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

@media (max-width: 960px) {
    .contact-hero {
        padding: 60px 0 48px;
    }

    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-page__right {
        position: static;
    }

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

@media (max-width: 600px) {
    .contact-hero {
        padding: 48px 0 40px;
    }

    .contact-hero__title {
        font-size: 32px;
    }

    .contact-hero__subtitle {
        font-size: 15px;
    }

    .contact-page {
        padding: 36px 0 48px;
    }

    .contact-page__intro-card {
        padding: 24px;
    }

    .contact-page__intro {
        font-size: 15px;
    }

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

    .contact-form-card__header {
        padding: 24px 20px 22px;
    }

    .contact-form-card .wpforms-container {
        padding: 24px 20px 28px;
    }

    .contact-map__img {
        height: 200px;
    }

    .contact-social {
        padding: 22px 20px;
    }
}

/* end of file */
