/**
 * Contact Information Styling
 * Dr. Hamza Gemici Medical Aesthetics Website
 */

.contact-item {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e7ff;
}

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

.contact-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Phone number special styling */
.contact-item a[href^="tel:"] {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-color);
}

.contact-item a[href^="tel:"]:hover {
    color: var(--primary-color);
    transform: scale(1.05);
    display: inline-block;
}

/* Email styling */
.contact-item a[href^="mailto:"] {
    font-weight: 500;
    color: var(--primary-color);
}

/* Address styling */
.contact-item p br {
    line-height: 1.8;
}

/* Footer contact styling */
.footer .contact-item {
    border-bottom: none;
    padding: 10px 0;
    margin-bottom: 15px;
}

.footer .contact-item strong {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer .contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer .contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.footer .contact-item a:hover {
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-item {
        padding: 12px 0;
        margin-bottom: 15px;
    }

    .contact-item strong {
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-item a[href^="tel:"] {
        font-size: 1rem;
    }
}

/* Contact info icons */
.contact-item strong::before {
    margin-right: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
}

.contact-item strong:contains("Adres")::before,
.contact-item strong:contains("Address")::before {
    content: "📍";
}

.contact-item strong:contains("Telefon")::before,
.contact-item strong:contains("Phone")::before {
    content: "📞";
}

.contact-item strong:contains("E-posta")::before,
.contact-item strong:contains("Email")::before {
    content: "✉️";
}

.contact-item strong:contains("Çalışma")::before,
.contact-item strong:contains("Hours")::before {
    content: "🕒";
}

/* Professional medical styling */
.contact-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 2px 10px rgba(44, 90, 160, 0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

/* Hover effects for contact items */
.contact-item:hover {
    background: rgba(44, 90, 160, 0.02);
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    transition: all 0.3s ease;
}

/* Google Maps Styling */
.map-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 40px;
}

.map-title {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    margin: 0;
    padding: 20px 30px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.google-map {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.google-map:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: #f8fafc;
    border-top: 3px solid var(--primary-color);
}

.map-address h4 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.map-address p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.map-directions .btn {
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-directions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.map-directions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Responsive Design for Maps */
@media (max-width: 768px) {
    .map-container {
        margin-top: 30px;
        border-radius: 10px;
    }

    .map-title {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .google-map {
        height: 300px;
    }

    .map-info {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .map-directions .btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .google-map {
        height: 250px;
    }

    .map-title {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .map-info {
        padding: 15px;
    }

    .map-address h4 {
        font-size: 1rem;
    }

    .map-address p {
        font-size: 0.9rem;
    }
}

/* Loading and error states */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 1rem;
}

.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #fef2f2;
    color: #dc2626;
    text-align: center;
    padding: 20px;
}

/* Map overlay for better integration */
.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

/* Professional medical map styling */
.map-container {
    position: relative;
    border: 2px solid #e0e7ff;
}

.map-container:hover {
    border-color: var(--primary-color);
    transition: border-color 0.3s ease;
}

/* Accessibility improvements */
.google-map iframe[title] {
    outline: none;
}

.google-map:focus-within {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
