/* assets/css/kontakti.css */

.contacts-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    padding-bottom: 60px;
    width: 100%;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* --- Header --- */
.contacts-header {
    text-align: center;
    margin-bottom: 40px;
}

.contacts-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.contacts-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #f9c115;
    border-radius: 2px;
}

/* --- Info Grid --- */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #f9c115;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: #fffbeb;
    /* light yellow bg */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #f9c115;
}

.contact-card img {
    width: 24px;
    height: 24px;
}

.contact-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-value {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.contact-sub {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

/* --- Full Width Map --- */
.contacts-map-section {
    width: 100%;
    height: 450px;
    background: #f3f4f6;
    margin-bottom: 60px;
    position: relative;
}

/* To ensure iframe fills the container */
.contacts-map-section iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* --- Photo Gallery --- */
.contacts-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-photo {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.contact-photo:hover img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f3f4f6;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    border: 2px dashed #d1d5db;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .contacts-gallery {
        grid-template-columns: 1fr;
        /* Vertical on mobile */
    }

    .contacts-map-section {
        height: 300px;
    }

    .contact-value {
        font-size: 16px;
    }
}

/* --- Service Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    column-gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    padding: 24px;
    transition: box-shadow 0.2s;
    height: 100%;
    min-height: 300px;
    /* Ensure text is readable on image */
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align text to bottom */
    position: relative;
    overflow: hidden;
}

/* Dark overlay to improve contrast */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
    border-radius: 5px;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #f9c115;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}