
/* style.css - Andrea's Home */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f5f7fa;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */

header {
  background: #0b7285;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.7rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav a:hover,
nav a.active {
  background: #e3fafc;
  color: #0b7285;
}

/* LAYOUT GENERALE */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

section {
  margin-bottom: 2.2rem;
}

section h1,
section h2 {
  color: #102a43;
}

section h1 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

section p {
  font-size: 0.97rem;
  margin-bottom: 0.4rem;
}

/* HERO HOME */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.badge {
  background: #e3fafc;
  color: #0b7285;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: #0b7285;
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background: #0e8597;
}

.btn-outline {
  border: 1px solid #0b7285;
  background: #ffffff;
  color: #0b7285;
}

.btn-outline:hover {
  background: #e3fafc;
}

.hero-image {
  border-radius: 1.2rem;
  min-height: 260px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CARD & GRID */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
}

/* GALLERIA FOTO */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.8rem;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

/* LISTE */

ul.features {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}

ul.features li {
  margin-bottom: 0.2rem;
}

/* CONTATTI BOX */

.contact-box {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  max-width: 550px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

/* FOOTER */

footer {
  background: #102a43;
  color: #cbd2e1;
  padding: 1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }
}

.big-logo{height:120px;}
