/* ===================================================
   Contact Page - Pixel Perfect Styles
   =================================================== */

.contact-page-body { 
    background: #FFFFFF; 
    overflow-x: hidden; 
}

/* Hero Senkron (200px) */
.contact-hero-adjustment {
    height: 320px !important;
    position: relative;
    width: 100%;
}

.contact-hero-bg {
    position: absolute;
    width: 1880px;
    height: 304px;
    left: calc(50% - 1880px/2);
    top: 70px;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 130.05%), 
                url('/images/hakkimizda-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
}

@media (max-width: 1880px) {
    .contact-hero-bg {
        width: calc(100% - 40px);
        max-width: 1880px;
        left: 20px;
        right: 20px;
    }
}

.contact-hero-title {
    font-family: 'Radio Canada Big', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: 0.5%;
    color: #FFFFFF;
    margin: 0;
    width: 1460px;
    max-width: calc(100% - 40px);
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1880px) {
    .hero-container .hero-social-frame {
        left: auto;
        right: 20px;
    }
}

/* Social Media Icons */
.hero-container .hero-social-frame {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 15px;
    position: absolute;
    width: 270px;
    height: 42px;
    left: 1420px;
    top: 201px;
    z-index: 10;
    pointer-events: auto;
}

.hero-container .hero-social-circle {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 57px;
    flex: none;
    order: 0;
    flex-grow: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.hero-container .hero-social-circle:hover {
    background: #658004;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container .hero-social-circle img {
    width: 22px;
    height: 22px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Main Content Area */
.contact-main-section {
    padding: 50px 0;
    position: relative;
}

/* Arka Plan Görseli (Rectangle 79) */
.contact-bg-image {
    position: absolute;
    width: 1880px;
    height: 640.81px;
    left: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.34)), 
                url('/images/iletisim.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    z-index: 0;
    margin-top: 110px
}

.container-1460 {
    width: 1460px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-flex-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 104px; /* Figma koordinat farkı */
    position: relative;
    z-index: 2;
    top:235px;
    margin-bottom: 200px;
}

/* Form Tasarımı (Figma: 863px) */
.contact-form-card {
    width: 863px;
    height: auto;
    background: #FFFFFF;
    border: 1.2px solid #C5C5C5;
    border-radius: 24px;
    padding: 50px 48px;
    flex-shrink: 0;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 33.5px;
    margin-bottom: 10px;
    color: #000000;
}

.form-header p {
    font-family: 'Inter';
    color: #5D5D5D;
    font-size: 16.7px;
    margin: 0;
}

.contact-form-pixel {
    display: flex;
    flex-direction: column;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
}

.form-field label {
    font-family: 'Inter';
    font-size: 16.7px;
    color: #5D5D5D;
    font-weight: 500;
}

.form-field input {
    border: none;
    border-bottom: 1.2px solid #ECEDF2;
    padding: 15px 0;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 16.7px;
    outline: none;
    background: transparent;
}

.form-field input:focus {
    border-bottom-color: #658004;
}

.form-field textarea {
    background: #F6F7F9;
    border: 1.2px solid #ECEDF2;
    border-radius: 19px;
    padding: 24px 28px;
    min-height: 281px;
    height: auto;
    font-family: 'Inter';
    font-size: 16.7px;
    outline: none;
    resize: vertical;
}

.form-field textarea:focus {
    border-color: #658004;
}

.btn-send-form {
    width: 372.7px;
    height: 58.7px;
    background: #658004;
    border-radius: 58px;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 16.7px;
    margin: 30px auto 0;
    display: block;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-send-form:hover {
    opacity: 0.9;
}

/* Bilgi Kutuları (Figma: 492.7px) */
.contact-info-column {
    width: 492px;
    display: flex;
    flex-direction: column;
    gap: 34px; /* Figma koordinat farkı */
    flex-shrink: 0;
}

.info-card {
    background: #FFFFFF;
    border: 1px solid #C5C5C5;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.info-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-box img {
    width: 100%;
    height: auto;
}

.info-text-box h4 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 10px;
    color: #000000;
}

.info-text-box p {
    font-family: 'Inter';
    font-size: 21px;
    color: #5D5D5D;
    margin: 0;
    line-height: 1.5;
}

.info-text-box p a {
    color: #5D5D5D;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text-box p a:hover {
    color: #658004;
    text-decoration: underline;
}

/* ===================================================
   MOBİL RESPONSIVE
   =================================================== */

@media (max-width: 1460px) {
    .container-1460 { 
        width: 100%; 
        padding: 0 20px; 
    }
    
    .contact-flex-layout { 
        flex-direction: column; 
        gap: 40px; 
    }
    
    .contact-form-card, 
    .contact-info-column { 
        width: 100%; 
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    /* Header top değerini kaldır (diğer sayfalarla uyum için) */
    .contact-page-body .figma-header {
        top: 0 !important;
    }

    /* Hero Hizalaması (Hakkimizda ile aynı) */
    .hero-section.contact-hero-adjustment {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Hero Arka Planı (Hakkimizda ile aynı) */
    .contact-hero-bg { 
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        left: 0 !important;
        right: 0 !important;
        top: -50px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 0 !important;
        padding-bottom: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.67) 0%, rgba(0, 0, 0, 0) 130.05%), 
                    url('/images/hakkimizda-bg.jpg') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
    }
    
    .contact-hero-title { 
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 32px !important;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        position: relative !important;
        z-index: 2;
        margin: 0 !important;
        padding: 0 20px !important;
        top: 0 !important;
    }

    .hero-container .hero-social-frame {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        top: 100px;
        width: auto;
        margin: 0;
        justify-content: center;
        gap: 12px;
        z-index: 10;
    }

    .hero-container .hero-social-circle {
        width: 40px;
        height: 40px;
    }

    .hero-container .hero-social-circle img {
        width: 20px;
        height: 20px;
    }

    .contact-main-section {
        padding-top: 0 !important;
        padding-bottom: 20px !important;
        position: relative;
        min-height: auto !important;
    }

    .contact-bg-image {
        position: absolute !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        border-radius: 0 !important;
        z-index: 0 !important;
        margin-top: 0 !important;
    }

    .container-1460 {
        padding: 0 20px;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
        z-index: 2 !important;
    }

    .contact-flex-layout {
        flex-direction: column;
        gap: 25px;
        top: 0 !important;
        position: relative;
        margin-bottom: 0 !important;
    }

    .contact-form-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 25px 20px !important;
        margin-top: 100px;
    }

    .contact-info-column {
        width: 100% !important;
        max-width: 100% !important;
    }

    .btn-send-form { 
        width: 100% !important;
        max-width: 100% !important;
    }

    .info-text-box h4 { 
        font-size: 24px; 
    }

    .info-text-box p {
        font-size: 18px;
    }

    /* Hamburger menü pozisyonunu düzelt */
    .contact-page-body .mobile-sidebar.active {
        transform: translateX(0) !important;
        visibility: visible;
        margin: 0 !important;
        padding: 0 !important;
        top: -10px !important;
        left: -10px !important; 
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-family: 'Radio Canada Big' !important;
        font-weight: 700 !important;
        font-size: 26px !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 10px;
    }

    .hero-container .hero-social-circle {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .hero-container .hero-social-circle img {
        width: 18px;
        height: 18px;
    }

    .contact-bg-image {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        min-height: auto !important;
    }

    .contact-form-card {
        padding: 20px 18px !important;
    }

    .form-header {
        margin-bottom: 25px !important;
    }

    .form-header h2 {
        font-size: 22px !important;
    }

    .form-header p {
        font-size: 12px !important;
    }

    .form-field {
        margin-bottom: 18px !important;
    }

    .form-field label {
        font-size: 12px !important;
    }

    .form-field input,
    .form-field textarea {
        font-size: 12px !important;
    }

    .form-field input {
        padding: 10px 0 !important;
    }

    .form-field textarea {
        min-height: 130px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .btn-send-form {
        height: 42px !important;
        font-size: 12px !important;
        margin-top: 15px !important;
    }

    .info-card {
        padding: 30px 20px;
    }

    .info-text-box h4 {
        font-size: 20px;
    }

    .info-text-box p {
        font-size: 16px;
    }
}

/* 320px için ekstra düzenlemeler */
@media (max-width: 320px) {
    .contact-main-section {
        padding-bottom: 15px !important;
    }

    .contact-bg-image {
        min-height: auto !important;
    }
    .container-1460 {
        padding: 0 15px !important;
    }

    .hero-container .hero-social-frame {
        top: 100px;
        gap: 8px;
    }

    .hero-container .hero-social-circle {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .hero-container .hero-social-circle img {
        width: 14px;
        height: 14px;
    }

    .contact-bg-image {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        min-height: 400px !important;
    }

    .container-1460 {
        padding: 0 15px !important;
    }

    .contact-form-card {
        padding: 15px 12px !important;
    }

    .form-header {
        margin-bottom: 18px !important;
    }

    .form-header h2 {
        font-size: 18px !important;
    }

    .form-header p {
        font-size: 10px !important;
    }

    .form-field {
        margin-bottom: 12px !important;
    }

    .form-field label {
        font-size: 10px !important;
    }

    .form-field input,
    .form-field textarea {
        font-size: 10px !important;
    }

    .form-field input {
        padding: 6px 0 !important;
    }

    .form-field textarea {
        min-height: 90px !important;
        padding: 8px !important;
    }

    .btn-send-form {
        height: 38px !important;
        font-size: 10px !important;
    }

    .info-card {
        padding: 25px 15px !important;
    }

    .info-text-box h4 {
        font-size: 18px !important;
    }

    .info-text-box p {
        font-size: 14px !important;
    }
}
