/* ==========================================================================
   Contacts Page
   ========================================================================== */
.contacts-main-section {
    padding: 80px 0;
}

/* Base Grids */
.contacts-top-row {
    display: grid;
    grid-template-columns: 6fr 4fr; /* Text wider, Socials narrower */
    gap: 50px;
    margin-bottom: 50px;
    align-items: center; /* Center vertically if one side is taller */
}

.contacts-layout {
    display: grid;
    grid-template-columns: 4fr 6fr; /* Cards narrower, Map wider */
    gap: 50px;
    align-items: stretch;
}

/* Left Column: Info Cards */
.contacts-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top text intro */
.contacts-text-intro {
    text-align: center;
}

.contacts-page-title {
    margin-bottom: 15px;
    font-size: 32px; /* A bit larger since it's hero-sized */
    text-transform: uppercase;
}

.contacts-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-card-content h3 {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 8px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-content p,
.contact-card-content a {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    line-height: 1.4;
    margin: 0;
}

.contact-card-content a:hover {
    color: var(--color-primary);
}

.contact-working-hours p {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    margin-bottom: 5px;
}

/* Right Column: Map */
.contacts-map-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-wrapper {
    flex: 1; /* stretches the map to fill all remaining vertical space of the column */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eaeaea;
    min-height: 400px;
}
.map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}
.map-placeholder {
    flex-grow: 1;
    min-height: 400px;
    background: var(--color-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    border: 1px dashed #ccc;
    color: #888;
}

.contact-social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* closer together */
    margin-top: 30px;
}

.cs-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-dark);
    transition: transform 0.3s;
    width: 100px; /* FIXED WIDTH to make them even! */
}

.cs-icon:hover {
    transform: translateY(-5px);
}

.cs-icon svg {
    margin-bottom: 12px;
    color: var(--color-primary);
    transition: color 0.3s;
}

.cs-icon span {
    font-weight: 500;
    font-size: 15px;
    text-align: center;
}

/* Unique hovers for social brands */
.cs-ig:hover svg { color: #E1306C; }
.cs-tg:hover svg { color: #0088cc; }
.cs-vb:hover svg { color: #59267c; }

/* Responsive */
@media (max-width: 991px) {
    .contacts-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    .contacts-layout {
        grid-template-columns: 1fr;
    }
    .contacts-map-column {
        height: 400px;
    }
}
@media (max-width: 767px) {
    .contact-card {
        padding: 20px;
    }
    .contact-card-content h3 {
        font-size: 14px;
    }
    .contact-card-content p,
    .contact-card-content a {
        font-size: 16px;
    }
}
