/* ========================================
   İLETİŞİM SAYFASI - CONTACT PAGE CSS
   Responsive B2B Temas Merkezi
======================================== */

/* Hero Section */
.contact-hero {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #8B4513 0%, #5D2E0C 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg, url('../images/fabrika.jpg')) center/cover no-repeat;
    opacity: 0.2;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9) 0%, rgba(93, 46, 12, 0.95) 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    text-align: center;
    color: #fff;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-radius: 25px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* İletişim Bilgileri Kartları */
.contact-info-section {
    padding: 60px 0;
    background: #f8f5f0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B4513 0%, #D4A574 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-card a {
    color: #8B4513;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #5D2E0C;
}

.contact-card small {
    color: #999;
    font-size: 0.8rem;
}

.contact-badge {
    display: inline-block;
    background: #f0e6d9;
    color: #8B4513;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
}

.contact-badge.highlight {
    background: #d4edda;
    color: #155724;
}

/* Ana İletişim Bölümü - Form ve Harita */
.contact-main-section {
    padding: 70px 0;
    background: #fff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0e6d9;
}

.form-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: #8B4513;
}

.form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.form-section h4 {
    font-size: 1rem;
    color: #8B4513;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h4 i {
    font-size: 0.9rem;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Form Groups */
.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-group.full-width {
    grid-column: span 2;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

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

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

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

/* Form Alert Messages */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b1dfbb;
}

.form-alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f1b0b7;
}

.form-alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-alert-success .form-alert-icon {
    background: #28a745;
}

.form-alert-danger .form-alert-icon {
    background: #dc3545;
}

.form-alert-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.form-alert-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-alert-success .form-alert-content h4 {
    color: #155724;
}

.form-alert-danger .form-alert-content h4 {
    color: #721c24;
}

.form-alert-content p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.form-alert-success .form-alert-content p {
    color: #155724;
}

.form-alert-danger .form-alert-content p {
    color: #721c24;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.05rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 120px;
}

/* Harita */
.map-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.map-wrapper h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-wrapper h3 i {
    color: #8B4513;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.map-container iframe {
    display: block;
}

.map-note {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-note i {
    color: #8B4513;
}

/* WhatsApp Box */
.whatsapp-box {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    color: #fff;
}

.whatsapp-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.whatsapp-icon i {
    font-size: 2rem;
    color: #fff;
}

.whatsapp-box h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.whatsapp-box p {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-whatsapp-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #fff;
    color: #128C7E;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp-full:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* SSS Bölümü */
.faq-section {
    padding: 70px 0;
    background: #f8f5f0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.faq-question i {
    color: #8B4513;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-question h4 {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 30px;
}

/* Neden Biz Bölümü */
.why-contact-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #8B4513 0%, #5D2E0C 100%);
}

.why-contact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.why-contact-item {
    background: rgba(255,255,255,0.15);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.why-contact-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.why-contact-item i {
    font-size: 2rem;
    color: #D4A574;
    margin-bottom: 12px;
    display: block;
}

.why-contact-item span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    display: block;
}

/* Alt CTA Bölümü */
.contact-cta-section {
    padding: 70px 0;
    background: #fff;
}

.contact-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-cta-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 1.75rem;
    color: #fff;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

/* Tablet - 992px */
@media (max-width: 992px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .map-wrapper,
    .whatsapp-box {
        flex: 1;
        min-width: 280px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Landscape - 768px */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 350px;
    }
    
    .contact-hero-content {
        padding: 40px 15px;
    }
    
    .contact-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-info-section {
        padding: 40px 0;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card-icon {
        width: 55px;
        height: 55px;
    }
    
    .contact-card-icon i {
        font-size: 1.4rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    .contact-main-section {
        padding: 40px 0;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-sidebar {
        flex-direction: column;
    }
    
    .map-wrapper,
    .whatsapp-box {
        min-width: 100%;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item p {
        padding-left: 0;
    }
    
    .why-contact-section {
        padding: 40px 0;
    }
    
    .why-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .why-contact-item {
        padding: 20px 12px;
    }
    
    .why-contact-item i {
        font-size: 1.5rem;
    }
    
    .why-contact-item span {
        font-size: 0.8rem;
    }
    
    .contact-cta-section {
        padding: 40px 0;
    }
    
    .contact-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .contact-cta-content p {
        font-size: 1rem;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile Portrait - 576px */
@media (max-width: 576px) {
    .contact-hero {
        min-height: 300px;
    }
    
    .contact-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .contact-hero-content p {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 20px;
    }
    
    .contact-card-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
    }
    
    .contact-card-icon i {
        font-size: 1.2rem;
    }
    
    .contact-card h3 {
        margin-bottom: 5px;
    }
    
    .contact-card p {
        margin-bottom: 3px;
    }
    
    .contact-badge {
        margin-top: 5px;
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .form-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .form-header h2 {
        font-size: 1.1rem;
    }
    
    .form-header p {
        font-size: 0.85rem;
    }
    
    .form-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    
    .form-section h4 {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .contact-form label {
        font-size: 0.85rem;
    }
    
    .btn-submit {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .map-wrapper {
        padding: 20px;
    }
    
    .map-wrapper h3 {
        font-size: 1rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .whatsapp-box {
        padding: 25px 20px;
    }
    
    .whatsapp-icon {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-icon i {
        font-size: 1.75rem;
    }
    
    .whatsapp-box h3 {
        font-size: 1.05rem;
    }
    
    .whatsapp-box p {
        font-size: 0.85rem;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
    }
    
    .faq-item p {
        font-size: 0.85rem;
    }
    
    .why-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .why-contact-item {
        padding: 15px 10px;
    }
    
    .why-contact-item i {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .why-contact-item span {
        font-size: 0.75rem;
    }
    
    .contact-cta-content h2 {
        font-size: 1.3rem;
    }
    
    .contact-cta-content p {
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* Extra Small - 400px */
@media (max-width: 400px) {
    .contact-hero-content h1 {
        font-size: 1.35rem;
    }
    
    .contact-hero-content p {
        font-size: 0.85rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        margin-bottom: 10px;
    }
    
    .why-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Fix for iOS input zoom */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
