/* ===================================================
   CONTACT PAGE STYLES
   =================================================== */

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */

.contact-hero {
    position: relative;
    padding: 0 clamp(24px, 5vw, 90px) 0;
    background: linear-gradient(to bottom, #FCE300 50vh, #f7f7f7 50vh);
}

.contact-hero-wrapper {
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow:
        -417px 203px 130px 0px rgba(150, 150, 150, 0),
        -267px 130px 119px 0px rgba(150, 150, 150, 0.01),
        -150px 73px 100px 0px rgba(150, 150, 150, 0.05),
        -67px 33px 74px 0px rgba(150, 150, 150, 0.09),
        -17px 8px 41px 0px rgba(150, 150, 150, 0.1);
    height: min(620px, calc(90vh - var(--header-height)));
}

/* Sol: Siyah Info Box */
.contact-hero-info {
    width: 498px;
    flex-shrink: 0;
    background: #000;
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.contact-hero-label {
    font-size: 16px;
    font-weight: 400;
    color: #FCE300;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.contact-hero-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 60px;
    max-width: 352px;
}

.contact-hero-address {
    font-style: normal;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #F8F8F8;
    margin-bottom: auto;
}

.contact-hero-address p {
    margin: 0;
}

.contact-hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.contact-hero-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #F8F8F8;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.contact-hero-item:hover {
    color: #FCE300;
}

.contact-hero-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-icon img {
    width: 100%;
    height: auto;
    filter: brightness(0) saturate(100%) invert(89%) sepia(35%) saturate(1000%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

/* Sağ: Hero Image */
.contact-hero-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ---------------------------------------------------
   BREADCRUMB
--------------------------------------------------- */

.contact-breadcrumb {
    padding: 20px 100px;
    background: #F8F8F8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-link {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #3F3F3F;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
}

.breadcrumb-separator img {
    width: 16px;
    height: 16px;
}

.breadcrumb-current {
    font-size: 14px;
    font-weight: 400;
    color: #000;
}


/* ---------------------------------------------------
   FORM SECTION
--------------------------------------------------- */

.contact-form-section {
    padding: 0px 100px 100px;
    background: #F8F8F8;
}

.contact-form-headline {
    font-size: 42px;
    font-weight: 200;
    color: #3F3F3F;
    line-height: 1.4;
    margin-bottom: 24px;
}

.contact-form-wrapper {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow:
        -27px 26px 11px 0px rgba(153, 153, 153, 0),
        -17px 17px 10px 0px rgba(153, 153, 153, 0.01),
        -10px 9px 8px 0px rgba(153, 153, 153, 0.05),
        -4px 4px 6px 0px rgba(153, 153, 153, 0.09),
        -1px 1px 3px 0px rgba(153, 153, 153, 0.1);
    overflow: hidden;
    min-height: auto;
}

/* Sol: Form Image */
.contact-form-image {
    width: 528px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.contact-form-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Sağ: Form Box */
.contact-form-box {
    flex: 1;
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 25px;
    width: 100%;
}

.form-group {
    flex: 1;
}

.form-group-full {
    width: 100%;
    flex: none;
}

/* Input & Select & Textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    background: #F8F8F8;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #3F3F3F;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #878787;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3F3F3F;
}

.contact-form textarea {
    height: 100px;
    padding: 16px 20px;
    resize: none;
}

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

.form-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 50px;
}

.form-select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-select-icon img {
    width: 24px;
    height: 24px;
}

/* Bottom Row and Checkbox */
.form-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
    gap: 25px;
}

@media (max-width: 992px) {
    .form-bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

.form-checkbox {
    margin-top: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 1px solid #3F3F3F;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-label input:checked+.checkbox-custom {
    background: #000;
    border-color: #000;
}

.checkbox-label input:checked+.checkbox-custom::after {
    content: '✓';
    color: #FCE300;
    font-size: 14px;
    font-weight: 600;
}

.checkbox-text {
    font-size: 14px;
    font-weight: 300;
    color: #878787;
    line-height: 1.4;
}

.checkbox-text a {
    color: #878787;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.checkbox-text a:hover {
    color: #3F3F3F;
}

/* Submit Button */
.form-submit-container {
    flex-shrink: 0;
    display: flex;
    justify-content: right;
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 24px;
    background: #000;
    border: 1px solid #000;
    border-radius: 4px;
    color: #F8F8F8;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #3F3F3F;
}

.btn-submit-arrow {
    color: #FCE300;
    font-size: 20px;
}


/* ---------------------------------------------------
   MAP SECTION
--------------------------------------------------- */

.contact-map-section {
    padding: 0 100px 80px;
    background: #F8F8F8;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: -27px 26px 11px 0px rgba(153, 153, 153, 0),
        -17px 17px 10px 0px rgba(153, 153, 153, 0.01),
        -10px 9px 8px 0px rgba(153, 153, 153, 0.05),
        -4px 4px 6px 0px rgba(153, 153, 153, 0.09),
        -1px 1px 3px 0px rgba(153, 153, 153, 0.1);
    overflow: hidden;
}

.contact-map-frame {
    width: 100%;
    height: 632px;
    max-height: calc(100vh - 300px);
    position: relative;
}

.contact-map-frame iframe {
    width: 100%;
    height: 100%;
}

.contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
}

.contact-map-pin img {
    width: 100px;
    height: auto;
}

/* Map Buttons */
.contact-map-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 32px 40px;
}

.contact-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 241px;
    height: 60px;
    background: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    box-shadow: -41px 40px 16px 0px rgba(196, 196, 196, 0),
        -26px 25px 15px 0px rgba(196, 196, 196, 0.01),
        -15px 14px 12px 0px rgba(196, 196, 196, 0.05),
        -7px 6px 9px 0px rgba(196, 196, 196, 0.09),
        -2px 2px 5px 0px rgba(196, 196, 196, 0.1);
    transition: all 0.2s ease;
}

.contact-map-btn:hover {
    border-color: #3F3F3F;
}

.contact-map-btn img {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Form Success */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    text-align: center;
    padding: 40px;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #FCE300;
    margin-bottom: 32px;
}

.form-success-title {
    font-size: 32px;
    font-weight: 400;
    color: #3F3F3F;
    margin-bottom: 16px;
}

.form-success-text {
    font-size: 16px;
    font-weight: 300;
    color: #878787;
    line-height: 1.6;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */
@media (max-width: 1600px) {
    .contact-form-box{ padding: 30px; }
}
@media (max-width: 1400px) {
    .contact-hero-wrapper {
        min-height: 450px;
    }
    .contact-map-frame{ max-height: calc(100vh - 120px - var(--header-height) ); }
    .checkbox-text{ font-size: 12px;}
    .contact-map-buttons{ padding: 16px 0px; }
    .contact-form input, .contact-form select{
        height: 42px;
    }
    .contact-form textarea{
        height: 80px;
    }
    .form-bottom-row{ margin-top: 0px; }
    .contact-form,.form-row,.form-bottom-row{ gap: 15px; }
    .contact-form-box{ padding: 30px; }
    .contact-form-headline{ font-size: 40px; line-height: 1.2; margin-bottom: 12px; }
    .contact-hero {
        padding: 0px 60px 0;
    }

    .contact-breadcrumb {
        padding: 20px 60px;
    }

    .contact-form-section {
        padding: 0px 60px 80px;
    }

    .contact-map-section {
        padding: 0 60px 80px;
    }
}

@media (max-width: 1200px) {

    .contact-hero-wrapper {
        height: 520px;
    }

    .contact-hero-info {
        width: 400px;
        padding: 60px 30px;
    }

    .contact-hero-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .contact-breadcrumb {
        padding: 20px 40px;
    }

    .contact-form-section {
        padding: 40px 40px 80px;
    }

    .contact-form-image {
        width: 400px;
    }

    .contact-map-section {
        padding: 0 40px 80px;
    }

    .contact-map-frame {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 40px 20px 0;
        background: linear-gradient(to bottom, #FCE300 400px, #F8F8F8 400px);
    }

    .contact-hero-wrapper {
        flex-direction: column;
        height: auto;
    }

    .contact-hero-info {
        width: 100%;
        padding: 40px 30px;
        order: 2;
    }

    .contact-hero-image {
        height: 300px;
        order: 1;
    }

    .contact-hero-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .contact-hero-address {
        margin-bottom: 30px;
    }

    .contact-breadcrumb {
        padding: 20px 20px;
    }

    .contact-form-section {
        padding: 40px 20px 60px;
    }

    .contact-form-headline {
        font-size: 48px;
    }

    .contact-form-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .contact-form-image {
        width: 100%;
        height: 300px;
    }

    .contact-form-box {
        padding: 30px;
    }

    .contact-map-section {
        padding: 0 20px 60px;
    }

    .contact-map-frame {
        height: 400px;
    }

    .contact-map-buttons {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 15px 0;
        background: linear-gradient(to bottom, #FCE300 300px, #F8F8F8 300px);
        overflow-x: hidden;
    }

    .contact-hero-info {
        padding: 30px 20px;
    }

    .contact-hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .contact-hero-image {
        height: auto;
        min-height: 200px;
        max-height: 300px;
    }

    .contact-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .contact-breadcrumb {
        padding: 20px 15px;
    }

    .contact-form-section {
        padding: 30px 15px 50px;
        overflow-x: hidden;
    }

    .contact-form-headline {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .contact-form-image {
        height: auto;
        min-height: 200px;
        max-height: 300px;
    }

    .contact-form-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .contact-form-box {
        padding: 24px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .form-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .contact-map-section {
        padding: 0 15px 50px;
        overflow-x: hidden;
    }

    .contact-map-frame {
        height: 300px;
        width: 100%;
    }

    .contact-map-buttons {
        justify-content: center;
        padding: 20px 15px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-map-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .contact-map-btn {
        width: auto;
        height: auto;
        padding: 12px 20px;
        flex: 1;
        max-width: 200px;
    }

    .contact-map-btn img {
        height: 24px;
        max-width: 120px;
    }
}