/* =====================================================
   PAGE.CSS — Stili pagine interne
   ===================================================== */

/* PAGE HERO */
.page-hero {
  height: 320px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #111;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
  margin-top: 66px;
}

.page-hero-dark {
  background-image: linear-gradient(135deg, #111 0%, #333 100%);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('negozio.jpg');
  background-size: cover;
  background-position: center 50%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  color: #fff;
}

.breadcrumb {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb a:hover {
  color: #2ea3f2;
}

.page-hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* PAGE CONTENT */
.page-content {
  padding: 80px 0;
}

.page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.page-intro h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  line-height: 1.3;
}

.lead {
  font-size: 16px;
  color: #111;
  line-height: 1.8;
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.content-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 28px 0 12px;
}

.content-text h3:first-child {
  margin-top: 0;
}

.content-text p {
  font-size: 14px;
  color: #111;
  line-height: 1.8;
  margin-bottom: 14px;
}

.highlight-box {
  background: #f5f9fd;
  border-left: 3px solid #2ea3f2;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  color: #555;
  line-height: 2;
}

/* SIDEBAR */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 22px 20px;
}

.info-box-blue {
  background: #2ea3f2;
  border-color: #2ea3f2;
  color: #fff;
}

.info-box-blue h4 {
  color: #fff;
}

.info-box-blue p {
  color: rgba(255,255,255,0.9);
}

.info-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.info-box-blue h4 {
  border-bottom-color: rgba(255,255,255,0.3);
}

.info-box p {
  font-size: 13px;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.6;
}

.info-box address {
  font-size: 13px;
  color: #111;
  line-height: 1.6;
  margin-bottom: 8px;
}

.info-box a {
  color: #2ea3f2;
}

.info-box-blue a {
  color: #fff;
}

.info-box-blue h4,
.info-box-blue p,
.info-box-blue address {
  color: #fff;
}

.hours-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 5px 0;
  color: #111;
  vertical-align: top;
}

.hours-table td:first-child {
  font-weight: 600;
  color: #111;
  width: 55%;
}

.check-list {
  list-style: none;
}

.check-list li {
  font-size: 13px;
  color: #111;
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2ea3f2;
  font-weight: 700;
}

/* YAMAHA BANNER */
.yamaha-banner {
  margin-top: 60px;
  overflow: hidden;
}

.yamaha-banner img {
  width: 100%;
  height: auto;
}

/* ACTIVE NAV */
#top-menu .active {
  color: #2ea3f2 !important;
}

/* FEATURED SECTION */
.featured-section {
  margin-top: 70px;
  padding-top: 60px;
  border-top: 1px solid #eee;
}

.featured-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 36px;
}

/* VENTAJAS (servicio tecnico) */
.ventajas-section {
  background: #f4f4f4;
  padding: 80px 0;
}

.ventajas-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.ventaja-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s;
}

.ventaja-item:hover {
  border-bottom-color: #2ea3f2;
}

.ventaja-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.ventaja-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ventaja-item p {
  font-size: 13px;
  color: #111;
  line-height: 1.7;
}

/* CONTACTO */
.contact-depts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.dept-card {
  background: #f8f8f8;
  padding: 30px 24px;
  border-top: 3px solid #2ea3f2;
  text-align: center;
}

.dept-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.dept-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.dept-card address {
  font-size: 13px;
  color: #111;
  line-height: 1.6;
  margin-bottom: 12px;
}

.dept-phone {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.dept-phone a {
  color: #111;
}

.dept-phone a:hover {
  color: #2ea3f2;
}

.dept-email {
  font-size: 12px;
  margin-bottom: 14px;
}

.dept-email a {
  color: #111;
  word-break: break-all;
}

.dept-hours {
  font-size: 12px;
  color: #111;
  line-height: 1.8;
  border-top: 1px solid #ddd;
  padding-top: 14px;
  margin-top: 14px;
  text-align: left;
}

/* FORM + MAP GRID */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap h3,
.contact-map-wrap h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.contact-form-wrap > p,
.contact-map-wrap > p {
  font-size: 14px;
  color: #111;
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #111;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2ea3f2;
}

.form-group textarea {
  resize: vertical;
}

.form-check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #111;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-submit {
  display: inline-block;
  padding: 14px 36px;
  background: #2ea3f2;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid #2ea3f2;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: transparent;
  color: #2ea3f2;
}

.map-embed iframe {
  display: block;
  margin-bottom: 24px;
}

.how-to-get h4 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.how-to-get p {
  font-size: 13px;
  color: #111;
}

/* =====================================================
   RESPONSIVE PAGINE INTERNE
   ===================================================== */

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .page-hero { height: 240px; }
  .page-hero-content { width: 92%; }
  .page-hero-content h1 { font-size: 28px; }

  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { order: -1; }

  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-depts { grid-template-columns: 1fr; }

  .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
}

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

@media (max-width: 768px) {
  .page-hero { height: 220px; padding-bottom: 24px; }
  .page-hero-content h1 { font-size: 26px; }
  .breadcrumb { font-size: 12px; }

  .page-content { padding: 50px 0; }

  .form-row { grid-template-columns: 1fr; }

  .ventajas-grid { grid-template-columns: 1fr 1fr; }

  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div:last-child { min-height: 220px; }

  .info-boxes { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: 1fr; }
  .servizi-cta-box { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .ventajas-grid { grid-template-columns: 1fr; }
  .page-hero { height: 200px; }
  .page-hero-content h1 { font-size: 22px; }
}

@media (max-width: 425px) {
  .page-hero { height: 190px; margin-top: 56px; }
  .page-hero-content h1 { font-size: 20px; }
  .page-intro h2 { font-size: 22px; }
  .page-intro p { font-size: 14px; }
  .page-content { padding: 40px 0; }
  .info-box { padding: 16px 14px; }
  .hours-table td, .hours-table th { font-size: 12px; padding: 6px 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  .page-hero { height: 170px; }
  .page-hero-content h1 { font-size: 18px; }
  .page-hero-content { width: 94%; }
  .page-intro h2 { font-size: 20px; }
  .content-main h2 { font-size: 20px; }
}

@media (max-width: 320px) {
  .page-hero { height: 150px; padding-bottom: 16px; }
  .page-hero-content h1 { font-size: 16px; letter-spacing: 1px; }
  .page-intro { padding: 30px 0; }
  .page-intro h2 { font-size: 18px; }
  .page-content { padding: 30px 0; }
  .info-box { padding: 12px 10px; }
  .map-wrap iframe { height: 220px; }
}

/* =====================================================
   PRIVACY POLICY
   ===================================================== */
.privacy-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.privacy-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-top: 48px;
  margin-bottom: 14px;
}

.privacy-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin-top: 28px;
  margin-bottom: 10px;
}

.privacy-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 14px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.privacy-content ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 6px;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 13px;
}

.privacy-content table th {
  background: #f4f4f4;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  color: #222;
  border: 1px solid #ddd;
}

.privacy-content table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  color: #444;
  vertical-align: top;
}

.privacy-content .last-update {
  font-size: 12px;
  color: #999;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .privacy-content { padding: 40px 0 60px; }
  .privacy-content h2 { font-size: 20px; }
  .privacy-content table { font-size: 12px; }
  .privacy-content table th,
  .privacy-content table td { padding: 8px; }
}

/* =====================================================
   CHI SIAMO — TEAM
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 48px 0;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #1a1a1a;
  margin: 0 auto 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #555;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 13px;
  color: #888;
}

/* RECENSIONI */
.reviews-section {
  background: #f7f7f7;
  padding: 60px 0;
  margin-top: 60px;
}
.reviews-header {
  text-align: center;
  margin-bottom: 40px;
}
.reviews-header .google-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 28px;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.google-logo {
  font-size: 22px;
  font-weight: 800;
  color: #4285F4;
}
.google-logo span:nth-child(2) { color: #EA4335; }
.google-logo span:nth-child(3) { color: #FBBC05; }
.google-logo span:nth-child(4) { color: #4285F4; }
.google-logo span:nth-child(5) { color: #34A853; }
.google-logo span:nth-child(6) { color: #EA4335; }
.stars-big {
  color: #FBBC05;
  font-size: 22px;
  letter-spacing: 2px;
}
.rating-num {
  font-size: 28px;
  font-weight: 800;
  color: #333;
  line-height: 1;
}
.rating-count {
  font-size: 13px;
  color: #888;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2ea3f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.reviewer-name {
  font-weight: 700;
  font-size: 14px;
  color: #333;
}
.reviewer-date {
  font-size: 12px;
  color: #aaa;
}
.review-stars {
  color: #FBBC05;
  font-size: 15px;
  margin-bottom: 10px;
}
.review-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
}
.reviews-cta {
  text-align: center;
  margin-top: 36px;
}
.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #4285F4;
  color: #4285F4;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-google:hover {
  background: #4285F4;
  color: #fff;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #aaa;
  cursor: pointer;
}
.gallery-item-icon {
  font-size: 36px;
  opacity: 0.5;
}
.gallery-item-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #bbb;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* LIGHTBOX */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
#lightbox-close:hover { opacity: 1; }
#lightbox-prev, #lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 44px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  user-select: none;
  padding: 10px;
}
#lightbox-prev:hover, #lightbox-next:hover { opacity: 1; }
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

/* =====================================================
   SERVIZI
   ===================================================== */
.servizi-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.servizi-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 14px;
}
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.servizio-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.servizio-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}
.servizio-icon {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}
.servizio-icon img {
  width: auto;
  height: 89px;
  object-fit: contain;
  display: block;
}
.servizio-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.3;
}
.servizio-card p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}
.servizi-cta-box {
  background: #111;
  border-radius: 6px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}
.servizi-cta-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.servizi-cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
}
.servizi-cta-box a {
  flex-shrink: 0;
}
