/* Kontak Page Specific Styles */

/* --- Page Hero --- */
.kontak-hero {
    padding: clamp(2rem, 5vw + 1rem, 6rem) 0 clamp(4rem, 5vw + 2rem, 6rem);
    background-color: var(--color-bg-body);
    text-align: center;
}

.kh-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kh-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 2rem;
}

.kontak-hero h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.kontak-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 760px;
    margin: 0 auto;
}

/* --- Kontak Layout --- */
.kontak-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* --- Contact Information Panel --- */
.kontak-info-wrapper {
    display: flex;
    flex-direction: column;
}

.kontak-info-wrapper h2 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.kontak-info-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.editorial-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.ei-item h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.ei-item p, .ei-item a {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0f172a;
    text-decoration: none;
    margin: 0;
    transition: color var(--transition-fast);
}

.ei-item a:hover {
    color: var(--color-primary);
}

/* --- Editorial WhatsApp Box --- */
.editorial-wa-box {
    background-color: rgba(37, 99, 235, 0.04);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.editorial-wa-box h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.editorial-wa-box p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-wa-editorial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}
.btn-wa-editorial:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* --- Contact Form Panel --- */
.kontak-form-wrapper {
    background-color: white;
    padding: 3rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.kontak-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.kontak-form-wrapper > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text-main);
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    background-color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Custom Select Wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

select.form-control {
    appearance: none;
    padding-right: 2.5rem;
}

.form-submit {
    margin-top: 2rem;
}

.btn-submit-premium {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.125rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit-premium:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

/* Alert Box */
.alert-success {
    background-color: #f0fdf4;
    color: #166534;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .kontak-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .kontak-info-wrapper {
        order: 1; /* Keep info on top for mobile */
    }
    
    .kontak-form-wrapper {
        order: 2;
    }
    
    .kontak-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .kontak-hero h1 {
        font-size: 2.25rem;
    }
    
    .kontak-hero p {
        font-size: 1.125rem;
    }
    
    .kontak-form-wrapper {
        padding: 2rem;
    }
    
    .editorial-wa-box {
        padding: 2rem;
    }
    
    .editorial-wa-box h3 {
        font-size: 1.125rem;
    }
}
