* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: HelveticaNeue, Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.form-container {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e1e4ea;
    border-left: 6px solid #f9b300;
    box-shadow: 0 12px 30px rgba(12, 16, 23, 0.08);
    overflow: hidden;
}

/* Form Styles */
.contact-form {
    position: relative;
    z-index: 2;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Form Header */
.form-header {
    text-align: left;
    margin-bottom: 24px;
}

.form-title {
    font-family: GilroyExtrabold;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111111;
}

.gradient-text {
    color: #f9b300;
}

.form-subtitle {
    font-family: HelveticaNeue;
    color: #5f6368;
    font-size: 1.4rem;
}

/* Form Status */
.form-status {
    padding: 24px;
    border-radius: 10px;
    border: 2px solid;
}

.form-status.success {
    background: #f0f9f0;
    color: #2f6d3a;
    border-color: #a9d9b3;
}

.form-status.error {
    background: #fef0f0;
    color: #a83232;
    border-color: #f1b0b0;
}

.status-content {
    display: flex;
    align-items: center;
}

.status-icon {
    margin-right: 12px;
    font-size: 1.5rem;
}

.status-message {
    font-weight: 500;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-label {
    font-family: HelveticaNeueMedium;
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.required {
    color: #c53030;
}

.label-note {
    font-family: HelveticaNeue;
    color: #8a8f97;
    font-size: 1.2rem;
    font-weight: 400;
}

/* Input Styles */
.input-wrapper {
    position: relative;
}

.form-input {
    font-family: HelveticaNeue;
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #d6d9de;
    border-radius: 8px;
    font-size: 1.4rem;
    color: #111111;
    outline: none;
}

.form-textarea {
    resize: none;
    min-height: 120px;
}

.form-input:focus {
    border-color: #f9b300;
    box-shadow: 0 0 0 3px rgba(249, 179, 0, 0.15);
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    position: relative;
    padding: 14px 12px;
    border-radius: 10px;
    border: 1px solid #e1e4ea;
    background: #f8f9fb;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-option.selected .service-card {
    background: #f9b300d6;
    border-color: #f9b300d6;
}

.service-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #c4c7cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-option.selected .service-checkbox {
    background: #ffffff;
    border-color: #ffffff;
}

.checkmark {
    font-size: 0.7rem;
    color: #111111;
    opacity: 0;
}

.service-option.selected .checkmark {
    opacity: 1;
}

.service-label {
    font-family: HelveticaNeueMedium;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1f2937;
}

.service-option.selected .service-label {
    color: #111111;
    font-weight: 600;
}

/* Selected Count */
.selected-count {
    margin-top: 16px;
    text-align: center;
}

.count-text {
    font-family: HelveticaNeueMedium;
    color: #111111;
    font-weight: 500;
    margin: 0 8px;
    font-size: 1.4rem;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #d6d9de;
    border-radius: 10px;
    padding: 24px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #f8f9fb;
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.drag-over {
    border-color: #f9b300;
    background: #fffbee;
}

.file-input-hidden {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.file-upload-text {
    font-family: HelveticaNeue;
    font-size: 1.4rem;
    color: #4b5563;
    text-align: center;
}

.file-upload-link {
    color: #f9b300;
    font-weight: 600;
    text-decoration: underline;
}

.file-upload-hint {
    font-family: HelveticaNeue;
    font-size: 1.2rem;
    color: #8a8f97;
}

.file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.file-preview-grid:empty {
    display: none;
}

.file-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e5e7eb;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.file-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.file-preview-remove:hover {
    background: rgba(200,0,0,0.8);
}

/* Submit Section */
.submit-section {
    text-align: center;
    padding-top: 16px;
}

.submit-btn {
    font-family: HelveticaNeueBold;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #f9b300;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #d48f00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 179, 0, 0.4);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-content {
    font-family: HelveticaNeueBold;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.btn-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.response-time {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

.highlight {
    font-weight: 600;
    color: #f9b300;
}

/* Utility Classes */
.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 24px;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .form-title {
        font-size: 2.2rem;
    }

    .submit-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Contact Form Wrapper - Full width at top */
.contact-form-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 60px;
}

/* Locations Wrapper - Two columns below form */
.contact-locations-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 0 auto;
    max-width: 1400px;
}

.contact-map {
    width: 100%;
}

.contact-map .iframe-content {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Contact Container Styling - Override style.css */
.contact-map .okb-contact-container {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    background: #f8f9fb;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e1e4ea;
    border-left: 5px solid #f9b300;
}

.contact-map .okb-contact-container-title {
    font-family: HelveticaNeueBold, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-top: 0;
    padding-bottom: 0;
    text-align: left;
}

.contact-map .okb-contact-container-title:first-child {
    margin-top: 0;
}

.contact-map .okb-contact-container-descr {
    font-family: HelveticaNeue, sans-serif;
    font-size: 1.3rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: left;
}

.contact-map .okb-contact-container a[href^="tel:"] {
    color: #282176;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-map .okb-contact-container a[href^="tel:"]:hover {
    color: #1a156e;
    text-decoration: underline;
}

.contact-map .okb-contact-container a[href^="mailto:"] {
    color: #282176;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-map .okb-contact-container a[href^="mailto:"]:hover {
    color: #1a156e;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-locations-wrapper {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    /* Cancel the global top: -100px that causes header overlap on contact page */
    #section-okb-who-we-are.contact-top {
        top: 0 !important;
        position: relative !important;
    }

    .contact-form-wrapper {
        margin: 30px auto 40px;
    }

    .contact-locations-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-map .iframe-content {
        height: 300px;
    }

    /* Mobilde haritanın altına düzgün yerleşsin - style.css override */
    .contact-map .okb-contact-container {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        padding: 20px;
        margin-top: 16px;
        z-index: 1;
    }

    .contact-map .okb-contact-container-title {
        font-size: 1.3rem;
        padding-top: 16px !important;
    }

    .contact-map .okb-contact-container-title:first-child {
        padding-top: 0 !important;
    }

    .contact-map .okb-contact-container-descr {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        margin: 20px auto 30px;
    }

    .contact-locations-wrapper {
        gap: 24px;
    }

    .contact-map .iframe-content {
        height: 250px;
    }

    /* Mobilde haritanın altına düzgün yerleşsin */
    .contact-map .okb-contact-container {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        padding: 16px;
        margin-top: 12px;
    }

    .contact-map .okb-contact-container-title {
        font-size: 1.2rem;
        margin-top: 12px;
        padding-top: 12px !important;
    }

    .contact-map .okb-contact-container-title:first-child {
        margin-top: 0;
        padding-top: 0 !important;
    }

    .contact-map .okb-contact-container-descr {
        font-size: 1.1rem;
    }
}
