/* =====================================================
   GLOBAL STYLES
===================================================== */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f7fb;
  color: #333;
}
h1, h2, h3 { color: #004080; margin-top: 0; }
a { color: inherit; text-decoration: none; transition: 0.3s; }
/* =====================================================
   HEADER + NAVIGATION
===================================================== */
header {
  background: #004080;
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* === Top bar (logo + language + burger) === */
.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  position: relative;
}
/* Logo on the left */
.logo {
  font-size: 1.8em;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}
/* Centered language switch */
.lang-switch {
  text-align: center;
  font-size: 1em;
}
.lang-switch a {
  color: #ffdd66;
  font-weight: bold;
  margin: 0 8px;
}
.lang-switch a:hover { color: #ffe999; }
/* Burger menu on the right */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
}
/* === Navigation links === */
.navbar {
  background: #004080;
}
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.navbar li { margin: 0 15px; }
.navbar a {
  color: white;
  font-weight: 600;
}
.navbar a:hover,
.navbar a.active { text-decoration: underline; }
/* === Responsive header / nav === */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .navbar ul {
    flex-direction: column;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #004080;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: none;
  }
  .navbar.active ul { display: flex; }
  .navbar li { margin: 12px 0; }
}
/* =====================================================
   HERO (INDEX.PHP)
===================================================== */
.hero {
  text-align: center;
  background: linear-gradient(rgba(0, 64, 128, 0.8), rgba(0, 64, 128, 0.8)),
              url('images/project1.jpg') center/cover no-repeat;
  color: white;
  padding: 120px 20px;
}
.hero h1 { font-size: 2.5em; margin-bottom: 15px; }
.hero p {
  max-width: 650px;
  margin: 0 auto 25px auto;
  font-size: 1.1em;
  line-height: 1.6;
}
.cta {
  background: #ffb400;
  color: #004080;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
}
.cta:hover { background: #ffc940; }
/* Services grid (optional on home) */
.services {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.service-card {
  background: #f0f4ff;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* =====================================================
   CONTACT / QUOTE PAGE
===================================================== */
.quote-container {
  display: flex;
  flex-wrap: wrap;
  width: 85%;
  margin: 40px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}
.about-section,
.quote-section {
  padding: 40px;
  flex: 1 1 50%;
  box-sizing: border-box;
}
/* Left (about) */
.about-section {
  background: #f0f4ff;
  border-right: 1px solid #ddd;
}
.about-section ul.contact-info {
  list-style: none;
  padding: 0;
}
.about-section ul.contact-info li { margin: 8px 0; }
/* Right (form) */
.quote-section { background: #fff; }
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}
.quote-form label { font-weight: 600; }
.quote-form input,
.quote-form textarea,
.quote-form select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}
button {
  background: #004080;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
}
button:hover { background: #0066cc; }
.success { color: green; text-align: center; margin-top: 10px; }
.error   { color: red;   text-align: center; margin-top: 10px; }
@media (max-width: 768px) {
  .quote-container { flex-direction: column; }
  .about-section { border-right: none; border-bottom: 1px solid #ddd; }
}
/* =====================================================
   GALLERY PAGE
===================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 15px;
  padding: 20px;
}
.gallery img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery img:hover { transform: scale(1.03); }
/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  animation: fadeIn 0.3s ease-in-out;
}
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 85%;
  max-height: 80%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.lightbox .close:hover { color: #ffb400; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #00264d;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.95em;
}