/* İletişim sayfası */
.by-contact-page {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 40%);
}

.by-contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 15px;
    line-height: 1.5;
}

.by-contact-alert i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.by-contact-alert--success {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.by-contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.by-contact-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 20px;
    padding: 28px 28px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.by-contact-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FF6D45;
    margin-bottom: 8px;
}

.by-contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.3;
}

.by-contact-card-title::before,
.by-contact-card-title::after {
    display: none !important;
}

.by-contact-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0 0 24px;
}

.by-contact-card-head {
    margin-bottom: 8px;
}

.by-contact-form > .row {
    --bs-gutter-y: 1.5rem;
}

.by-contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.by-contact-form .by-contact-field {
    margin-bottom: 1.25rem;
}

.by-contact-form .row > [class*="col-"]:last-child .by-contact-field {
    margin-bottom: 0;
}

.by-contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.by-contact-input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.by-contact-input::placeholder {
    color: #999;
}

.by-contact-input:focus {
    outline: none;
    background: #fff;
    border-color: #FF6D45;
    box-shadow: 0 0 0 3px rgba(255, 109, 69, 0.18);
}

.by-contact-textarea {
    min-height: 140px;
    resize: vertical;
}

.by-recaptcha-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0.25rem 0 0.75rem;
}

.by-recaptcha-wrap .g-recaptcha {
    display: inline-block;
}

.by-recaptcha-error {
    margin: 0.35rem 0 0;
    text-align: center;
    color: #6e4d16;
    font-size: 0.875rem;
    font-weight: 500;
}

.by-contact-form .col-12:has(.by-contact-submit) {
    margin-top: 0.5rem;
}

.by-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    float: none !important;
    margin-top: 0;
}

.by-contact-submit i {
    font-size: 14px;
}

.by-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.by-contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.by-contact-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.by-contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.by-contact-info-item:first-child {
    padding-top: 10px;
}

.by-contact-info-item > div {
    flex: 1;
    min-width: 0;
}

.by-contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FF6D45;
    color: #ffffff;
    line-height: 1;
    text-align: center;
}

.by-contact-icon i {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-size: 20px;
    text-align: center;
    position: static !important;
    left: auto !important;
    top: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
}

.by-contact-info-item strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin-bottom: 4px;
    line-height: 1.3;
}

.by-contact-info-item > div > a,
.by-contact-info-item > div > span {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
    font-weight: 500;
}

.by-contact-info-item > div > a:hover {
    color: #FF6D45;
}

.by-contact-social-title {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin: 0 0 14px;
}

.by-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.by-contact-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.by-contact-social a:hover {
    background: #FF6D45;
    color: #fff;
    transform: translateY(-2px);
}

.by-contact-map {
    padding: 0 0 4rem;
    background: #f5f5f5;
}

.by-contact-map-wrap {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.by-contact-map-head {
    padding: 24px 28px;
    border-bottom: 1px solid #f0f0f0;
}

.by-contact-map-head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 6px;
}

.by-contact-map-head h2::before,
.by-contact-map-head h2::after {
    display: none !important;
}

.by-contact-map-head p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.by-contact-map-frame,
.by-contact-map-frame iframe,
.by-contact-map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 380px;
}

.by-contact-map-frame iframe {
    border: 0;
}

@media (max-width: 991px) {
    .by-contact-page {
        padding: 2rem 0 3rem;
    }

    .by-contact-card {
        padding: 22px 20px 26px;
    }

    .by-contact-sidebar {
        margin-top: 8px;
    }
}

@media (max-width: 575px) {
    .by-contact-submit {
        width: 100%;
    }
}
