<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Truteknik Modern - İletişim</title>
    <link rel="stylesheet" href="styles.css">
    <style>
        /* Genel Stil Ayarları */
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Helvetica Neue', Arial, sans-serif;
            background-color: #f0f4f8;
            color: #333;
            display: flex;
            flex-direction: column;
        }

        header {
            background: #5c2f77; /* Koyu lacivert */
            color: #fff;
            padding: 10px 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        nav h1 {
            margin: 0;
            font-size: 22px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }

        nav h1 img {
            height: 40px;
            margin-right: 10px;
        }

        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
        }

        nav ul li {
            margin-left: 20px;
        }

        nav ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        nav ul li a:hover {
            color: #d6a3e8; /* Açık mor */
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            flex: 1;
        }

        /* İletişim Formu */
        .contact-form {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-form h2 {
            margin-top: 0;
            font-size: 22px;
            font-weight: bold;
            color: #5c2f77; /* Koyu lacivert */
        }

        .contact-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .contact-form input, .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-sizing: border-box;
        }

        .contact-form textarea {
            height: 150px;
            resize: vertical;
        }

        .contact-form button {
            background-color: #d32f2f; /* Koyu kırmızı */
            color: #fff;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .contact-form button:hover {
            background-color: #b71c1c; /* Daha koyu kırmızı */
        }

        footer {
            background: #5c2f77; /* Koyu lacivert */
            color: #fff;
            text-align: center;
            padding: 20px 0;
            font-size: 14px;
            box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Harita ve İletişim Bilgileri */
        .contact-info {
            margin-top: 20px;
            text-align: center;
        }

        .contact-info h2 {
            font-size: 24px;
            font-weight: bold;
            color: #5c2f77; /* Koyu lacivert */
        }

        .contact-info p {
            font-size: 18px;
            line-height: 1.6;
            margin: 10px 0;
        }

        .contact-info .address {
            font-weight: bold;
        }

        .contact-info iframe {
            width: 100%;
            height: 400px;
            border: none;
            border-radius: 8px;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <header>
        <nav>
            <div class="container">
                <h1><img src="logo.png" alt="Truteknik Logo"></h1>
                <h1>Truteknik Mühendislik San.Ltd.Şti</h1>
                <ul>
                    <li><a href="index.html">Ana Sayfa</a></li>
                    <li><a href="about.html">Hakkımızda</a></li>
                    <li><a href="services.html">Hizmetler</a></li>
                    <li><a href="contact.html">İletişim</a></li>
                </ul>
            </div>
        </nav>
    </header>

    <section id="contact" class="hero">
        <div class="container">
            <h2>Bizimle İletişime Geçin</h2>

            <div class="contact-form">
                <h2>İletişim Formu</h2>
                <form action="mailto:info@truteknik.com" method="post" enctype="text/plain">
                    <label for="name">Adınız</label>
                    <input type="text" id="name" name="name" required>

                    <label for="email">E-posta Adresiniz</label>
                    <input type="email" id="email" name="email" required>

                    <label for="message">Mesajınız</label>
                    <textarea id="message" name="message" required></textarea>

                    <button type="submit">Gönder</button>
                </form>
            </div>

            <!-- İletişim Bilgileri ve Harita -->
            <div class="contact-info">
                <h2>İletişim Bilgilerimiz</h2>
                <p class="address">Truteknik Mühendislik San.Ltd.Şti</p>
                <p>Adres: Örnek Mah. 123. Sok. No: 45, İstanbul, Türkiye</p>
                <p>Telefon: +90 123 456 7890</p>
                <p>E-posta: <a href="mailto:info@truteknik.com">info@truteknik.com</a></p>

                <!-- Google Maps Embed -->
                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d12456.345126843051!2d28.9783586!3d41.0082376!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14caa8a8a4e1b2d1%3A0x2ab4d8dcd39464!2zQ2F0YWxhb26aIGFkcmlzIG9nIEzYMjg!5e0!3m2!1str!2str!4v1617104937753!5m2!1str!2str" 
                        allowfullscreen="" 
                        loading="lazy"></iframe>
            </div>
        </div>
    </section>

    <footer>
        <p>&copy; 2024 Truteknik Mühendislik San.Ltd.Şti | Tüm Hakları Saklıdır</p>
    </footer>
</body>
</html>
