/* ====== FIERA ELETTRONICA ROVIGO - CORE & LAYOUT ====== */

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

p { 
  color: #666666; 
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.center-ott {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mt20 { margin-top: 20px; }
.mt120 { margin-top: 120px; }

/* ====== NAVIGATION ====== */
.reptil-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 3px solid #f47200;
  box-shadow: 0 4px 20px rgba(244, 114, 0, 0.15);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-brand {
  color: #f47200;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand-text {
  background: linear-gradient(45deg, #f47200, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 16px;
}

.nav-link:hover {
  color: #f47200;
  background: rgba(244, 114, 0, 0.08);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f47200;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #f47200;
  transition: 0.3s;
  border-radius: 3px;
}

/* ====== HERO BANNER ====== */
.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
}

.hero-image {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
	
}

.hero-overlay {
    position: absolute;
    top: 0%;
    left: 32%;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  animation: heroFadeIn 2s ease-out;
}

.hero-title {
	font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #f47200, #ff8533, #f47200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleGlow 3s 
	ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 3.5rem;
  color: #00569f;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  color: #495057;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.btn-hero.primary {
  background: linear-gradient(45deg, #f47200, #ff8533);
  color: white;
  box-shadow: 0 8px 25px rgba(244, 114, 0, 0.3);
}

.btn-hero.secondary {
  background: transparent;
  color: #00569f;
  border: 2px solid #00569f;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(244, 114, 0, 0.4);
}

.btn-hero.primary:hover {
  background: linear-gradient(45deg, #ff8533, #f47200);
}

.btn-hero.secondary:hover {
  background: #00569f;
  color: white;
}

/* ====== MAIN CONTENT ====== */
.main-wrapper {
  margin-top: 0;
     min-height: 85vh;
}

.page-content {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.content-section {
  padding: 5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.content-section-page {
  padding: 12rem 0;
  position: relative;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.content-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.content-section.alternate {
  background: #f8f9fa;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #f47200, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.section-title-small {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #f47200, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title-small::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #f47200, #ff8533);
  border-radius: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(45deg, #f47200, #ff8533);
  border-radius: 2px;
}

.intro-text {
  font-size: 1rem;
  text-align: center;
  color: #666666;
  margin-bottom: 3rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.intro-text-two {
  font-size: 1.3rem;
  text-align: center;
  color: #666666;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.highlight-text {
  font-size: 1.4rem;
  color: #333333;
  line-height: 1.8;
}

.highlight-text strong {
  color: #f47200;
  font-weight: 700;
}

/* ====== CONTENT GRID ====== */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.content-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.animated-icon {
  font-size: 8rem;
  animation: float 3s ease-in-out infinite;
  transition: all 0.5s ease;
  color: #f47200;
}

/* ====== FOOTER ====== */
.reptil-footer {
  background: #f47200;
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-top:10px;
  border-radius: 15px;
}

.footer-content p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.footer-subtitle {
  color: white;
  font-weight: 600;
}

/* ====== ANIMATIONS ====== */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 20px rgba(244, 114, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 30px rgba(244, 114, 0, 0.6), 0 0 40px rgba(244, 114, 0, 0.2);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ====== LINK STYLING ====== */
a, a:focus, a:active {
  outline: none !important;
  text-decoration: none;
}

.icon-line {
  vertical-align: middle;
}

/* ====== ADMIN ELEMENTS ====== */
.admin-dashboard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(45deg, #00569f, #0066cc);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 10px;
}

.admin-dashboard-btn:hover {
  background: linear-gradient(45deg, #0066cc, #00569f);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.dashboard-icon {
  font-size: 14px;
}

/* ====== RESPONSIVE BASE ====== */
@media (max-width: 768px) {
  .hero-banner {
    height: auto;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
  }
  
  .hero-overlay {
    position: absolute;
    top: -1%;
    left: 0%;
    width: 102%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  
  .hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px 30px 0 0;
    margin-top: auto;
  }
  
  .hero-title {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .btn-hero {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    min-width: 250px;
  }
  
  /* Navigation Mobile */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    gap: 1rem;
    border-bottom: 2px solid #f47200;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Content sections mobile */
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .animated-icon {
    font-size: 4rem;
  }
  
  .dashboard-text {
    display: none;
  }
  
  .admin-dashboard-btn {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .content-section {
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
/* ====== FIERA ELETTRONICA ROVIGO - COMPONENTS ====== */

/* ====== FEATURES GRID ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(248, 249, 250, 0.9);
  border: 2px solid rgba(244, 114, 0, 0.2);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(244, 114, 0, 0.1), transparent);
  transition: all 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: #f47200;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 114, 0, 0.15);
  background: white;
}

.feature-icon {
  font-size: 3rem;
  display: block;
  color: #f47200;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #00569f;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ====== EXPO CATEGORIES ====== */
.expo-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.expo-categories-two {
  display: grid;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #e9ecef;
}

.category-item {
background: rgb(255 255 255 / 10%);
    border-radius: 10px;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #0053d5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    border: 1px solid rgba(244, 114, 0, 0.3);
}

.category-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(244, 114, 0, 0.2);
  background: white;
}

.category-item h3 {
  font-size: 1.5rem;
  color: #f47200;
  margin-bottom: 1rem;
  font-weight: 700;
}

.category-item p {
  color: #666666;
  line-height: 1.6;
}

/* ====== CATEGORY GRID ====== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.category {
  background: rgba(244, 114, 0, 0.1);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
  color: #00569f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
  border: 1px solid rgba(244, 114, 0, 0.3);
}

/* ====== DISCLAIMER BOX ====== */
.disclaimer-box {
  background: rgba(244, 114, 0, 0.08);
  border: 2px solid #f47200;
  border-radius: 15px;
  padding: 2rem;
  margin: 6rem 0;
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.disclaimer-box p {
  color: #666666;
  line-height: 1.8;
  font-size: 1rem;
}

.disclaimer-box strong {
  color: #f47200;
  font-weight: 700;
}

/* ====== CTA SECTION ====== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 70px;

}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #f47200, #ff8533);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align:center;
}

.cta-content p {
  font-size: 1.3rem;
  color: #666666;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 220px;
  text-align: center;
}

.btn-cta.primary {
  background: linear-gradient(45deg, #f47200, #ff8533);
  color: white;
  box-shadow: 0 8px 25px rgba(244, 114, 0, 0.3);
}

.btn-cta.secondary {
  background: transparent;
  color: #00569f;
  border: 2px solid #00569f;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(244, 114, 0, 0.3);
}

.btn-cta.secondary:hover {
  background: #00569f;
  color: white;
}

/* ====== INFO CARDS ====== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.info-card {
  background: white;
  border: 2px solid #f47200;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 114, 0, 0.15);
}

.info-card h3 {
  color: #f47200;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.big-text {
  font-size: 1.3rem;
  color: #333333;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.highlight {
  color: #00569f;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-map {
  display: inline-block;
  background: linear-gradient(45deg, #00569f, #0066cc);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.btn-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 86, 159, 0.3);
}

/* ====== PRICING TABLE ====== */
.pricing-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin: 2rem 0;
  border: 2px solid #f47200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0fr;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.price-row.header {
  background: #f47200;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.price-row:not(.header):nth-child(even) {
  background: rgba(244, 114, 0, 0.05);
}

/* ====== FORMS ====== */
.download-form, .contact-form {
  background: white;
  border: 2px solid #f47200;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #f47200;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
    padding: 0.52rem;
    border: 1px solid #dd863b;
    border-radius: 10px;
  color: #333333;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f47200;
  outline: none;
  box-shadow: 0 0 10px rgba(244, 114, 0, 0.1);
}

.btn-download, .btn-send {
  background: linear-gradient(45deg, #f47200, #ff8533);
  color: white;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-download:hover, .btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 114, 0, 0.3);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

/* ====== BENEFITS GRID ====== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-card {
  background: white;
  border: 2px solid #f47200;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(244, 114, 0, 0.15);
}

.benefit-card h4 {
  color: #f47200;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.benefit-card p {
  color: #666666;
  line-height: 1.5;
}

/* ====== CONTACT INFO ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.contact-info {
  background: white;
  border: 2px solid #f47200;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  color: #f47200;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 2rem 0;
  text-align: center;
  border-bottom: 2px solid #f47200;
  padding-bottom: 1rem;
}

.contact-item {
  margin-bottom: 0.5rem;
  color: #333333;
  line-height: 1.6;
}

.contact-item strong {
  color: #f47200;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-item a {
  color: #00569f;
  text-decoration: none;
}

.contact-item a:hover {
  color: #f47200;
  text-decoration: underline;
}

/* ====== MAINTENANCE ELEMENTS ====== */
.maintenance-indicator {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 999;
}

.maintenance-bell {
  background: white;
  border: 2px solid #f47200;
  border-radius: 25px;
  padding: 8px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.maintenance-bell:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(244, 114, 0, 0.2);
}

.maintenance-bell.maintenance-on {
  background: #e8f5e8;
  border-color: #4CAF50;
  width: 159px;
  float: right;
}

.maintenance-bell.maintenance-off {
  background: #ffeaea;
  border-color: #f44336;
  animation: pulse-red 2s infinite;
  width: 159px;
  float: right;
}

.bell-icon {
  font-size: 16px;
  animation: ring 3s infinite;
  color: #f47200;
}

.maintenance-text {
  color: #333333;
  font-size: 12px;
  font-weight: bold;
}

.maintenance-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
}

.maintenance-off .maintenance-status-dot {
  background: #f44336;
}

@keyframes ring {
  0%, 20%, 40%, 60%, 80%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(10deg); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2); }
  50% { box-shadow: 0 6px 25px rgba(244, 67, 54, 0.4); }
}

/* ====== RESPONSIVE COMPONENTS ====== */
@media (max-width: 768px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .expo-categories {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-section {
    padding: 40px 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .feature-card, .category-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
  }
}
/* ====== FIERA ELETTRONICA ROVIGO - ADMIN & ESPOSITORI ====== */

/* ====== ELENCO ESPOSITORI ====== */
.espositori-layout {
  display: grid;
  grid-template-columns: 355px 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* ====== SIDEBAR FILTRI ====== */
.filtri-sidebar {
  background: white;
  border: 2px solid #f47200;
  border-radius: 20px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-box h3, .filtri-section h3, .ordina-section h3 {
  color: #f47200;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.search-input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  color: #333333;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #f47200;
  outline: none;
  box-shadow: 0 0 10px rgba(244, 114, 0, 0.1);
}

.ordina-select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  color: #333333;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ordina-select:focus {
  border-color: #f47200;
  outline: none;
}

.tags-container {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.tag-filter {
  display: inline-block;
  background: white;
  color: #666666;
  padding: 6px 12px;
  margin: 4px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  user-select: none;
}

.tag-filter:hover,
.tag-filter.active {
  background: #f47200;
  color: white;
  transform: translateY(-1px);
  border-color: #f47200;
}

.tags-container::-webkit-scrollbar {
  width: 6px;
}

.tags-container::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 3px;
}

.tags-container::-webkit-scrollbar-thumb {
  background: #f47200;
  border-radius: 3px;
}

.tags-container::-webkit-scrollbar-thumb:hover {
  background: #ff8533;
}

/* ====== GRIGLIA ESPOSITORI ====== */
.espositori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

/* ====== CARD ESPOSITORI MODERNE ====== */
.espositore-card-modern {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 350px;
}

.espositore-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(244, 114, 0, 0.15);
  border-color: #f47200;
}

/* Header con immagine */
.card-header {
  height: 150px;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.exhibitor-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.espositore-card-modern:hover .exhibitor-image {
  transform: scale(1.05);
}

.default-image {
  background: linear-gradient(45deg, #f8f9fa, #ffffff);
  opacity: 0.7;
}

/* Overlay admin */
.admin-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.espositore-card-modern:hover .admin-overlay {
  opacity: 1;
}

.admin-btn {
  width: 32px;
  height: 32px;
  background: rgba(244, 114, 0, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  font-size: 14px;
}

.admin-btn:hover {
  background: #f47200;
  transform: scale(1.1);
}

.edit-btn:hover {
  background: #4CAF50;
}

.link-btn:hover {
  background: #2196F3;
}

/* Content area */
.card-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exhibitor-name {
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exhibitor-info {
  color: #00569f;
  font-size: 12px;
  line-height: 1.4;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sezione prodotti/specie */
.species-section {
  margin-top: auto;
}

.species-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 56px;
  overflow: hidden;
  align-items: flex-start;
}

.species-tags .tag {
  background: linear-gradient(45deg, #f47200, #ff8533);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.species-tags .tag-more {
  background: #666;
  color: white;
  cursor: pointer;
  position: relative;
}

.species-tags .tag-more:hover {
  background: #888;
}

.species-tags .no-species {
  color: #999999;
  font-style: italic;
  font-size: 11px;
  padding: 4px 8px;
}

/* ====== CTA ESPOSITORI ====== */
.espositori-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #f47200;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.espositori-cta h3 {
  color: #f47200;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.espositori-cta p {
  color: #666666;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-cta-esp {
  display: inline-block;
  background: linear-gradient(45deg, #f47200, #ff8533);
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-cta-esp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(244, 114, 0, 0.3);
}

/* ====== MESSAGGI E LOADING ====== */
.loading-message, .no-exhibitors {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #666666;
  background: white;
  border-radius: 12px;
  border: 2px solid #e9ecef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.loading-message h3, .no-exhibitors h3 {
  color: #f47200;
  margin: 0;
  font-size: 18px;
}

/* ====== ADMIN POPUPS ====== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid #f47200;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-header {
  background: #f47200;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.popup-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.popup-form {
  padding: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  color: #f47200;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  color: #333333;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f47200;
}

.switches-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 15px 0;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 15px 0;
}

.switch-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #f47200;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.btn-cancel {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-save {
  background: #f47200;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-add-exhibitor {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #f47200;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(244, 114, 0, 0.3);
  z-index: 100;
}

.btn-add-exhibitor:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 114, 0, 0.4);
}

/* ====== GESTIONE RAPIDA ====== */
.quick-manager-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(45deg, #00569f, #0066cc);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 86, 159, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  white-space: nowrap;
}

.quick-manager-btn:hover {
  background: linear-gradient(45deg, #0066cc, #00569f);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 159, 0.4);
}

.quick-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.quick-modal-content {
  background: white;
  border: 2px solid #f47200;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.quick-modal-header {
  background: #f47200;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f47200;
}

.quick-modal-header h3 {
  color: white;
  margin: 0;
  font-size: 18px;
}

.quick-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.quick-modal-close:hover {
  color: #333;
}

.quick-search-bar {
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.quick-search-bar input {
  width: 100%;
  padding: 10px 15px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #333333;
  font-size: 14px;
}

.quick-search-bar input:focus {
  outline: none;
  border-color: #f47200;
  box-shadow: 0 0 5px rgba(244, 114, 0, 0.2);
}

.quick-exhibitors-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
  min-height: 300px;
}

.quick-exhibitor-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s ease;
}

.quick-exhibitor-item:hover {
  border-color: #f47200;
}

.quick-exhibitor-info {
  flex: 1;
}

.quick-exhibitor-name {
  color: #333333;
  font-weight: 600;
  margin-bottom: 5px;
}

.quick-exhibitor-details {
  color: #666;
  font-size: 12px;
}

.quick-exhibitor-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quick-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.quick-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.quick-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.quick-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .quick-slider {
  background-color: #f47200;
}

input:checked + .quick-slider:before {
  transform: translateX(26px);
}

.quick-switch-label {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
  text-align: center;
  display: block;
}

.quick-modal-footer {
  background: #f8f9fa;
  padding: 15px 20px;
  border-top: 1px solid #e9ecef;
  text-align: right;
}

.btn-quick-cancel {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.btn-quick-cancel:hover {
  background: #5a6268;
}

.loading-quick {
  text-align: center;
  color: #666;
  padding: 40px;
  font-style: italic;
}

/* ====== RESPONSIVE ADMIN ====== */
@media (max-width: 1024px) {
  .espositori-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .filtri-sidebar {
    position: static;
  }
  
  .espositori-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .espositori-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .filtri-sidebar {
    padding: 1.5rem;
  }
  
  .admin-overlay {
    opacity: 1; /* Sempre visibile su mobile */
  }
  
  .admin-btn {
    width: 28px;
    height: 28px;
  }
  
  .exhibitor-name {
    font-size: 15px;
    min-height: 38px;
  }
  
  .quick-modal-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .quick-exhibitor-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .quick-exhibitor-controls {
    width: 100%;
    justify-content: space-around;
  }
  
  .quick-manager-btn {
    bottom: 15px;
    left: 15px;
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 580px) {
  .espositori-grid {
    grid-template-columns: repeat(auto-fill, 280px);
    justify-content: center;
  }
}

@media (max-width: 320px) {
  .espositori-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}