/* 
 * Artproject.it web agency - AURUMPRO SRL
 */

:root {
  --color-gold: #fab532;
  --color-gold-hover: #e09f22;
  --color-gold-light: #fef4e2;
  --color-dark-green: rgb(29, 27, 25);
  --color-dark-green-deep: #2b2520;
  --color-dark-green-light: #2a523e;
  --color-beige: #f8f3ec;
  --color-beige-dark: #eee8dc;
  --color-dark-bg: #121814;
  --color-card-dark: #19221b;
  --color-text-dark: #1d1d1b;
  --color-text-muted: #6b7280;
  --color-white: #ffffff;
  --font-main: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--color-gold) !important;
}

a {
  color:  rgb(49, 44, 40);
  font-weight: 500;
  text-decoration: none;
}

a:hover, a:focus {
  color:  rgb(77, 61, 48);
}



.text-dark-green {
  color: var(--color-dark-green) !important;
}

.bg-gold {
  background-color: var(--color-gold) !important;
}

.bg-dark-green {
  background-color: #efe7db !important;
  color: #1d1d1b !important;
}

.page-header-banner {
  background: linear-gradient(rgba(248, 243, 236, 0.938), rgba(233, 223, 205, 0.938)), url('../images/banner-bg.webp') center/cover no-repeat !important;
  color: #1d1d1b !important;
}

.bg-dark-green-deep {
  background-color: var(--color-dark-green-deep) !important;
}

.bg-beige {
  background-color: var(--color-beige) !important;
}

.bg-dark-section {
  background-color: var(--color-dark-bg) !important;
  color: var(--color-white);
}

/* Custom Buttons */
.btn-gold {
  background-color: var(--color-gold);
  color: #111;
  font-weight: 600;
  border: 1px solid var(--color-gold);
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(250, 181, 50, 0.25);
}

.btn-gold:hover, .btn-gold:focus {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(250, 181, 50, 0.4);
}

.btn-dark-green {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  font-weight: 600;
  border: 1px solid var(--color-dark-green);
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-dark-green:hover, .btn-dark-green:focus {
  background-color: var(--color-dark-green-deep);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  /* background-color: transparent; */
  background-color: #ffffff;
  color: var(--color-dark-green);
  border: 2px solid var(--color-gold);
  font-weight: 600;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: #111;
  transform: translateY(-2px);
}

/* Topbar Contact Header */
.top-bar {
  background-color: var(--color-dark-green-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(250, 181, 50, 0.2);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--color-gold);
}

/* Navbar */
.navbar-custom {
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-custom .nav-link {
  color: var(--color-text-dark);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--color-gold);
}

.dropdown-menu {
  border: 1px solid rgba(250, 181, 50, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 0.5rem 0;
  background-color: var(--color-white);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Open dropdown on hover for desktop screens */
@media (min-width: 992px) {
  .navbar-custom .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0;
    transform: translateY(0);
  }
}

.dropdown-item {
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  color: var(--color-text-dark);
}

.dropdown-item:hover, .dropdown-item.active {
  background-color: var(--color-beige);
  color: var(--color-dark-green);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 41, 36, 0.9) 0%, rgba(18, 24, 20, 0.92) 100%), url('https://images.unsplash.com/photo-1610375461246-83df859d849d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--color-white);
  padding: 4.5rem 0 3.5rem;
  border-bottom: 3px solid var(--color-gold);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(250, 181, 50, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Live Pulse Dot */
.live-pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ===================================================
 * QUOTATION SPECCHIETTO (FOCAL POINT - HOMEPAGE)
 * Based directly on user reference screenshot
 * =================================================== */
.quotations-container {
  background-color: #121814;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(250, 181, 50, 0.25);
}

.quotation-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quotation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(250, 181, 50, 0.25);
  border-color: var(--color-gold);
}

/* Gold Header Box */
.quotation-card .card-header-gold {
  background: linear-gradient(180deg, #fbc656 0%, #fab532 100%);
  color: #111;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.6rem 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #d49b29;
}

/* Silver Header Box */
.quotation-card .card-header-silver {
  background: linear-gradient(180deg, #e5e7eb 0%, #cbd5e1 100%);
  color: #1e293b;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.6rem 0.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #94a3b8;
}

/* Card Body - Dark Background with white numbers */
.quotation-card .card-body-dark {
  background-color: #0b0e0c;
  padding: 1rem 1.2rem;
  color: #ffffff;
  position: relative;
}

.quotation-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-max-container {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.price-max-label {
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.price-max-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.price-min-container {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.price-min-label {
  font-style: italic;
  font-size: 0.875rem;
  color: #94a3b8;
}

.price-min-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: #cbd5e1;
}

.price-unit {
  font-size: 0.95rem;
  font-style: italic;
  color: #fab532;
  font-weight: 600;
}

/* Calculator Card */
.calculator-box {
  background: #efe7db;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1.75rem;
  color: #1d1d1b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.calculator-box label {
  font-weight: 600;
  color: #1d1d1b;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.calculator-box .form-control,
.calculator-box .form-select {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1d1d1b;
  padding: 0.65rem 1rem;
  font-size: 1rem;
}

.calculator-box .form-control:focus,
.calculator-box .form-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.25rem rgba(250, 181, 50, 0.25);
  background-color: #ffffff;
  color: #1d1d1b;
}

.result-display-box {
  background-color: #ffffff;
  border: 2px dashed var(--color-gold);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.result-display-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: #1b3b2b;
}

/* Feature & Service Cards */
.feature-box {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.icon-wrapper-gold {
  width: 60px;
  height: 60px;
  background-color: var(--color-gold-light);
  color: var(--color-dark-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(250, 181, 50, 0.4);
}

/* Graphical Timeline - Storia */
.timeline-graphic {
  position: relative;
  padding-left: 2.2rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-graphic::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 17px;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-gold), #efe7db);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.2rem;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #efe7db;
  border: 2px solid var(--color-gold);
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.timeline-content {
  background-color: #efe7db;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.25rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.timeline-badge {
  display: inline-block;
  background-color: var(--color-gold);
  color: #111;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.timeline-text {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Sedi Locations Cards & Maps */
.location-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.location-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(27, 59, 43, 0.12);
}

.location-header {
  background-color: var(--color-gold);
  color: #1d1d1b;
  padding: 1.25rem 1.5rem;
  border-bottom: 3px solid var(--color-gold);
}

.location-header h3 {
  color: #1d1d1b !important;
}

.location-header span {
  color: #524c48 !important;
}

.map-container {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #e5e7eb;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Testimonials / Trust Section */
.trust-badge {
  background-color: var(--color-beige);
  border: 1px solid var(--color-beige-dark);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

/* Process Step Cards */
.step-number {
  width: 44px;
  height: 44px;
  background-color: var(--color-gold);
  color: #111;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: var(--color-dark-bg);
  color: rgba(255, 255, 255, 0.75);
  border-top: 3px solid var(--color-gold);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--color-gold);
}

.footer-logo {
  height: 45px;
  width: auto;
}

/* Footer OAM & Operatore Oro Logos in White (Aumentati del 20%) */
.footer-oam-logo {
  height: 45px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-oam-logo:hover {
  opacity: 1;
  transform: translateX(3px);
}

/* Floating WhatsApp & Scroll To Top Widgets */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  line-height: 1 !important;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:active {
  transform: scale(1.1);
  color: #ffffff !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  line-height: 1;
  display: block;
  text-decoration: none !important;
}

/* Scroll To Top Button (positioned above WhatsApp float) */
.scroll-top-btn {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: var(--color-dark-green);
  color: var(--color-gold);
  border: 2px solid var(--color-gold) !important;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none !important;
  outline: none !important;
  line-height: 1 !important;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
  background-color: var(--color-gold);
  color: #111111 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(250, 181, 50, 0.4);
  text-decoration: none !important;
}

.scroll-top-btn i {
  line-height: 1;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-custom .navbar-brand img {
    height: 38px !important; /* 20% più piccolo rispetto ai 48px per schermi mobile */
  }

  .navbar-custom .navbar-collapse.show {
    display: block !important;
  }

  .navbar-custom .navbar-collapse {
    background-color: var(--color-white);
    padding: 1rem;
    margin-top: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }
  .price-max-value {
    font-size: 1.9rem;
  }
}

@media (max-width: 575.98px) {
  .price-max-value {
    font-size: 1.7rem;
  }
  .quotations-container {
    padding: 1rem;
  }
}

/* ===================================================
   SPECCHIETTO PROCESSO D'ACQUISTO (INVESTI LINGOTTI)
   =================================================== */
.process-specchietto {
  max-width: 960px;
  margin: 0 auto;
}

.process-step-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--color-beige-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-green);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.process-step-circle:hover {
  background-color: var(--color-gold-light);
  color: var(--color-gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(250, 181, 50, 0.2);
}

.process-step-title {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-dark-green);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.process-step-title strong {
  font-weight: 800;
}

.process-step-text {
  font-size: 1.05rem;
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 600px;
}

.process-divider {
  border: 0;
  border-top: 1px solid var(--color-beige-dark);
  margin: 2.5rem 0;
  opacity: 0.8;
}

@media (max-width: 767.98px) {
  .process-step-circle {
    width: 120px;
    height: 120px;
  }
  .process-step-circle svg {
    width: 48px;
    height: 48px;
  }
  .process-step-title {
    font-size: 1.5rem;
  }
  .process-step-text {
    font-size: 0.95rem;
  }
}

