import styles from "./Footer.module.css";

export default function Footer({ dict }: { dict: any }) {
  return (
    <footer className={styles.footer} id="contact">
      <div className={styles.container}>
        {/* Brand Column */}
        <div className={styles.brandCol}>
          <h2 className={styles.logo}>SALMAKIS</h2>
          <p className={styles.tagline}>{dict.footer.tagline}</p>
          <div className={styles.generalContact}>
            <a href="tel:+902523166506" className={styles.contactLink}>+90 252 316 65 06</a>
            <span className={styles.contactText}>08:00 − 20:00</span>
            <a href="mailto:salmakis@salmakis.com.tr" className={styles.contactLink}>salmakis@salmakis.com.tr</a>
          </div>
        </div>

        {/* Divisions Column */}
        <div className={styles.gridContainer}>
          <div className={styles.col}>
            <h4 className={styles.colTitle}>Salmakis Resort</h4>
            <p className={styles.address}>
              Bardakci Koyu<br/>
              BODRUM/MUĞLA/TURKEY
            </p>
            <a href="tel:+902523166506" className={styles.contactLink}>+90 252 316 65 06</a>
            <a href="tel:+902523166507" className={styles.contactLink}>+90 252 316 65 07</a>
            <a href="tel:+902523166511" className={styles.contactLink}>+90 252 316 65 11</a>
            <a href="mailto:salmakis@salmakis.com.tr" className={styles.contactLink}>salmakis@salmakis.com.tr</a>
          </div>

          <div className={styles.col}>
            <h4 className={styles.colTitle}>Salmakis Villas</h4>
            <p className={styles.address}>
              Bademlik Mevkii<br/>
              Kume Evleri No 24<br/>
              Bodrum/MUGLA/TURKEY
            </p>
            <a href="tel:+902523162738" className={styles.contactLink}>+90 252 316 27 38</a>
            <a href="tel:+902523162877" className={styles.contactLink}>+90 252 316 28 77</a>
            <a href="tel:+905327317804" className={styles.contactLink}>+90 532 731 78 04</a>
            <a href="tel:+902523162737" className={styles.contactLink}>+90 252 316 27 37</a>
            <a href="mailto:info@salmakisvillas.com" className={styles.contactLink}>info@salmakisvillas.com</a>
          </div>

          <div className={styles.col}>
            <h4 className={styles.colTitle}>Salmakis Yachting</h4>
            <p className={styles.address}>
              Kumbahce Mah. Icmeler Cad.<br/>
              No 28/1<br/>
              BODRUM/MUGLA/TURKEY
            </p>
            <a href="tel:+902523162738" className={styles.contactLink}>+90 252 316 27 38</a>
            <a href="tel:+902523162877" className={styles.contactLink}>+90 252 316 28 77</a>
            <a href="tel:+902523162737" className={styles.contactLink}>+90 252 316 27 37</a>
            <a href="mailto:info@salmakisyachting.com" className={styles.contactLink}>info@salmakisyachting.com</a>
          </div>
        </div>
      </div>
      
      <div className={styles.bottomBar}>
        <p className={styles.copyright}>&copy; {new Date().getFullYear()} {dict.footer.copyright}</p>
        <p className={styles.signature}>
          {dict.footer.created_by} <a href="https://ayris.tech" target="_blank" rel="noreferrer" className={styles.ayrisLink}>AYRISTECH</a>
        </p>
      </div>
    </footer>
  );
}
