/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #f9f9f9;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
header {
  background-color: #0052cc;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  color: #fff;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

header nav ul li a:hover {
  text-decoration: underline;
}

header .dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: linear-gradient(to right, #e6f0ff, #cce0ff);
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-text .btn {
  padding: 0.7rem 1.5rem;
  background-color: #0052cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.hero-image {
  flex: 1;
  min-width: 280px;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
}

/* ===== Products Section ===== */
.products-section {
  padding: 4rem 0;
  text-align: center;
  background-color: #fff;
}

.products-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-card .inquiry-btn {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #0052cc;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

/* ===== About Section ===== */
.about-section {
  padding: 4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 4rem 0;
  background-color: #e6f0ff;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-section input,
.contact-section textarea {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

.contact-section button {
  padding: 0.7rem 1.5rem;
  background-color: #0052cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* ===== Floating Contact Button ===== */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: #ff6b6b;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== Popup ===== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Dark Mode ===== */
.dark-mode {
  background-color: #111;
  color: #f9f9f9;
}

.dark-mode header {
  background-color: #222;
}

.dark-mode .hero-section {
  background: linear-gradient(to right, #222, #444);
}

.dark-mode .products-section,
.dark-mode .about-section,
.dark-mode .contact-section {
  background-color: #222;
  color: #f9f9f9;
}

.dark-mode .product-card,
.dark-mode .about-image img {
  background-color: #333;
}

.dark-mode input,
.dark-mode textarea {
  background-color: #333;
  color: #f9f9f9;
  border: 1px solid #555;
}

/* ===== Responsive ===== */
@media (max-width:768px) {
  .hero-grid, .about-grid {
    flex-direction: column;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}
