/* ==========================================================
   about.css — About & Contact page styles
   Chathura Kodikara Photography 2026
   (global.css must be loaded first for reset & nav styles)
   ========================================================== */



/* ── About: Two-Column Layout ───────────────────────────── */
.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
}

.about-portrait {
    border-right: 0.5px solid rgba(242, 239, 233, 0.08);
    padding: 3rem 2.5rem;
}

.portrait-canvas {
    width: 100%;
    display: block;
    margin-bottom: 1.5rem;
}

.portrait-caption {
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 239, 233, 0.25);
    line-height: 1.8;
}

.portrait-caption span {
    color: #C8935A;
}

/* ── About: Bio & Gear ──────────────────────────────────── */
.about-text {
    padding: 3rem 2.5rem;
}

.bio-block {
    margin-bottom: 2.5rem;
}

.bio-block p {
    font-size: 13px;
    line-height: 2;
    color: rgba(242, 239, 233, 0.55);
    margin-bottom: 1rem;
}

.bio-block p.lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(242, 239, 233, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.gear-section {
    border-top: 0.5px solid rgba(242, 239, 233, 0.1);
    padding-top: 2rem;
}

.gear-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8935A;
    margin-bottom: 1.2rem;
}

.gear-list {
    display: flex;
    flex-direction: column;
}

.gear-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.06);
}

.gear-row:last-child {
    border-bottom: none;
}

.gear-name {
    font-size: 11px;
    color: rgba(242, 239, 233, 0.6);
}

.gear-type {
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(242, 239, 233, 0.25);
}

/* ── Timeline ───────────────────────────────────────────── */
.timeline-section {
    border-top: 0.5px solid rgba(242, 239, 233, 0.08);
}

.timeline-header {
    padding: 3rem 2.5rem 2rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.timeline-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 0.5px solid rgba(242, 239, 233, 0.08);
}

.tl-item {
    padding: 2rem 2.5rem;
    border-right: 0.5px solid rgba(242, 239, 233, 0.08);
}

.tl-item:last-child {
    border-right: none;
}

.tl-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: rgba(242, 239, 233, 0.15);
    margin-bottom: 0.6rem;
}

.tl-event {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(242, 239, 233, 0.55);
}

.tl-tag {
    display: inline-block;
    font-size: 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 147, 90, 0.7);
    border: 0.5px solid rgba(200, 147, 90, 0.25);
    padding: 2px 7px;
    margin-bottom: 0.5rem;
}

/* ── Divider ────────────────────────────────────────────── */
.divider {
    height: 0.5px;
    background: rgba(242, 239, 233, 0.08);
    margin: 0;
}

/* ── Contact: Section ───────────────────────────────────── */
.contact-page {
    background: #0D0D0D;
}

.contact-hero {
    padding: 5rem 2.5rem 4rem;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
}

.contact-left {
    padding: 3rem 2.5rem;
    border-right: 0.5px solid rgba(242, 239, 233, 0.08);
}

.contact-right {
    padding: 3rem 2.5rem;
}

/* ── Contact: Intro & Channels ──────────────────────────── */
.contact-intro {
    font-size: 13px;
    line-height: 2;
    color: rgba(242, 239, 233, 0.5);
    margin-bottom: 3rem;
    max-width: 40ch;
}

.contact-intro .lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(242, 239, 233, 0.75);
    line-height: 1.5;
    display: block;
    margin-bottom: 1rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
}

.channel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.07);
    cursor: pointer;
}

.channel-row:last-child {
    border-bottom: none;
}

.channel-row:hover .ch-link {
    color: #C8935A;
}

.ch-label {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(242, 239, 233, 0.3);
}

.ch-link {
    font-size: 12px;
    color: rgba(242, 239, 233, 0.55);
    transition: color 0.2s;
}

.ch-arrow {
    font-size: 14px;
    color: rgba(242, 239, 233, 0.2);
}

/* ── Contact: Form ──────────────────────────────────────── */
.form-label {
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C8935A;
    margin-bottom: 1.8rem;
    display: block;
}

.field {
    margin-bottom: 1.5rem;
}

.field label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(242, 239, 233, 0.3);
    margin-bottom: 0.5rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(242, 239, 233, 0.18);
    padding: 0.6rem 0;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: #F2EFE9;
    outline: none;
    transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: #C8935A;
}

.field textarea {
    resize: none;
    height: 90px;
    line-height: 1.8;
}

.field select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.field select option {
    background: #1a1a1a;
    color: #F2EFE9;
}

.fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.submit-btn {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C8935A;
    border: 0.5px solid #C8935A;
    padding: 0.75rem 2rem;
    background: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #C8935A;
    color: #0D0D0D;
}

.form-note {
    font-size: 9px;
    color: rgba(242, 239, 233, 0.2);
    margin-top: 1rem;
    line-height: 1.8;
}

.success-msg {
    display: none;
    padding: 1rem;
    border: 0.5px solid rgba(200, 147, 90, 0.3);
    font-size: 11px;
    color: rgba(200, 147, 90, 0.8);
    letter-spacing: 0.06em;
    margin-top: 1rem;
}

/* ── Availability Bar ───────────────────────────────────── */
.availability-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-top: 0.5px solid rgba(242, 239, 233, 0.08);
}

.avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5A9A5A;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.avail-text {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: rgba(242, 239, 233, 0.4);
}

.avail-text strong {
    color: rgba(242, 239, 233, 0.7);
    font-weight: 400;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .about-main,
    .contact-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        border-right: none;
        border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
    }

    .contact-left {
        border-right: none;
        border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
    }

    .fields-row {
        grid-template-columns: 1fr;
    }

    .tl-item {
        border-right: none;
        border-bottom: 0.5px solid rgba(242, 239, 233, 0.08);
    }
}
