﻿/* ============================================================
   Contact Page — Warm Editorial Style
   File: Content/css/contact.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --ink: #1c1917;
    --cream: #faf7f2;
    --warm: #f5ede0;
    --sienna: #9a3922;
    --copper: #c0622c;
    --amber: #d4843a;
    --muted: #78716c;
    --border: #e4d9cc;
    --white: #ffffff;
    --ease: cubic-bezier(.25,.8,.25,1);
    --fb: #1877f2;
    --ig: #e1306c;
    --yt: #ff0000;
    --tk: #010101;
}

/* ── PAGE ── */
.ct-page {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
}

/* ── HERO ── */
.ct-hero {
    background: var(--ink);
    padding: 72px 0 68px;
    overflow: hidden;
    position: relative;
}

    .ct-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(192,98,44,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(192,98,44,.06) 1px, transparent 1px);
        background-size: 50px 50px;
    }

.ct-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.ct-hero__text {
    max-width: 540px;
}

.ct-hero__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
}

.ct-hero__title {
    font-family: 'Lora', serif;
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 18px;
}

    .ct-hero__title em {
        font-style: italic;
        color: var(--amber);
    }

.ct-hero__sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    margin: 0;
}

/* Animated book stack */
.ct-books-stack {
    position: relative;
    width: 140px;
    height: 160px;
    flex-shrink: 0;
}

.ct-book {
    position: absolute;
    border-radius: 4px 10px 10px 4px;
    transition: transform .3s var(--ease);
}

.ct-book--1 {
    width: 30px;
    height: 130px;
    background: linear-gradient(to right, #9a3922, #c0622c);
    bottom: 0;
    left: 0;
    animation: sway 4s ease-in-out infinite;
    animation-delay: 0s;
}

.ct-book--2 {
    width: 36px;
    height: 110px;
    background: linear-gradient(to right, #2d5a27, #4a8f3f);
    bottom: 0;
    left: 36px;
    animation: sway 4s ease-in-out infinite;
    animation-delay: .5s;
}

.ct-book--3 {
    width: 32px;
    height: 150px;
    background: linear-gradient(to right, #1e3a6e, #3564b0);
    bottom: 0;
    left: 78px;
    animation: sway 4s ease-in-out infinite;
    animation-delay: 1s;
}

.ct-book--4 {
    width: 28px;
    height: 95px;
    background: linear-gradient(to right, #6b3a2a, #a05c42);
    bottom: 0;
    left: 116px;
    animation: sway 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(0deg);
        transform-origin: bottom center;
    }

    25% {
        transform: rotate(-3deg);
        transform-origin: bottom center;
    }

    75% {
        transform: rotate(3deg);
        transform-origin: bottom center;
    }
}

@media (max-width: 768px) {
    .ct-hero__illustration {
        display: none;
    }
}

/* ── MAIN LAYOUT ── */
.ct-main {
    padding: 70px 0 80px;
}

.ct-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: start;
}

@media (max-width: 1050px) {
    .ct-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ── FORM WRAP ── */
.ct-form-wrap {
    background: var(--white);
    border-radius: 24px;
    padding: 44px 44px 48px;
    border: 1.5px solid var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,.06);
    animation: fadeUp .5s var(--ease) both;
}

@media (max-width: 576px) {
    .ct-form-wrap {
        padding: 28px 20px;
    }
}

.ct-form-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1.5px solid var(--warm);
}

    .ct-form-header h2 {
        font-family: 'Lora', serif;
        font-size: 26px;
        font-weight: 700;
        color: var(--ink);
        margin: 0 0 6px;
    }

    .ct-form-header p {
        font-size: 14px;
        color: var(--muted);
        margin: 0;
    }

    .ct-form-header strong {
        color: var(--copper);
    }

/* Alert */
.ct-alert {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.ct-alert--success {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    color: #166534;
}

/* Form rows */
.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .ct-form__row {
        grid-template-columns: 1fr;
    }
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
}

.ct-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: .3px;
}

    .ct-label span {
        color: var(--copper);
        margin-left: 2px;
    }

.ct-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

    .ct-input-wrap i {
        position: absolute;
        left: 14px;
        color: #c4b5a5;
        font-size: 13px;
        pointer-events: none;
        z-index: 1;
    }

.ct-input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: border-color .25s, background .25s, box-shadow .25s;
    -webkit-appearance: none;
}

    .ct-input:focus {
        border-color: var(--copper);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(192,98,44,.1);
    }

    .ct-input::placeholder {
        color: #bfb5aa;
    }

.ct-input-wrap--select .ct-input {
    cursor: pointer;
}

.ct-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    resize: vertical;
    min-height: 130px;
    transition: border-color .25s, background .25s, box-shadow .25s;
    line-height: 1.7;
}

    .ct-textarea:focus {
        border-color: var(--copper);
        background: var(--white);
        box-shadow: 0 0 0 3px rgba(192,98,44,.1);
    }

    .ct-textarea::placeholder {
        color: #bfb5aa;
    }

/* Submit */
.ct-submit {
    width: 100%;
    padding: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: var(--ink);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s var(--ease);
    margin-top: 8px;
    letter-spacing: .5px;
}

    .ct-submit:hover {
        background: var(--copper);
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(192,98,44,.3);
    }

    .ct-submit:active {
        transform: translateY(0);
    }

    .ct-submit:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

.ct-submit__text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── INFO COLUMN ── */
.ct-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeUp .5s var(--ease) .15s both;
}

.ct-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-radius: 16px;
    padding: 18px 20px;
    border: 1.5px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    animation: fadeUp .4s var(--ease) var(--d, 0s) both;
}

    .ct-info-card:hover {
        transform: translateX(5px);
        box-shadow: 0 6px 24px rgba(0,0,0,.07);
        border-color: #d4bc95;
    }

.ct-info-card__icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.ct-info-card h4 {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}

.ct-info-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.ct-info-card a {
    color: var(--copper);
    text-decoration: none;
}

    .ct-info-card a:hover {
        text-decoration: underline;
    }

/* Social */
.ct-social {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 22px;
    border: 1.5px solid var(--border);
}

.ct-social__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 14px;
}

.ct-social__links {
    display: flex;
    gap: 10px;
}

.ct-social__btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--white);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s;
}

    .ct-social__btn:hover {
        transform: translateY(-4px) scale(1.1);
        box-shadow: 0 8px 20px rgba(0,0,0,.18);
    }

.ct-social__btn--fb {
    background: var(--fb);
}

.ct-social__btn--ig {
    background: linear-gradient(45deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}

.ct-social__btn--yt {
    background: var(--yt);
}

.ct-social__btn--tk {
    background: var(--tk);
}

/* Map */
.ct-map {
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    position: relative;
}

.ct-map__inner {
    position: relative;
    height: 220px;
}

    .ct-map__inner iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
        filter: sepia(.15) contrast(.9);
    }

.ct-map__overlay {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    pointer-events: none;
}

/* ── FAQ SECTION ── */
.ct-faq {
    background: var(--ink);
    padding: 64px 0 72px;
}

.ct-faq__title {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin: 0 0 44px;
}

.ct-faq__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .ct-faq__grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 560px) {
    .ct-faq__grid {
        grid-template-columns: 1fr;
    }
}

.ct-faq__item {
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 24px 22px;
    transition: background .25s, border-color .25s;
}

    .ct-faq__item:hover {
        background: rgba(255,255,255,.08);
        border-color: rgba(212,132,58,.4);
    }

    .ct-faq__item h4 {
        font-family: 'Lora', serif;
        font-size: 15px;
        font-weight: 600;
        color: var(--amber);
        margin: 0 0 10px;
        line-height: 1.4;
    }

    .ct-faq__item p {
        font-size: 13.5px;
        color: rgba(255,255,255,.55);
        line-height: 1.7;
        margin: 0;
    }

/* ── ANIMATION ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
