/* Contact Page Specific Styles */

/* Header */
.contact-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #f3f4f6;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
    flex-wrap: nowrap;
}

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

.logo-bars-contact {
    display: flex;
    gap: 8px;
    position: relative;
    height: 48px;
    width: 94px;
}

.bar-contact {
    width: 6px;
    height: 32px;
    background-color: #d1d5db;
    border-radius: 2px;
    position: absolute;
}

.bar-contact:nth-child(1) {
    left: 0;
    top: 8px;
}

.bar-contact.gray {
    width: 6px;
    height: 32px;
    background-color: #6b7280;
}

.bar-contact.gray:nth-child(2) {
    left: 12px;
    top: 6px;
}

.bar-contact.red {
    width: 8px;
    height: 40px;
    background-color: var(--color-primary);
    left: 26px;
    top: 4px;
    box-shadow: 0px 10px 15px -3px rgba(236, 19, 19, 0.4), 0px 4px 6px -4px rgba(236, 19, 19, 0.4);
}

.bar-contact.gray:nth-child(4) {
    left: 38px;
    top: 6px;
}

.bar-contact:nth-child(5) {
    left: 50px;
    top: 8px;
}

.logo-text-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 28px;
}

.logo-bold-contact {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 28px;
}

.logo-subtitle-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.subtitle-red {
    font-size: 10.4px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.04px;
    line-height: 10.4px;
}

.subtitle-gray {
    font-size: 8.8px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.44px;
    line-height: 8.8px;
}

.contact-header .nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

/* Hero Section */
.contact-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-top: 72px;
}

.hero-background-contact {
    position: absolute;
    inset: 0;
    background-image: url('https://www.figma.com/api/mcp/asset/5f53f9c6-30a4-4dbb-88a7-6e5533cb2968');
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
}

.hero-overlay-contact {
    position: absolute;
    inset: 0;
    background-image: url('icons/tir2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero-content-contact {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 0;
    max-width: 608px;
    margin: 0 auto;
}

.hero-badge-contact {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(236, 19, 19, 0.1);
    border: 1px solid rgba(236, 19, 19, 0.2);
    border-radius: 9999px;
    margin-bottom: 16px;
}

.hero-badge-contact span {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.hero-title-contact {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: white;
    line-height: 48px;
    margin-bottom: 16px;
    letter-spacing: -1.2px;
}

.hero-description-contact {
    font-size: 16px;
    line-height: 24px;
    color: #e5e7eb;
}

/* Contact Section */
.contact-section {
    background: #f8f6f6;
    padding: 96px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 426.66px 1fr;
    gap: 0;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Left Column - Contact Info */
.contact-info-column {
    background: var(--color-primary);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

.contact-info-column::before {
    content: '';
    position: absolute;
    right: -64px;
    top: -64px;
    width: 256px;
    height: 256px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(32px);
}

.contact-info-column::after {
    content: '';
    position: absolute;
    bottom: -64px;
    left: -64px;
    width: 192px;
    height: 192px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(20px);
}

.contact-info-content {
    position: relative;
    z-index: 10;
}

.contact-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 32px;
}

.contact-info-description {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.contact-item-content {
    flex: 1;
}

.contact-item-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.contact-item-value {
    font-size: 15px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    line-height: 28px;
    letter-spacing: -0.5px;
    display: block;
}

.contact-item-value:hover {
    opacity: 0.9;
}

.contact-social {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    margin-top: 24px;
}

.social-label {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-icon-circle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Right Column - Contact Form */
.contact-form-column {
    background: white;
    padding: 56px;
}

.contact-form-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 36px;
}

.contact-form-description {
    font-size: 16px;
    color: var(--color-light-gray);
    margin-bottom: 32px;
    line-height: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

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

.form-group label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-light-gray);
    line-height: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: none;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 0;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--color-dark);
    background: transparent;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('https://www.figma.com/api/mcp/asset/b6b97797-1949-44c0-acab-3143a30d5b03');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 32px;
}

.form-group textarea {
    resize: vertical;
    min-height: 86px;
    line-height: 24px;
}

.form-privacy {
    font-size: 12px;
    color: #9ca3af;
    line-height: 16px;
}

.kvkk-link {
    color: #9ca3af;
    text-decoration: underline;
    transition: color 0.3s;
}

.kvkk-link:hover {
    color: var(--color-primary);
}

.btn-black {
    background: #000;
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s;
    align-self: flex-end;
    margin-top: 8px;
}

.btn-black:hover {
    background: #1a1a1a;
}

.btn-black svg {
    width: 18px;
    height: 22px;
}

/* Map Section */
.map-section {
    background: #f8f6f6;
    padding: 96px 0;
}

.map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    height: 480px;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-expand-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 16px));
    background: rgba(236, 19, 19, 0.9);
    backdrop-filter: blur(6px);
    padding: 12px 24px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.map-wrapper:hover .map-expand-btn {
    opacity: 1;
}

.map-expand-btn svg {
    width: 24px;
    height: 28px;
}

.map-info-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    width: 375px;
}

.map-icon {
    width: 56px;
    height: 56px;
    background: rgba(236, 19, 19, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.map-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 24px;
}

.map-card-address {
    font-size: 14px;
    color: var(--color-light-gray);
    line-height: 20px;
    margin-bottom: 16px;
}

.map-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.3s;
}

.map-directions-link:hover {
    gap: 12px;
}

.map-directions-link svg {
    width: 14px;
    height: 16px;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 96px 0;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #181111;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.6px;
    line-height: 32px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    flex: 1;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Footer */
.contact-footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 50px 0;
}

.footer-content-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 28px;
}

.footer-logo-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 220px;
}

.footer-logo-contact .footer-logo-img {
    height: auto;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.footer-logo-contact svg {
    width: 24px;
    height: 24px;
}

.footer-logo-contact span {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.45px;
}

.footer-contact-info {
    margin: 20px 0;
    flex: 1 1 360px;
    min-width: 280px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-list .footer-contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.footer-contact-list span {
    font-size: 14px;
    color: #111827;
    line-height: 1.6;
}

.footer-links-contact {
    display: flex;
    gap: 24px;
    flex: 0 1 260px;
    flex-wrap: wrap;
}

.footer-links-contact a {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-contact a:hover {
    color: var(--color-dark);
}

.copyright-contact {
    font-size: 14px;
    color: #9ca3af;
    flex: 1 0 100%;
    margin-top: 4px;
    text-align: right;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-column {
        border-radius: 24px 24px 0 0;
    }
    
    .contact-form-column {
        border-radius: 0 0 24px 24px;
    }
    
    .map-info-card {
        width: calc(100% - 80px);
        max-width: 375px;
    }
}

@media (max-width: 768px) {
    .hero-title-contact {
        font-size: 36px;
        line-height: 44px;
    }
    
    .contact-form-column {
        padding: 32px 24px;
    }

    .contact-info-column {
        padding: 40px 24px;
    }

    .contact-item-value {
        font-size: 18px;
        line-height: 24px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .contact-item-value[href^="mailto:"] {
        font-size: 16px;
        line-height: 22px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content-contact {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-logo-contact,
    .footer-contact-info,
    .footer-links-contact,
    .copyright-contact {
        flex: initial;
        min-width: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .map-info-card {
        position: static;
        width: 100%;
        margin: 24px;
    }
    
    .map-wrapper {
        height: 400px;
    }
}
