<!DOCTYPE html>
<html lang="nl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{.Title}}</title>
    
    <!-- Basic SEO Meta Tags -->
    <meta name="description" content="Neem contact op met {{.CompanyName}} voor Linux-migratieservice. Gratis advies, installatie, datamigratie en ondersteuning in gemeente Het Hogeland.">
    <meta name="keywords" content="contact, Linux service, Windows 10 migratie, Het Hogeland, Eenrum, gratis advies, installatie">
    <meta name="author" content="{{.CompanyName}}">
    <meta name="robots" content="index, follow">
    <meta name="language" content="nl">
    
    <!-- Open Graph Meta Tags for Social Media -->
    <meta property="og:title" content="{{.Title}}">
    <meta property="og:description" content="Neem contact op met {{.CompanyName}} voor Linux-migratieservice. Gratis advies, installatie, datamigratie en ondersteuning in gemeente Het Hogeland.">
    <meta property="og:image" content="https://{{.Domain}}/static/TuxAinrom.webp">
    <meta property="og:image:alt" content="Tux Linux mascotte banner voor Hogeland Linux service">
    <meta property="og:url" content="https://{{.Domain}}/contact">
    <meta property="og:type" content="website">
    <meta property="og:site_name" content="{{.CompanyName}}">
    <meta property="og:locale" content="nl_NL">
    
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="{{.Title}}">
    <meta name="twitter:description" content="Neem contact op met {{.CompanyName}} voor Linux-migratieservice. Gratis advies en ondersteuning.">
    <meta name="twitter:image" content="https://{{.Domain}}/static/TuxAinrom.webp">
    <meta name="twitter:image:alt" content="Tux Linux mascotte banner voor Hogeland Linux service">
    
    <!-- Favicon Links -->
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
    <link rel="manifest" href="/static/manifest.json">
    
    <!-- Theme Color for Mobile Browsers -->
    <meta name="theme-color" content="#059669">
    <meta name="msapplication-TileColor" content="#059669">
    
    <!-- Canonical URL -->
    <link rel="canonical" href="https://{{.Domain}}/contact">
    
    <!-- Preload Critical Resources -->
    <link rel="preload" href="/static/style.css" as="style">
    <link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" as="style">
    
    <!-- CSS and Fonts -->
    <link rel="stylesheet" href="/static/style.css">
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
    {{template "header" .}}

    <main>
        <section class="contact-hero">
            <div class="container">
                <h1>Neem contact op</h1>
                <p>Heeft u vragen over Linux migratie? Wij helpen u graag verder!</p>
            </div>
        </section>

        <section class="contact-content">
            <div class="container">
                <div class="contact-grid">
                    <div class="contact-info">
                        <h2>Contactgegevens</h2>
                        <div class="contact-item">
                            <div class="contact-icon">📍</div>
                            <div>
                                <h3>Adres</h3>
                                <p>{{.Street}}</p>
                                <p>{{.PostalCode}} {{.Village}}</p>
                            </div>
                        </div>
                        <div class="contact-item">
                            <div class="contact-icon">📧</div>
                            <div>
                                <h3>E-mail</h3>
                                <p><a href="mailto:{{.Email}}">{{.Email}}</a></p>
                            </div>
                        </div>
                        <div class="contact-item">
                            <div class="contact-icon">📞</div>
                            <div>
                                <h3>Telefoon</h3>
                                <p><a href="tel:{{.Phone}}">{{.Phone}}</a></p>
                            </div>
                        </div>
                        <div class="contact-item">
                            <div class="contact-icon">🏢</div>
                            <div>
                                <h3>KvK-nummer</h3>
                                <p>{{.KVK}}</p>
                            </div>
                        </div>
                        
                        <div class="contact-hours">
                            <h3>Openingstijden</h3>
                            <p>Maandag - vrijdag: 09:00 - 17:00 (op afspraak)</p>
                            <p>Weekend: op afspraak</p>
                        </div>
                    </div>

                    <div class="contact-form">
                        <h2>Stuur een bericht</h2>
                        
                        {{if .ErrorMessage}}
                        <div class="alert alert-error">
                            <strong>❌ Fout:</strong> {{.ErrorMessage}}
                        </div>
                        {{end}}
                        
                        {{if .SuccessMessage}}
                        <div class="alert alert-success">
                            <strong>✅ Gelukt:</strong> {{.SuccessMessage}}
                        </div>
                        {{end}}
                        
                        <form action="/contact" method="POST">
                            <div class="form-group">
                                <label for="name">Naam *</label>
                                <input type="text" id="name" name="name" value="{{.FormData.Name}}" required>
                            </div>
                            
                            <div class="form-group">
                                <label for="email">E-mail *</label>
                                <input type="email" id="email" name="email" value="{{.FormData.Email}}" required>
                            </div>
                            
                            <div class="form-group">
                                <label for="phone">Telefoon</label>
                                <input type="tel" id="phone" name="phone" value="{{.FormData.Phone}}">
                            </div>
                            
                            <div class="form-group">
                                <label for="computer">Huidige computer</label>
                                <input type="text" id="computer" name="computer" value="{{.FormData.Computer}}" placeholder="Bijv. Dell Inspiron 2015, HP Pavilion 2018">
                            </div>
                            
                            <div class="form-group">
                                <label for="service">Gewenste service</label>
                                <select id="service" name="service">
                                    <option value="">Selecteer een optie</option>
                                    <option value="advice" {{if eq .FormData.Service "advice"}}selected{{end}}>Gratis advies</option>
                                    <option value="installation" {{if eq .FormData.Service "installation"}}selected{{end}}>Linux-installatie</option>
                                    <option value="migration" {{if eq .FormData.Service "migration"}}selected{{end}}>Datamigratie</option>
                                    <option value="training" {{if eq .FormData.Service "training"}}selected{{end}}>Training en ondersteuning</option>
                                    <option value="other" {{if eq .FormData.Service "other"}}selected{{end}}>Anders</option>
                                </select>
                            </div>
                            
                            <div class="form-group">
                                <label for="message">Bericht *</label>
                                <textarea id="message" name="message" rows="5" required placeholder="Vertel ons over uw situatie en hoe wij u kunnen helpen...">{{.FormData.Message}}</textarea>
                            </div>
                            
                            <button type="submit" class="btn btn-primary">Verstuur bericht</button>
                        </form>
                    </div>
                </div>
            </div>
        </section>

        <section class="contact-cta">
            <div class="container">
                <h2>Waarom kiezen voor {{.CompanyName}}?</h2>
                <div class="cta-benefits">
                    <div class="cta-benefit">
                        <div class="benefit-icon">🎯</div>
                        <h3>Persoonlijke aanpak</h3>
                        <p>Elke klant is uniek, en wij bieden maatwerkoplossingen.</p>
                    </div>
                    <div class="cta-benefit">
                        <div class="benefit-icon">🛠️</div>
                        <h3>Professionele service</h3>
                        <p>Ruim 20 jaar ervaring met Linux systemen en migraties.</p>
                    </div>
                    <div class="cta-benefit">
                        <div class="benefit-icon">🤝</div>
                        <h3>Volledige ondersteuning</h3>
                        <p>Van installatie tot training, wij begeleiden u door het hele proces.</p>
                    </div>
                    <div class="cta-benefit">
                        <div class="benefit-icon">💚</div>
                        <h3>Duurzame keuze</h3>
                        <p>Samen bouwen we aan een duurzamere digitale toekomst.</p>
                    </div>
                </div>
            </div>
        </section>
    </main>

    {{template "footer" .}}

    <script>
        function toggleMobileMenu() {
            const mobileMenu = document.getElementById('mobile-menu');
            mobileMenu.classList.toggle('active');
        }

        // Close mobile menu when clicking outside
        document.addEventListener('click', function(event) {
            const mobileMenu = document.getElementById('mobile-menu');
            const menuToggle = document.querySelector('.mobile-menu-toggle');
            
            if (!mobileMenu.contains(event.target) && !menuToggle.contains(event.target)) {
                mobileMenu.classList.remove('active');
            }
        });

        // Close mobile menu when clicking on a link
        document.querySelectorAll('.mobile-menu a').forEach(link => {
            link.addEventListener('click', function() {
                document.getElementById('mobile-menu').classList.remove('active');
            });
        });
    </script>
</body>
</html> 