/* Avanti Printing - Styles  matching avantiprinting.com */
:root {
  --brand-blue: #2B7BC6;
  --brand-blue-dark: #1f5fa0;
  --brand-orange: #F89B2C;
  --brand-orange-dark: #e68917;
  --top-bar-bg: #e8e8e8;
  --text: #333;
  --bg: #ffffff;
  --max-w: 1000px;
  --nav-blue: #2B7BC6;
  --shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 14px/1.5 'Arial', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: var(--brand-blue);
  text-decoration: none
}

a:hover {
  opacity: .85
}

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 15px
}

/* Top bar with email and social */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #ddd
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px
}

.top-bar a {
  color: var(--text)
}

.top-email {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 16px
}

.top-email span:first-child {
  font-size: 18px
}

.social-icons {
  display: flex;
  gap: 12px
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #666;
  color: #666;
  transition: all .2s;
  font-size: 16px;
  font-weight: 700
}

.social-icon:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue)
}

/* Logo & Tagline area */
.logo-section {
  background: #fff;
  padding: 25px 0 10px
}

.logo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap
}

.logo-brand {
  display: flex;
  align-items: center
}

.logo-brand img {
  max-width: 190px;
  height: auto
}

.call-to-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 15px
}

.phone-icon {
  width: 65px;
  height: 65px;
  background: #ddd;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.phone-text {
  display: flex;
  flex-direction: column
}

.phone-label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  font-weight: 700;
  line-height: 1.4;
  color: #333
}

.phone-label .orange {
  color: #E67E00;
  font-weight: 700
}

.phone-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1.2
}

.tagline {
  font-size: 17px;
  color: #666;
  font-weight: 400;
  text-align: left;
  margin-top: 5px
}

.tagline .orange {
  color: #E67E00;
  font-weight: 700
}

.tagline .blue {
  color: #1a5a9c;
  font-weight: 700
}

/* Navigation */
.main-nav {
  background: #2980C9;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .15)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative
}

.nav-item {
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .4px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  transition: background .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative
}

.nav-item:hover {
  background: rgba(0, 0, 0, .1)
}

.nav-item.products {
  background: rgba(0, 0, 0, .15);
  gap: 8px
}

.nav-item.products::before {
  content: '☰';
  font-size: 16px
}

/* Mega Menu - Full width dropdown */
.nav-inner {
  position: relative;
}

.has-mega-menu {
  position: static;
  /* Let mega-menu position relative to .nav-inner */
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #2980C9;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 200;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

/* Show mega menu on hover */
.has-mega-menu:hover .mega-menu {
  display: grid;
}

.mega-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 0;
  display: block;
  text-transform: capitalize;
  transition: color 0.2s;
}

.mega-menu a:hover {
  color: #ffca28;
  /* Highlight color */
  text-decoration: underline;
}

/* Products Section */
.products-hero {
  padding: 40px 0;
  background: #fff
}

.products-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px
}

.products-title h1 {
  font-size: 34px;
  margin: 0
}

.products-title h1 .avanti {
  color: var(--brand-blue)
}

.products-title h1 .products {
  color: #E67E00
}

.products-title .diamond {
  color: var(--brand-orange);
  font-size: 20px
}

.quote-btn {
  background: #d32f2f;
  color: #fff;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #d32f2f;
  cursor: pointer;
  transition: all .2s
}

.quote-btn:hover {
  background: #b71c1c;
  box-shadow: 0 0 0 2px #b71c1c
}

.quote-btn.orange {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 2px var(--brand-orange);
}

.quote-btn.orange:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  box-shadow: 0 0 0 2px var(--brand-orange-dark);
}

/* Product Carousel */
.product-carousel {
  position: relative
}

.carousel-container {
  overflow: hidden
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform .4s ease
}

.product-card {
  flex: 0 0 220px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.product-card a {
  display: block;
  text-decoration: none;
  color: inherit
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  transition: opacity .2s
}

.product-card:hover img {
  opacity: .9
}

.product-label {
  padding: 10px;
  text-align: center;
  background: #fff;
  border-top: 3px solid var(--brand-orange)
}

.product-label h3 {
  margin: 0;
  font-size: 15px;
  color: var(--brand-blue);
  text-transform: uppercase;
  font-weight: 700
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all .2s;
  z-index: 10
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, .75)
}

.carousel-btn.prev {
  left: -20px
}

.carousel-btn.next {
  right: -20px
}

/* Services Section */
.services-section {
  background: #e8e8e8;
  padding: 35px 0
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 30px;
  font-weight: 700
}

.section-title .blue {
  color: var(--brand-blue)
}

.section-title .orange {
  color: #E67E00
}

.section-title .gray {
  color: #666
}

.section-title .diamond {
  color: var(--brand-orange);
  margin-left: 6px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 750px;
  margin: 0 auto
}

.service-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: block;
  text-decoration: none;
  color: inherit
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.service-card img {
  margin: 0 auto 12px;
  width: 70px;
  height: 70px;
  transition: transform .2s
}

.service-card:hover img {
  transform: scale(1.05)
}

.service-card h3 {
  margin: 0;
  font-size: 15px;
  color: var(--text)
}

/* Welcome Section */
.welcome-section {
  padding: 40px 0;
  background: #fff
}

.welcome-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 30px;
  align-items: start
}

.welcome-text h2 {
  font-size: 26px;
  color: #666;
  margin: 0 0 8px
}

.welcome-text h2 .blue {
  color: #1a5a9c
}

.welcome-text .diamond {
  color: var(--brand-orange);
  font-size: 16px;
  display: block;
  margin-bottom: 15px
}

.welcome-text p {
  line-height: 1.7;
  margin-bottom: 12px;
  color: #555;
  font-size: 13px
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap
}

.reviews-btn {
  background: #d32f2f;
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d32f2f;
  display: inline-block;
  font-size: 13px
}

.reviews-btn:hover {
  background: #b71c1c
}

.trust-badges img {
  height: 50px;
  width: auto
}

.custom-printing-promo {
  background: #fff;
  border: 2px solid #ddd;
  padding: 18px;
  text-align: center;
  border-radius: 6px
}

.custom-printing-promo h3 {
  font-size: 22px;
  color: #666;
  margin: 0 0 8px;
  font-weight: 700
}

.custom-printing-promo .promo-features {
  font-size: 12px;
  color: #666;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5
}

.custom-printing-promo img {
  margin: 15px auto 0;
  max-width: 100%
}

.order-btn {
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-bottom: 15px
}

.order-btn:hover {
  background: var(--brand-blue-dark)
}

/* Blog Section */
.blog-section {
  padding: 40px 0;
  background: #fff
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15)
}

.blog-card>a {
  display: block
}

.blog-card img {
  width: 100%;
  height: auto;
  transition: opacity .2s
}

.blog-card:hover img {
  opacity: .9
}

.blog-content {
  padding: 16px
}

.blog-content h3 {
  font-size: 17px;
  margin: 0 0 6px
}

.blog-content h3 a {
  color: var(--brand-blue);
  text-decoration: none
}

.blog-content h3 a:hover {
  text-decoration: underline
}

.blog-date {
  font-size: 11px;
  color: #999;
  margin: 0 0 10px;
  text-transform: uppercase
}

.blog-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 13px
}

.read-more {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  font-size: 13px
}

.read-more:hover {
  color: var(--brand-blue-dark)
}

/* Footer */
.footer {
  background: #fff;
  margin-top: 0
}

.footer-map-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: 380px;
  margin-bottom: 0
}

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

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%
}

.contact-box {
  background: var(--brand-orange);
  color: #fff;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.contact-box h2 {
  font-size: 36px;
  margin: 0 0 16px;
  font-weight: 700
}

.contact-box p {
  margin: 6px 0;
  font-size: 15px
}

.contact-box .address {
  font-size: 16px;
  margin-bottom: 12px
}

.contact-box .phone,
.contact-box .email {
  font-size: 15px
}

.contact-btn {
  display: inline-block;
  background: #fff;
  color: var(--brand-orange);
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-top: 16px;
  border: 3px solid var(--brand-orange);
  cursor: pointer
}

.contact-btn:hover {
  background: #f5f5f5
}

.footer-nav {
  background: #2d2d2d;
  padding: 18px 0;
  border-top: 1px solid #444
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0
}

.footer-links a {
  color: #ccc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 12px;
  border-right: 1px solid #555
}

.footer-links a:last-child {
  border-right: none
}

.footer-links a:hover {
  color: var(--brand-orange)
}

.footer-bottom {
  background: #222;
  padding: 14px 0
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #b0b0b0
}

.footer-meta a {
  color: #b0b0b0
}

.footer-meta a:hover {
  color: #fff
}

.footer-meta span {
  color: #959595
}

.footer-copyright {
  background: #1a1a1a;
  padding: 18px 0;
  border-top: 1px solid #000
}

.copyright-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}

.footer-copyright p {
  color: #b0b0b0;
  font-size: 12px;
  margin: 0;
  letter-spacing: .3px
}

.footer-copyright .social-icons {
  gap: 10px
}

.footer-copyright .social-icon {
  width: 34px;
  height: 34px;
  font-size: 13px;
  border-color: #444
}

.footer-copyright .social-icon:hover {
  border-color: #666
}

/* Responsive */
@media (max-width: 960px) {
  .logo-inner {
    justify-content: center;
    text-align: center
  }

  .call-to-action {
    flex-direction: column
  }

  .nav-inner {
    flex-wrap: wrap;
    justify-content: center
  }

  /* Reduce nav padding on smaller screens */
  .nav-item {
    padding: 12px 12px;
    font-size: 10px
  }

  .products-title {
    flex-direction: column;
    text-align: center
  }

  .carousel-btn {
    display: none
  }

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

  .welcome-inner {
    grid-template-columns: 1fr
  }

  .blog-grid {
    grid-template-columns: 1fr
  }

  .footer-map-section {
    grid-template-columns: 1fr;
    height: auto
  }

  .contact-box {
    padding: 25px 20px
  }
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center
  }

  .nav-item {
    padding: 10px 10px;
    font-size: 9px
  }

  .has-mega-menu {
    width: 100%;
    text-align: center;
    position: relative;
    /* Reset for mobile */
  }

  /* Hide mega menu on mobile - use hamburger menu instead */
  .mega-menu {
    display: none !important;
  }

  .nav-item.products {
    width: 100%;
    justify-content: center
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 10px
  }

  .nav-inner {
    flex-direction: column
  }

  .nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
  }

  .product-card {
    flex: 0 0 200px
  }

  .products-title h1 {
    font-size: 28px
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .section-title {
    font-size: 24px
  }

  .welcome-text h2 {
    font-size: 22px
  }

  .trust-badges {
    justify-content: center
  }

  .trust-badges img {
    height: 40px
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px
  }

  .footer-meta {
    flex-direction: column;
    text-align: center
  }

  .copyright-inner {
    flex-direction: column;
    text-align: center
  }
}

/* ============================================
   Quick Quote Popup Modal
   ============================================ */
.quote-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.quote-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.quote-popup-modal {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.quote-popup-overlay.active .quote-popup-modal {
  transform: translateY(0) scale(1);
}

.quote-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: all 0.2s ease;
}

.quote-popup-close:hover {
  background: #e0e0e0;
  color: #333;
}

.quote-popup-modal h2 {
  margin: 0 0 10px;
  font-size: 28px;
  color: #333;
}

.quote-popup-desc {
  margin: 0 0 25px;
  color: #666;
  font-size: 15px;
}

.quote-popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quote-form-row {
  display: flex;
  gap: 15px;
}

.quote-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quote-form-field.full-width {
  width: 100%;
}

.quote-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.quote-form-field input,
.quote-form-field select,
.quote-form-field textarea {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form-field input:focus,
.quote-form-field select:focus,
.quote-form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(43, 123, 198, 0.15);
}

.quote-form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.quote-popup-submit {
  margin-top: 10px;
  padding: 14px 30px;
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quote-popup-submit:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-1px);
}

.quote-popup-alt {
  margin: 20px 0 0;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.quote-popup-alt a {
  color: var(--brand-blue);
}

/* Success State */
.quote-popup-success {
  text-align: center;
  padding: 40px 20px;
}

.quote-popup-success .success-icon {
  width: 80px;
  height: 80px;
  background: #4CAF50;
  color: #fff;
  font-size: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.quote-popup-success h2 {
  color: #333;
  margin-bottom: 15px;
}

.quote-popup-success p {
  color: #666;
  margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .quote-popup-modal {
    padding: 30px 20px;
    border-radius: 8px;
  }

  .quote-form-row {
    flex-direction: column;
    gap: 15px;
  }

  .quote-popup-modal h2 {
    font-size: 24px;
  }

  .quote-popup-submit {
    width: 100%;
  }
}