@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1a365d; /* Navy Blue */
  --secondary-color: #f66d21; /* Orange */
  --secondary-hover: #e05e19;
  --bg-color: #f8fafc;
  --text-main: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --border-color: #e2e8f0;
  
  --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-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.top-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info i {
  color: var(--secondary-color);
}

header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-color);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Cart Icon */
.cart-trigger {
  position: relative;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--primary-color);
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--secondary-color);
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  background-image: url('../img/hero_printer.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--secondary-color);
  display: block;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.hero-feature-item i {
  color: var(--secondary-color);
  font-size: 1.25rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
}

/* Trust Bar */
.trust-bar {
  background-color: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-item i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.trust-item-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.trust-item-text p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Section Headings */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
}

/* Categories */
.categories {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.category-card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.category-card a {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.category-card a:hover {
  gap: 0.5rem; /* micro animation */
}

/* Calculator Wrapper */
.calculator-wrapper {
  position: relative;
  z-index: 10;
}

/* Process Section */
.process {
  padding: 5rem 0;
  background-color: var(--white);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50px;
  right: 50px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.process-icon {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: #94a3b8;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Cart Sidebar (Drawer) */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  display: block;
  opacity: 1;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: var(--white);
  z-index: 1001;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  color: var(--primary-color);
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.cart-body {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.cart-item-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.cart-item-details p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.cart-item-price {
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 0.5rem;
}

.remove-item {
  color: #ef4444;
  background: none;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.btn-checkout {
  width: 100%;
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-light);
  margin-top: 2rem;
}

/* Checkout Modal */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  width: 90%;
  max-width: 500px;
  z-index: 1002;
  display: none;
}

.checkout-modal.active {
  display: block;
}

.checkout-modal h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-image {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }
  .process-steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  }
}

/* WhatsApp Floating Widget */
.wa-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wa-trigger-btn {
  background-color: #25d366;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.wa-trigger-btn:hover {
  transform: scale(1.05);
}

.wa-popup {
  background: #fff;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-bottom: 15px;
  display: none;
  flex-direction: column;
  animation: wa-slide-up 0.3s ease;
}

.wa-popup.active {
  display: flex;
}

@keyframes wa-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.wa-popup-header {
  background-color: #25d366;
  color: #fff;
  padding: 20px;
  position: relative;
}

.wa-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
}

.wa-close:hover { opacity: 1; }

.wa-popup-header h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.wa-popup-header p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

.wa-email {
  color: #fbbf24;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
}

.wa-popup-body {
  padding: 20px;
}

.wa-contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.wa-contact-row:hover {
  background: #f8f9fa;
}

.wa-avatar {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wa-avatar img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.wa-status-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background-color: #25d366;
  border: 2px solid #fff;
  border-radius: 50%;
}

.wa-contact-info {
  display: flex;
  flex-direction: column;
}

.wa-role {
  font-size: 0.8rem;
  color: #6b7280;
}

.wa-name {
  font-weight: 700;
  color: #111827;
  font-size: 1.1rem;
}

.wa-popup-footer {
  padding: 12px 20px;
  background: #f9fafb;
  font-size: 0.8rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

/* =============================================
   Dual Floating Contact Buttons (Sağ Alt)
   ============================================= */
.floating-contact-bar {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, padding-right 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  max-width: 220px;
}

.float-btn i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.float-btn .btn-label {
  display: inline-block;
  transition: max-width 0.35s ease, opacity 0.35s ease;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
}

.float-btn:hover .btn-label {
  max-width: 200px;
  opacity: 1;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

/* WhatsApp buton rengi */
.float-btn-wa {
  background: linear-gradient(135deg, #25d366, #1da851);
}

/* Tawk.to / Canlı Chat buton rengi */
.float-btn-chat {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
}

/* Pulse animasyon (dikkat çekmek için) */
@keyframes float-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.float-btn-wa {
  animation: float-pulse 2.5s infinite;
}
