<?php
session_start();
require 'conexao1.php';

$sql = "SELECT * FROM banners";
$result = $conn->query($sql);
?>
<!DOCTYPE html>
<html lang="pt-BR">
<head>
  <title>TecnoArte - Móveis e Decoração</title>
  <meta charset="utf-8">
  <meta name="description" content="TecnoArte: loja especializada em móveis e decoração. Confira nossos produtos exclusivos.">
  <meta name="keywords" content="móveis, decoração, loja, sofás, estofados, TecnoArte">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- Bootstrap -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet">

  <!-- Fontes e CSS -->
  <link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;700&family=Marcellus&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="css/estilo.css">

  <style>
    /* Responsividade do slider */


    .body{
      height: 1200px;
    }
    .slider {
      width: 100%;
      overflow: hidden;
      position: relative;
    }

    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .slide {
      min-width: 100%;
      height: 300px;
      background-size: cover;
      background-position: center;
    }

    @media (min-width: 768px) {
      .slide {
        height: 500px;
      }
    }

    /* Responsividade das imagens da loja */
    .imagem-hover {
      position: relative;
      display: inline-block;
      max-width: 100%;
    }

    .imagem-hover img {
      width: 100%;
      height: auto;
      display: block;
      transition: opacity 0.3s;
      border-radius: 10px;
    }

    .imagem-hover .img-back {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
    }

    .imagem-hover:hover .img-front {
      opacity: 0;
    }

    .imagem-hover:hover .img-back {
      opacity: 1;
    }

    .botao-loja {
      margin-top: 1rem;
    }

    .botao-loja button {
      padding: 10px 20px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 8px;
      transition: background-color 0.3s;
    }

    .botao-loja button:hover {
      background-color: #0056b3;
    }

    /* WhatsApp flutuante */
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #25d366;
      color: white;
      padding: 12px 15px;
      border-radius: 50px;
      text-decoration: none;
      font-size: 16px;
      z-index: 999;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    @media (max-width: 576px) {
      .botao-loja button {
        width: 100%;
      }

      .whatsapp-float {
        font-size: 14px;
        padding: 10px 12px;
      }



      .footer{
        height:400px;
      }

      .custom-footer {
  background-color: #f55a3c;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 40px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  text-align: left;
  padding: 0 20px;
  border-bottom: 1px solid #fff;
  gap: 20px;
}

.footer-section {
  flex: 1;
  padding: 0 20px;
}

.footer-section p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #fff;
}

.footer-section img {
  width: 24px;
  margin: 0 8px;
  filter: brightness(0) invert(1);
}

.arrow-icon {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
}

.footer-middle {
  padding: 20px;
  font-size: 14px;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #222;
  color: #fff;
  padding: 12px;
  font-size: 13px;
  margin-top: 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    border-bottom: 1px solid #fff;
  }

  .footer-section {
    border: none !important;
    padding: 10px 0;
  }
}
    }
  
