/* DAS Website - Professional Corporate Stylesheet */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e74c3c;
  --accent-light: #ff6b6b;
  --accent-dark: #c0392b;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
  --border: #34495e;
  --success: #27ae60;
  --warning: #f39c12;
  --light-bg: #f8f9fa;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--primary);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 2rem;
}

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

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
}

.logo-image {
  height: 120px;
  width: auto;
  transition: var(--transition);
}

.logo-image:hover {
  transform: scale(1.05);
}

.tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: var(--transition);
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--accent);
  padding-left: 2rem;
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.lang-switch {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.lang-switch:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.lang-current {
  font-weight: 700;
}

.lang-other {
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 5rem 0;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder-image {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

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

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

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

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

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Stats Section */
.stats {
  background: white;
  padding: 3rem 0;
  border-top: 1px solid #ddd;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  background: var(--light-bg);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  background: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-dark);
  font-weight: 500;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Section Styling */
section {
  padding: 4rem 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* Categories Section */
.categories {
  background: white;
}

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

.category-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #ddd;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.15);
  border-color: var(--accent);
}

.category-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.category-description {
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-cta {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.category-card:hover .category-cta {
  gap: 1rem;
}

/* Category Accordion Panels (elta-style) */
.cat-panels-outer {
  background: #0e1a2b;
  padding: 2.5rem 2.5rem;
}

.cat-panels-section {
  display: flex;
  height: 520px;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.cat-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.cat-panel:hover {
  flex: 1.9;
}

.cat-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.55s ease;
}

.cat-panel:hover .cat-panel-bg {
  transform: scale(1.08);
}

.cat-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  transition: background 0.55s ease;
}

.cat-panel:hover .cat-panel-overlay {
  background: rgba(0, 0, 0, 0.32);
}

.cat-panel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2.8rem 2rem;
  color: white;
  text-align: center;
}

.cat-panel-plus {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #00c4cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.4s ease, background 0.3s;
  box-shadow: 0 2px 12px rgba(0,196,204,0.4);
}

.cat-panel-plus span {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  color: white;
  transition: transform 0.4s ease;
}

.cat-panel:hover .cat-panel-plus span {
  transform: rotate(45deg);
}

.cat-panel-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.cat-panel-sub {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.5rem 0 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
  color: rgba(255,255,255,0.85);
}

.cat-panel:hover .cat-panel-sub {
  opacity: 1;
  transform: translateY(0);
}

/* Dividers between panels */
.cat-panel + .cat-panel {
  border-left: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 640px) {
  .cat-panels-outer {
    padding: 1.5rem 1rem;
  }
  .cat-panels-section {
    flex-direction: column;
    height: auto;
    border-radius: 12px;
  }
  .cat-panel {
    height: 200px;
    flex: none;
  }
  .cat-panel:hover {
    flex: none;
  }
  .cat-panel-sub {
    opacity: 1;
    transform: none;
  }
}

/* Features Section */
.features {
  background: var(--light-bg);
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.feature-card p {
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* Products Section */
.latest-products {
  background: white;
}

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

.product-card {
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-image {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-small {
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.8;
}

.product-title {
  padding: 1.5rem 1.5rem 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.product-price {
  padding: 0.5rem 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.product-card .btn {
  margin: auto auto 1.5rem auto;
  flex-shrink: 0;
  display: inline-block;
  padding: 0.75rem 2rem;
  min-width: 150px;
}

.product-card h3 {
  flex-grow: 0;
}

.product-card p {
  flex-grow: 1;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 4rem 0;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.85;
}

.footer-column a:hover {
  color: var(--accent);
  opacity: 1;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile Menu Styles */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 1rem;
  gap: 0.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 999;
  width: 100%;
}

.nav-menu.active .nav-link {
  padding: 0.75rem;
  display: block;
}

.dropdown-menu {
  z-index: 1002;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-wrapper {
    position: relative;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-menu.active .nav-link {
    padding: 1rem 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    background: var(--secondary);
    transition: var(--transition);
    max-height: 0;
    overflow: hidden;
  }

  .dropdown-menu.active,
  .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
  }

  .dropdown-menu a {
    padding-left: 2rem;
  }

  .hero {
    flex-direction: column;
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    order: -1;
  }

  .placeholder-image {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .categories-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0;
  }

  .stats {
    padding: 2rem 0;
  }

  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-number {
    font-size: 2rem;
  }

  .dropdown-menu {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    border-radius: 0;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .logo-image {
    height: 80px;
  }

  .logo h1 {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .tagline {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .page-banner {
    padding: 2rem 0;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .page-banner p {
    font-size: 0.95rem;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .lang-switch {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .category-icon {
    font-size: 2.5rem;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .placeholder-image {
    width: 150px;
    height: 150px;
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

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

.category-card,
.feature-card,
.product-card {
  animation: slideUp 0.6s ease;
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.lightbox-label {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.product-photo { cursor: zoom-in; }
