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

/* Page Header */
.contact-page .page-header {
    background: linear-gradient(135deg, #165d8a 0%, #0f4a6b 100%);
    color: white;
    padding: 30px 0 40px;
    position: relative;
    overflow: visible;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .contact-page .page-header {
        padding: 120px 0 30px;
    }
}

@media (max-width: 480px) {
    .contact-page .page-header {
        padding: 110px 0 25px;
    }
}

.contact-page .page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-page .page-header-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.contact-page .page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-page .page-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-page .breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    background: transparent !important;
    padding: 15px 0 0 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.contact-page .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-page .breadcrumb a:hover {
    color: white;
}

.contact-page .breadcrumb .separator {
    color: rgba(255,255,255,0.6);
}

.contact-page .breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* Contact Content */
.contact-content {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 kolon sabit */
    gap: 25px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Location Cards */
.location-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 93, 138, 0.1);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.location-card.main-location {
    border: 2px solid #165d8a;
}

/* Location Header */
.location-header {
    padding: 25px 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #165d8a, #0f4a6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.location-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.location-type {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Location Info */
.location-info {
    padding: 15px 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #165d8a;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content strong {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-content span,
.info-content a {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.info-content a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #165d8a;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.phone-numbers a {
    font-weight: 500;
}

/* Location Actions */
.location-actions {
    padding: 0 25px 25px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #165d8a;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.map-btn:hover {
    background: white;
    color: #165d8a;
    border-color: #165d8a;
    transform: translateY(-2px);
}

/* Contact Form Section */
.contact-form-section {
    margin-bottom: 80px;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(22, 93, 138, 0.1);
}

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

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

/* Input ve select yüksekliği eşit olsun */
.form-group input,
.form-group select {
    height: 52px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #165d8a;
    box-shadow: 0 0 0 3px rgba(22, 93, 138, 0.1);
    transform: translateY(-2px);
}

/* HTML5 validation renklerini kaldır - başlangıçta hiç renk olmasın */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #e1e8ed !important;
    box-shadow: none !important;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #e1e8ed !important;
    box-shadow: none !important;
}

/* Focus durumunda override et */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #165d8a !important;
}

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

.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, #165d8a, #0f4a6b);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 93, 138, 0.3);
}

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

/* Additional Info */
.additional-info {
    margin-top: 60px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 93, 138, 0.1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #165d8a, #0f4a6b);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.info-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Working Hours */
.working-hours {
    text-align: left;
    margin-top: 20px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item .day {
    font-weight: 500;
    color: #2c3e50;
}

.hour-item .time {
    color: #165d8a;
    font-weight: 600;
}

/* Quick Call Button */
.quick-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-call:hover {
    background: #229954;
    transform: translateY(-2px);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Location Badges - Artık kullanılmıyor ama CSS'te kalsın */
.location-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.badge {
    background: #e3f2fd;
    color: #165d8a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Medium screens (large tablets) */
@media (max-width: 992px) and (min-width: 769px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        gap: 20px;
        max-width: 800px;
    }
    
    .location-card:nth-child(3) {
        grid-column: 1 / -1; /* 3. kart tam genişlik */
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .contact-page .page-header {
        padding: 40px 0 30px;
    }
    
    .contact-page .page-title {
        font-size: 2.5rem;
    }
    
    .contact-content {
        padding: 60px 0;
    }
    
    .locations-grid {
        grid-template-columns: 1fr; /* Tablet'te tek sütun */
        gap: 20px;
        margin-bottom: 60px;
        max-width: 600px; /* Kartları daha dar yap */
    }
    
    .location-card {
        margin: 0 15px;
    }
    
    .location-header {
        padding: 25px 25px 0;
        gap: 15px;
    }
    
    .location-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .location-title h2 {
        font-size: 1.3rem;
    }
    
    .location-info {
        padding: 15px 25px;
    }
    
    .location-actions {
        padding: 0 25px 25px;
    }
    
    .form-container {
        margin: 0 15px;
        padding: 35px 25px;
        border-radius: 16px;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 0 15px;
    }
    
    .info-card {
        padding: 30px 25px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .contact-page .page-header {
        padding: 30px 0 25px;
    }
    
    .contact-page .page-title {
        font-size: 2rem;
    }
    
    .contact-page .page-description {
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 40px 0;
    }
    
    .locations-grid {
        margin-bottom: 50px;
    }
    
    .location-card {
        margin: 0 10px;
    }
    
    .location-header {
        padding: 20px 20px 0;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .location-info {
        padding: 15px 20px;
    }
    
    .info-item {
        padding: 12px;
        gap: 12px;
    }
    
    .location-actions {
        padding: 0 20px 20px;
        text-align: center;
    }
    
    .form-container {
        margin: 0 10px;
        padding: 25px 20px;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .info-cards {
        margin: 0 10px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .hour-item {
        font-size: 0.9rem;
    }
    
    .phone-numbers {
        font-size: 0.9rem;
    }
    
    .location-badges {
        gap: 8px;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}
