body, html {
  padding: 0;
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding-top: 50px;
  background-color: #f4f4f4;
  color: #000;
  transition: background-color 0.3s, color 0.3s;
}

h1 {
  margin-bottom: 40px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #111;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.78)),
    url("../images/bg.png") center center / cover no-repeat fixed;
  transition: background-color 0.3s, color 0.3s;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-right: 40px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-links a:hover {
  background-color: #e0e0e0;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.dark-mode-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  color: #333;
}

.dark-mode-btn svg {
  width: 26px;
  height: 26px;
}

/* Dark Mode Styles */
body.dark-mode {
  background:
    linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.8)),
    url("../images/bg.png") center center / cover no-repeat fixed;
  color: #f1f1f1;
}

body.dark-mode .navbar {
  background-color: rgba(22, 22, 22, 0.72);
}

body.dark-mode .nav-links a:hover {
  background-color: #333;
}

body.dark-mode .dark-mode-btn {
  color: #f1f1f1;
}

/* Content */
.content {
  text-align: center;
  margin: 24px auto;
  padding: 28px 30px;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(6px);
}

.company-info {
  text-align: center;
}

.ceccar-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}

.ceccar-gallery img {
  width: min(100%, 240px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.ceccar-gallery .img2 {
  width: min(100%, 380px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.92);
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
    margin-right: 40px;
  }

  body.dark-mode .nav-links {
    background-color: rgba(30, 30, 30, 0.9);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

  padding: 15px 30px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #0056b3;
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212;
  color: #fff;
}

body.dark-mode .nav-button {
  background-color: #1f1f1f;
  color: #fff;
}

body.dark-mode .nav-button:hover {
  background-color: #333;
}

/* Dark mode toggle button (eye icon) in top-right corner */
.dark-mode-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  color: #333;
  z-index: 1000;
}

.dark-mode-btn svg {
  width: 30px;
  height: 30px;
}

.dark-mode-btn:hover {
  transform: scale(1.1);
}

body.dark-mode .dark-mode-btn {
  color: #fff;
}

body.dark-mode .content {
  background-color: rgba(24, 24, 24, 0.68);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-logo {
  font-weight: bold;
  font-size: 20px;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Segoe UI', sans-serif;
}

.nav-logo-img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.06) saturate(1.04);
}

.nav-logo-home {
  height: 100px;
  width: auto;
}

body.dark-mode .nav-logo-img {
  mix-blend-mode: screen;
  filter: brightness(1.08) contrast(1.05);
}

@media (max-width: 768px) {
  .nav-logo-home {
    height: 110px;
  }
}
