'use client';

import Link from 'next/link';
import Image from 'next/image';
import { companyInfo } from '@/lib/company';
import styles from './Header.module.css';

export default function Header() {
  return (
    <header className={styles.header}>
      <div className={styles.container}>
        <Link href="/" className={styles.logo}>
          <Image
            src={companyInfo.logo}
            alt={companyInfo.name}
            width={60}
            height={60}
            priority
          />
          <span className={styles.logoText}>
            {companyInfo.photographerName}
          </span>
        </Link>
        <nav className={styles.nav}>
          <Link href="/" className={styles.navLink}>
            Главная
          </Link>
          <Link href="/services" className={styles.navLink}>
            Услуги
          </Link>
          <Link href="/contacts" className={styles.navLink}>
            Контакты
          </Link>
        </nav>
      </div>
    </header>
  );
}

