/*
==================================================
14-contact.css
Contact page layout, map, service cards, social links
==================================================
*/

.contact-layout {
    grid-template-columns: 1fr 0.85fr;
    align-items: start;
}

.contact-info-column {
    display: grid;
    gap: 20px;
}

.contact-studio-card {
    display: grid;
    gap: 10px;
}

.contact-map-card {
    overflow: hidden;
    border: 1px solid rgba(91, 53, 29, 0.14);
    border-radius: 28px;
    background-color: #ffffff;
    box-shadow: 0 18px 45px rgba(91, 53, 29, 0.1);
}

.contact-map-card iframe {
    width: 100%;
    height: 280px;
    display: block;
    border: 0;
}

.map-card-content {
    padding: 18px 20px 20px;
}

.map-card-content span {
    display: block;
    color: #5b351d;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.map-card-content p {
    margin: 4px 0 12px;
    color: #6f6258;
}

.map-card-content a {
    color: #8a4f27;
    font-weight: 800;
}

.contact-gallery-card {
    overflow: hidden;
}

.compact-contact-heading {
    margin-bottom: 18px;
}

.compact-contact-heading h2 {
    font-size: 30px;
    line-height: 1.15;
}

.compact-contact-heading p {
    color: #6f6258;
}

.contact-card-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 290px);
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.contact-scroll-card {
    overflow: hidden;
    border: 1px solid rgba(91, 53, 29, 0.12);
    border-radius: 22px;
    background-color: #fffaf3;
    scroll-snap-align: start;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(91, 53, 29, 0.12);
}

.contact-scroll-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
}

.contact-scroll-card div {
    padding: 16px;
}

.contact-scroll-card h3 {
    margin-bottom: 6px;
    color: #4b2b18;
    font-size: 18px;
    line-height: 1.25;
}

.contact-scroll-card p {
    color: #6f6258;
    font-size: 14px;
    line-height: 1.5;
}

.follow-card h2 {
    margin-bottom: 16px;
    color: #4b2b18;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.social-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 62px;
    padding: 14px 18px;
    border: 1px solid rgba(91, 53, 29, 0.12);
    border-radius: 999px;
    background-color: #f7efe3;
    color: #5b351d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(91, 53, 29, 0.12);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.social-svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.linkedin-icon {
    color: #0a66c2;
}

.instagram-link:hover {
    border-color: rgba(228, 64, 95, 0.35);
    background-color: rgba(228, 64, 95, 0.08);
}

.facebook-link:hover {
    border-color: rgba(24, 119, 242, 0.35);
    background-color: rgba(24, 119, 242, 0.08);
}

.youtube-link:hover {
    border-color: rgba(255, 0, 0, 0.35);
    background-color: rgba(255, 0, 0, 0.08);
}

.pinterest-link:hover {
    border-color: rgba(189, 8, 28, 0.35);
    background-color: rgba(189, 8, 28, 0.08);
}

.linkedin-link:hover {
    border-color: rgba(10, 102, 194, 0.35);
    background-color: rgba(10, 102, 194, 0.08);
}

.x-link:hover {
    border-color: rgba(17, 17, 17, 0.3);
    background-color: rgba(17, 17, 17, 0.06);
}
