/* ===== CONTACT PAGE STYLING — Light Editorial Design System ===== */

:root {
    --bg: #F5F3F0;
    --bg-white: #FFFFFF;
    --bg-section: #EDEAE6;
    --text: #1A1A1A;
    --text-secondary: #555555;
    --muted: #888888;
    --accent: #1A1A1A;
    --accent-warm: #C4956A;
    --border: #E0DCD8;
    --font-h: 'Playfair Display', Georgia, serif;
    --font-b: 'DM Sans', 'Inter', sans-serif;
    --font-m: 'DM Sans', sans-serif;
    --radius: 4px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gothic-contact-wrapper {
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 90px;
    font-family: var(--font-b);
    -webkit-font-smoothing: antialiased;
}

/* TOP UTILITY BAR */
.contact-top-utility-bar {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    margin-bottom: 50px;
    background: rgba(245, 243, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.utility-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 16px;
    width: 260px;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.top-search-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.top-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.85rem;
    font-family: var(--font-b);
    width: 100%;
}

.top-search-input::placeholder {
    color: var(--muted);
}

.top-utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lets-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--bg-white);
    border-radius: var(--radius);
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.lets-connect-btn:hover {
    background: #333333;
    border-color: #333333;
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.icon-theme-btn {
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.icon-theme-btn:hover {
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* MAIN CONTAINER */
.contact-main-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

/* HERO SECTION */
.contact-gothic-hero {
    position: relative;
    padding: 100px 0 70px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 70px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    border-radius: var(--radius);
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.contact-hero-bg .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(245, 243, 240, 0.94) 0%,
        rgba(245, 243, 240, 0.88) 50%,
        rgba(245, 243, 240, 0.65) 100%
    );
}

.hero-content-col {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 0 20px;
}

.contact-gothic-title {
    font-family: var(--font-h) !important;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.title-divider-line {
    height: 2px;
    width: 60px;
    background: var(--accent-warm);
    margin-bottom: 24px;
}

.contact-gothic-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 600px;
    font-family: var(--font-b);
}

.contact-value-pills {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-pill {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease);
}

.value-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-warm);
}

.pill-icn-wrap {
    color: var(--accent-warm);
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: rgba(196, 149, 106, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pill-head {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--font-b);
}

.pill-sub {
    font-size: 0.78rem;
    color: var(--muted);
    font-family: var(--font-b);
}

.hero-right-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gothic-castle-glow {
    position: absolute;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.15) 0%, rgba(245, 243, 240, 0) 70%);
    opacity: 0.8;
    filter: blur(30px);
    border-radius: 50%;
    pointer-events: none;
}

.gothic-castle-img {
    width: 100%;
    max-width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 2;
    filter: brightness(0.98) contrast(1.02);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.gothic-castle-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* 2 COLUMN GRID */
.contact-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 70px;
}

.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s var(--ease);
}

.card-section-title {
    font-family: var(--font-h);
    font-size: 2rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-divider-line {
    height: 2px;
    width: 48px;
    background: var(--accent-warm);
    margin-bottom: 28px;
}

/* MESSAGE FORM */
.gothic-message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    width: 100%;
}

.input-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.input-icon-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.input-icn {
    color: var(--muted);
    flex-shrink: 0;
    transition: color 0.3s var(--ease);
}

.input-icon-wrapper:focus-within .input-icn {
    color: var(--accent);
}

.gothic-form-input,
.gothic-form-textarea {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.92rem;
    width: 100%;
}

.gothic-form-input::placeholder,
.gothic-form-textarea::placeholder {
    color: var(--muted);
    opacity: 0.8;
}

.gothic-form-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.submit-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent);
    color: var(--bg-white);
    border: 1px solid var(--accent);
    padding: 16px 32px;
    border-radius: var(--radius);
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.submit-send-btn:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* QUICK CONTACT DETAILS & SOCIAL LINKS */
.quick-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.info-item-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(196, 149, 106, 0.1);
    border: 1px solid var(--border);
    color: var(--accent-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.info-item-row:hover .info-icon-box {
    background: var(--accent-warm);
    color: var(--bg-white);
    border-color: var(--accent-warm);
}

.info-text-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-lbl {
    font-family: var(--font-m);
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.info-val {
    font-size: 0.95rem;
    color: var(--text);
    font-family: var(--font-b);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a.info-val:hover {
    color: var(--accent-warm);
}

.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-section);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    font-family: var(--font-m);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}

.social-pill-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* NEWSLETTER CARD */
.contact-newsletter-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px;
    margin-bottom: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.newsletter-head {
    font-family: var(--font-h);
    font-size: 2.2rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.newsletter-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: var(--font-b);
}

.newsletter-form-flex {
    display: flex;
    gap: 12px;
}

.newsletter-email-input {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.newsletter-email-input::placeholder {
    color: var(--muted);
}

.newsletter-email-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.newsletter-sub-btn {
    background: var(--accent);
    color: var(--bg-white);
    border: 1px solid var(--accent);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-family: var(--font-m);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
}

.newsletter-sub-btn:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .contact-gothic-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .title-divider-line {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-gothic-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-value-pills {
        max-width: 520px;
        margin: 0 auto;
        text-align: left;
    }

    .contact-two-col-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-newsletter-card {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .newsletter-form-flex {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .gothic-contact-wrapper {
        padding-top: 90px;
        padding-bottom: 60px;
    }

    .contact-top-utility-bar {
        margin-bottom: 30px;
    }

    .utility-container {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

    .top-search-wrap {
        width: 100%;
    }

    .top-utility-right {
        justify-content: space-between;
    }

    .contact-main-container {
        padding: 0 16px;
    }

    .contact-card,
    .contact-newsletter-card {
        padding: 28px 20px;
    }

    .card-section-title {
        font-size: 1.6rem;
    }

    .newsletter-head {
        font-size: 1.75rem;
    }

    .contact-gothic-title {
        font-size: 2.4rem;
    }

    .gothic-castle-img {
        height: 300px;
    }
}
