@charset "utf-8";
/* CSS Document */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #752900;
  background: #F4D79A;
  margin: 0;
}

/* Header */
header {
  max-width: 1280px;
  margin: 0 auto;
  background: url('immagini/foto-prova9.png') no-repeat center center;
  background-size:cover;
  padding: 20px 10px 70px;
  position: relative;
  border-radius: 5px;
  border-bottom: 2px solid #752900;	
  z-index: 999;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.1);
}

/* Container header */
.header-container {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo {
  height: 250px;
  position: inherit;
  z-index: 5;
}

/* Navigazione */
nav {
  display: flex;
  gap: 5px;
  z-index: 10;
}

nav a {
  color: #752900;
  text-decoration: none;
  font-weight: bold;
	font-size: 20px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s;
}

nav a:hover {
  background: #752900;
  color: #F4D79A;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #752900;
  border-radius: 1.5px;
  transition: all 0.3s ease;
}

/* Social bar */
.social-bar-header {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 18px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  z-index: 1;
}

.social-bar-header a {
  font-size: 1.7em;
  transition: transform 0.2s, color 0.3s;
}

.social-bar-header a:hover {
  transform: scale(1.3);
}

.social-bar-header .facebook { color: #1877F2; }
.social-bar-header .instagram { color: #E4405F; }
.social-bar-header .youtube { color: #FF0000; }
.social-bar-header .linkedin { color: #0A66C2; }
.social-bar-header .mail { color: #752900; }
.social-bar-header .whatsapp { color: #25D366; }

/* Sezioni */
section {
  max-width: 1280px;
  margin: 30px auto;
  background: transparent;
  padding: 20px;
  border-radius: 5px;
  border-bottom: 2px solid #752900;
}

h2 {
  color: #752900;
  margin-bottom: 15px;
}

/* Footer */
footer {
  max-width: 1280px;
  background-color: #F4D79A;
  color: #752900;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9em;
  border-top: 2px solid #752900;
  margin: 0 auto;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 600px) {
  .header-container {
    flex-wrap: wrap;
  }

  .logo {
    height: 150px;
    order: 2;
    margin-top: 10px;
	}

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
    order: 3;
    background-color: #F4D79A;
    border-radius: 5px;
    padding: 10px 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 12px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  nav a:first-child {
    border-top: none;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .social-bar-header {
    position: static;
    transform: none;
    padding: 10px 0 0 0;
    width: 100%;
  }
}
