:root {
  --primary-color: #0b1120;      /* Dark background */
  --secondary-color: #1e293b;    /* Slightly lighter dark for cards/sections */
  --accent-color: #f59e0b;       /* Gold/Orange accent */
  --accent-hover: #d97706;       /* Darker Gold/Orange */
  --text-light: #f8fafc;         /* White text */
  --text-muted: #94a3b8;         /* Gray text */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
  
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

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

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

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

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

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  border-left: 1px solid var(--text-muted);
  padding-left: 1rem;
}

.lang-switch a {
  opacity: 0.6;
}

.lang-switch a.active {
  color: var(--accent-color);
  opacity: 1;
  font-weight: bold;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.9)), url('../images/slider/bg2.jpg') center/cover no-repeat;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
  margin-left: 1rem;
}

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

/* Sections Common */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--accent-color);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.product-card {
  background-color: var(--secondary-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: var(--accent-color);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Section (Flexbox) */
.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-item {
  flex: 1 1 300px;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 8px;
  transition: var(--transition);
}

.service-item:hover {
  background-color: rgba(30, 41, 59, 0.8);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  transition: var(--transition);
}

.service-item:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.service-item h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  text-align: center;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gallery Section */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 17, 32, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay h4 {
  transform: translateY(0);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

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

.about-img {
  border-radius: 8px;
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  z-index: -1;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--secondary-color);
  padding: 2.5rem;
  border-radius: 8px;
}

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

.info-icon {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.info-item h4 {
  margin-bottom: 0.25rem;
}

.info-item p {
  color: var(--text-muted);
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--secondary-color);
}

/* Footer */
footer {
  background-color: #05080f;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1.2rem;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .lang-switch {
    border-left: none;
    border-top: 1px solid var(--text-muted);
    padding-top: 1rem;
    padding-left: 0;
    margin-top: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}
