/* ========================================
   PROFESSIONAL PRINTING SERVICES CSS
   Modern, Clean, International Design
   ======================================== */

/* === CSS VARIABLES === */
:root {
  /* Primary Colors */
  --primary-blue: #1a56db;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  
  /* Accent Colors */
  --accent-orange: #f97316;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Tangerine', cursive;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* === HEADER === */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.logo-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.logo {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tagline {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
  border-radius: var(--radius-lg);
}

.header-link:hover {
  color: var(--primary-blue);
  background: var(--gray-100);
}

.header-link svg {
  width: 20px;
  height: 20px;
}

.header-link-primary {
  background: var(--primary-blue);
  color: white;
}

.header-link-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* === NAVIGATION === */
.main-nav {
  background: #ffffff;
}

.main-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 2rem;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-blue);
  background: var(--gray-50);
}

.dropdown-arrow {
  transition: transform var(--transition-base);
}

.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* === MEGA MENU === */
.mega-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  min-width: 600px;
  max-width: 900px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  
  /* Smooth transition */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 100;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-blue);
}

.mega-column a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.mega-column a:hover {
  color: var(--primary-blue);
  background: var(--gray-50);
  padding-left: 1rem;
}

/* Mega Menu with Images */
.mega-menu-images {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.mega-menu-images .mega-column {
  text-align: center;
}

.mega-menu-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  transition: transform var(--transition-base);
  border: 2px solid var(--gray-200);
}

.mega-menu-images a:hover img {
  transform: scale(1.05);
  border-color: var(--primary-blue);
}

.mega-menu-images h4 {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue)),
              url('/Media/printingbackhero.webp') no-repeat center center/cover;
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(26, 86, 219, 0.7) 0%, 
    rgba(30, 58, 138, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  display: block;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.15em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.125rem;
  transition: all var(--transition-base);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  border: 2px solid transparent;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

/* === PRODUCTS SECTION === */
.products-section {
  background: var(--gray-50);
}

/* === PRODUCT LANES === */
.product-lane {
  padding: 3.5rem 2.5rem;
  background: white;
  margin-bottom: 1.5rem;
}

.lane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.lane-title-group {
  flex: 1;
}

.lane-header h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.lane-subtitle {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-weight: 400;
  margin: 0;
}

.lane-controls {
  display: flex;
  gap: 0.75rem;
}

.lane-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.lane-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lane-btn svg {
  width: 16px;
  height: 16px;
}

/* Lane Content Scroller */
.lane-content {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
  scroll-padding: 1.5rem;
}

.lane-content::-webkit-scrollbar {
  display: none;
}

.lane-content.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/* Gradient Fade Edges */
.lane-content::before,
.lane-content::after {
  content: "";
  position: sticky;
  top: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.lane-content::before {
  left: 0;
  background: linear-gradient(90deg, white 0%, transparent 100%);
}

.lane-content::after {
  right: 0;
  background: linear-gradient(270deg, white 0%, transparent 100%);
}

/* === PRODUCT CARD === */
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 280px;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-info h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.product-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  flex: 1;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: var(--primary-dark);
  border: 1px solid #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-premium {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border-color: #fcd34d;
}

/* === FOOTER === */
.main-footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 2rem 2rem;
  font-size: 0.9375rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-column h3,
.footer-column h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: white;
  letter-spacing: 0.02em;
}

.footer-logo {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brands {
  list-style: none;
  margin-bottom: 2rem;
}

.footer-brands li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.footer-brands li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.footer-address {
  position: relative;
}

.world-map {
  position: absolute;
  width: 140%;
  opacity: 0.08;
  top: -80px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

.address-content {
  position: relative;
  z-index: 1;
}

.address-content h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.address-content p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: white;
}

.footer-phone svg {
  color: var(--accent-orange);
}

/* Footer Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: "›";
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 0.5rem;
}

.footer-links a:hover::before {
  transform: translateX(4px);
}

/* Newsletter */
.newsletter-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group svg {
  position: absolute;
  left: 1rem;
  color: var(--gray-400);
  pointer-events: none;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

/* Social Section */
.social-section h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.social-link img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.social-link span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: white;
}

.separator {
  margin: 0 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .top-bar {
    padding: 1rem 2rem;
  }
  
  .logo {
    font-size: 2.5rem;
  }
  
  .main-nav ul {
    gap: 0.25rem;
  }
  
  .main-nav a {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
  }
  
  .mega-menu {
    min-width: 500px;
  }
  
  .lane-content {
    grid-auto-columns: 260px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    padding: 0.5rem;
  }
  
  .main-nav a {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }
  
  .mega-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 90vw;
    max-width: 90vw;
    grid-template-columns: 1fr;
  }
  
  .has-dropdown:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .product-lane {
    padding: 2rem 1rem;
  }
  
  .lane-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .lane-header h2 {
    font-size: 1.5rem;
  }
  
  .lane-content {
    grid-auto-columns: 240px;
    gap: 1rem;
  }
  
  .product-card {
    min-width: 240px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.75rem;
  }
  
  .tagline {
    font-size: 0.625rem;
  }
  
  .header-link {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .hero-btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  
  .lane-content {
    grid-auto-columns: 220px;
  }
  
  .product-card {
    min-width: 220px;
  }
  
  .product-image {
    height: 160px;
  }
  
  .lane-btn {
    width: 38px;
    height: 38px;
  }
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
