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

:root {
  /* Colors from BGP Logo */
  --color-primary: #37465e; /* Slate Blue */
  --color-primary-light: #e14428; /* Vibrant Orange/Red */
  --color-primary-dark: #232d3d;
  --color-secondary: #1a202c; /* Dark text/bg */
  --color-accent: #d4962c; /* Golden Yellow */
  
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-bg: #f8fafc;
  --color-bg-alt: #ffffff;
  
  --color-white: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  /* 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-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-primary-light);
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(225, 68, 40, 0.39);
}

.btn-primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 68, 40, 0.23);
  color: var(--color-white);
}

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

.btn-accent:hover {
  background-color: #d97706;
  transform: translateY(-2px);
  color: var(--color-white);
}

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

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

/* Header & Navigation (Glassmorphism) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-normal);
}

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

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

.logo span {
  color: var(--color-primary-light);
}

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

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary-light);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-switcher a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lang-switcher a.active {
  color: var(--color-primary-light);
}

.lang-switcher a:hover {
  color: var(--color-primary);
}

.lang-separator {
  color: var(--color-text-light);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding-top: 80px; /* Offset for header */
  overflow: hidden;
}

/* Pattern Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero h1 {
  color: var(--color-white);
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.card:hover .card-icon {
  background-color: var(--color-primary-light);
  color: var(--color-white);
}

.card-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-text {
  color: var(--color-text-light);
  flex-grow: 1;
}

/* Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.footer-logo {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
}

.footer-logo span {
  color: var(--color-primary-light);
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  max-width: 400px;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact {
  margin-top: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.contact-icon {
  color: var(--color-primary-light);
  font-size: 1.25rem;
}

.contact-info strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.contact-info a, .contact-info p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
  display: block;
}

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

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left var(--transition-normal);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}

/* About Section Specifics */
.about-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Eshop specific styles */
.eshop-header {
  background: var(--color-primary);
  padding: 100px 0 40px;
  color: white;
  text-align: center;
}

.eshop-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: block;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.category-list a:hover, .category-list a.active {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-primary-light);
  padding-left: 1rem;
}

.product-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f1f5f9;
  padding: 1rem;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.product-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.add-to-cart-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .eshop-container {
    grid-template-columns: 1fr;
  }
}

/* Client Logo Marquee */
.clients-section {
  padding: 4rem 0;
  background-color: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-secondary);
  font-size: 1.5rem;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  animation: marquee 30s linear infinite;
  padding-left: 4rem;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-content img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all var(--transition-normal);
}

.marquee-content img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
