/*************************
**  Our Tasmania Website
**  contact styles sheet
**  Build V. 0.2
**  Build Notes: the elements that relate to the contact pages & components of the site dark build
**
**********************/

/* ═══════════════════════════════════════════════════
    CONTACT LAYOUT
═══════════════════════════════════════════════════ */

/* Intro text */
.contact-intro {
    text-align: center; max-width: 680px; margin: 0 auto;
    color: var(--ink-2); font-size: .95rem; line-height: 1.8;
}

/* Main card wrapper */
.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.contact-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

/* ── Form column ── */
.contact-form-col {
    padding: 3rem 3rem 3rem 3.5rem;
    border-right: 1px solid var(--rule);
}
@media (max-width: 991px) {
    .contact-form-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 2.5rem 2rem; }
}

.contact-form-col .form-overline {
    font-family: var(--font-mono);
    font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--emerald); display: block; margin-bottom: .75rem;
}
.contact-form-col .form-heading {
    font-family: var(--font-display);
    font-size: 2rem; font-weight: 800;
    color: var(--ink); line-height: 1.1; margin-bottom: 2rem;
}

/* Form controls — dark overrides */
.ot-field { margin-bottom: 1.4rem; }
.ot-label {
    font-family: var(--font-mono);
    font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-3); display: block; margin-bottom: .5rem;
}
.ot-label .req { color: var(--emerald); margin-left: 2px; }
.ot-input,
.ot-textarea {
    width: 100%; background: rgba(255,255,255,.04);
    border: 1px solid transparent;
    border-radius: var(--radius); padding: .75rem 1rem;
    color: var(--ink); font-family: var(--font-body); font-size: .9rem;
    outline: none; display: block;
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.ot-input::placeholder,
.ot-textarea::placeholder { color: var(--ink-4); }
.ot-input:focus,
.ot-textarea:focus {
    border-color: var(--emerald-rule);
    background: rgba(255,255,255,.07);
    box-shadow: 0 0 0 3px var(--emerald-dim);
}
.ot-input.is-valid,
.ot-textarea.is-valid  { border-color: rgba(90,158,58,.6); }
.ot-input.is-invalid,
.ot-textarea.is-invalid { border-color: rgba(200,80,80,.6); }
.ot-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.ot-hint {
    font-family: var(--font-mono); font-size: .62rem;
    letter-spacing: .06em; color: var(--ink-4);
    margin-top: .4rem; display: block;
}
.ot-feedback-valid {
    font-family: var(--font-mono); font-size: .65rem;
    letter-spacing: .06em; color: var(--emerald);
    margin-top: .35rem; display: none;
}
.ot-feedback-invalid {
    font-family: var(--font-mono); font-size: .65rem;
    letter-spacing: .06em; color: #e06060;
    margin-top: .35rem; display: none;
}
.ot-input.is-valid   ~ .ot-feedback-valid   { display: block; }
.ot-input.is-invalid ~ .ot-feedback-invalid { display: block; }
.ot-textarea.is-valid   ~ .ot-feedback-valid   { display: block; }
.ot-textarea.is-invalid ~ .ot-feedback-invalid { display: block; }

.ot-req-note {
    font-family: var(--font-mono); font-size: .62rem;
    letter-spacing: .08em; color: var(--ink-4); margin-bottom: 1.25rem;
}
.ot-req-note span { color: var(--emerald); }

/* Submit button */
.btn-submit {
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    width: 100%; padding: .85rem 1.5rem;
    background: var(--emerald); color: #0e100f;
    font-family: var(--font-mono); font-size: .82rem;
    font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    border: none; border-radius: var(--radius);
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-submit:hover {
    background: var(--emerald-lt);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(90,158,58,.3);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Alert box */
.ot-alert {
    border-radius: var(--radius); padding: .9rem 1.2rem;
    font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
    margin-bottom: 1.5rem; display: none;
    border-left: 3px solid;
}
.ot-alert.is-success {
    background: rgba(90,158,58,.12); border-color: var(--emerald);
    color: var(--emerald-lt); display: block;
}
.ot-alert.is-error {
    background: rgba(200,60,60,.1); border-color: rgba(200,60,60,.5);
    color: #e08080; display: block;
}

/* ── Info / socials column ── */
.contact-info-col {
    padding: 3rem 2.5rem;
    display: flex; flex-direction: column; gap: 2.5rem;
    position: relative;
}
/* Subtle background image tint */
.contact-info-col::before {
    content: ''; position: absolute; inset: 0;
    background:
        url(https://ourtas.test//uploads/images/contact-right.webp) center center / cover no-repeat;
    opacity: 0.6; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
@media (max-width: 991px) { .contact-info-col::before { border-radius: 0 0 var(--radius-lg) var(--radius-lg); } }

.contact-info-col > * { position: relative; z-index: 1; }

.info-overline {
    font-family: var(--font-mono);
    font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--emerald); display: block; margin-bottom: .75rem;
}
.info-heading {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 800;
    color: var(--ink); margin-bottom: 0; line-height: 1.1;
}

/* divider line */
.info-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--emerald-rule), transparent);
}

.info-body {
    font-size: .88rem; color: var(--white);
    line-height: 1.8;
    opacity: 0.6;
}

/* Social buttons — large pill style in the info panel */
.info-socials-label {
    font-family: var(--font-mono);
    font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--white); margin-bottom: 1rem; display: block;
}
.info-social-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.info-social-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1.1rem;
    background: rgba(60, 191, 28, 58%);
    border: 1px solid rgb(28 207 13);
    border-radius: 100px;
    color: var(--black); font-family: var(--font-body); font-size: .8rem;
    text-decoration: none;
    transition: all .2s;
}
.info-social-btn i { font-size: .9rem; }
.info-social-btn:hover {
    background: var(--emerald-dim); border-color: var(--emerald-rule); color: var(--emerald);
}
/* Per-platform accent on hover */
.info-social-btn--fb:hover   { background: rgba(24,119,242,47%); border-color: rgba(24,119,242,1); color: #f1f3f7; }
.info-social-btn--ig:hover   { background: rgba(193,53,132,47%); border-color: rgba(193,53,132,1); color: #f1f3f7; }
.info-social-btn--fl:hover   { background: rgba(255,0,132,47%);  border-color: rgba(255,0,132,1);  color: #f1f3f7; }
.info-social-btn--yt:hover   { background: rgba(255,0,0,47%);    border-color: rgba(255,0,0,1);   color: #f1f3f7; }
.info-social-btn--tw:hover   { background: rgba(255,255,255,47%);border-color: rgba(255,255,255,1);color: var(--black); }

/* response-time badge */
.info-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em;
    color: var(--white);
    background: rgb(103 255 32 / 18%);
    border: 1px solid rgb(82 255 0 / 35%);
    padding: .4rem .9rem; border-radius: 100px;
}
.info-badge i { font-size: .7rem; }

/* Light theme: contact hero copy stays readable over the softened veil. */
html[data-theme="light"] .ot-hero__sub {
    color: var(--ink-2);
}

/* Light theme: the contact card remains clear on ivory rather than glass-dark. */
html[data-theme="light"] .contact-card {
    background: var(--bg-card);

    color: var(--ink);
    box-shadow: 0 8px 24px rgba(55,45,28,.06);
}

html[data-theme="light"] .ot-hint,
html[data-theme="light"] .ot-req-note {
    color: var(--ink-2);
}

/* The image information panel needs its own dark context in light mode. */
html[data-theme="light"] .contact-info-col {
    background: #24271f;
}

html[data-theme="light"] .contact-info-col::before {
    background: linear-gradient(rgba(36,39,31,.78), rgba(36,39,31,.78)), url(https://ourtas.test//uploads/images/contact-right.webp) center center / cover no-repeat;
    opacity: 1;
}

html[data-theme="light"] .info-heading,
html[data-theme="light"] .info-socials-label,
html[data-theme="light"] .info-body {
    color: #f7f2e8;
}

html[data-theme="light"] .info-body {
    color: #f7f2e8;
    opacity: 1;
}

html[data-theme="light"] .ot-input,
html[data-theme="light"] .ot-textarea {
    background: rgba(255,255,255,.6);
    border: 1px solid var(--rule-warm);
    color: var(--ink);
}

html[data-theme="light"] #contactForm .ot-input {
    background: rgba(255,255,255,.6);
    border: 1px solid var(--rule-warm);
    color: var(--ink);
}

html[data-theme="light"] #contactForm .ot-input:focus {
    background: var(--white);
    border-color: var(--emerald-rule);
    box-shadow: 0 0 0 2px var(--emerald-dim);
}

html[data-theme="light"] #contactForm .ot-input.is-valid {
    border-color: rgba(90,158,58,.6);
}

html[data-theme="light"] #contactForm .ot-input.is-invalid {
    border-color: rgba(200,80,80,.6);
}

html[data-theme="light"] .ot-input::placeholder,
html[data-theme="light"] .ot-textarea::placeholder {
    color: var(--ink-2);
    opacity: 1;
}
