/* === GLOBAL RESET === */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* === HERO SECTION === */
.full-hero {
  background: url('./web_images/img3.jpg') center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  color: #fff;
  padding: 120px 50px 50px 50px;
}

.full-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 500px;
}

.hero-center h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-center p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #eee;
}

.hero-button {
  display: inline-block;
  padding: 12px 24px;
  background: #0073e6;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-button:hover {
  background: #005bb5;
  transform: scale(1.05);
}

/* === TOP BAR / NAVIGATION === */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 50px;
  transition: top 0.3s ease, background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-logo img {
  height: 55px;
}

.logo-company {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s;
}

.company-tagline {
  font-size: 0.9rem;
  color: #eee;
  transition: color 0.3s;
}

/* NAV MENU */
.hero-menu .nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hero-menu .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}

.hero-menu .nav-menu li a:hover,
.hero-menu .nav-menu li a.active {
  color: #00ccff;
}

/* BURGER ICON */
.burger-menu {
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  display: none; /* hide desktop */
  z-index: 1100;
}

/* === SERVICES SECTION === */
.services-section {
  padding: 80px 50px;
  text-align: center;
  background: #fff;
}

.section-intro h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #222;
}

.section-intro p {
  font-size: 1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.service-box {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: #fafafa;
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-box img {
  width: 100px;
  margin-bottom: 15px;
}

.service-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.service-box p {
  font-size: 0.95rem;
  color: #555;
}

/* View More Services Button */
.view-more-services {
  text-align: center;
  margin-top: 20px;
}

.view-more-services a {
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.view-more-services a:hover {
  background: #0073e6;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  padding: 80px 50px;
  background: #f7f7f7;
  text-align: center;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.portfolio-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.portfolio-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.portfolio-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

.portfolio-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.portfolio-item a {
  display: inline-block;
  padding: 8px 20px;
  background: #0073e6;
  color: #fff;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.portfolio-item a:hover {
  background: #ff007a;
  transform: translateY(-2px);
}

/* === CONTACT SECTION === */
.contact-section {
  padding: 80px 50px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: red;
}

.contact-form input.valid,
.contact-form textarea.valid {
  border-color: green;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: #0073e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #005bb5;
}

/* === FOOTER === */
.footer-dark {
  background: #000;
  color: #ccc;
  padding: 60px 20px 30px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  gap: 30px;
}

.footer-columns > div {
  flex: 1;
  min-width: 220px;
}

.footer-columns h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.footer-columns a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.footer-columns a:hover {
  color: #0073e6;
}

.footer-note {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 30px;
}

/* === SCROLL EFFECT === */
.scrolled {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.scrolled .company-name { color: #222; }
.scrolled .company-tagline { color: #555; }
.scrolled .nav-menu li a { color: #222; }
.scrolled .burger-menu { color: #0073e6; }

/* === MOBILE RESPONSIVE === */
@media(max-width: 768px) {
  .top-bar { padding: 10px 20px; }
  .hero-logo img { height: 40px; }
  .burger-menu { display: block; }

  .hero-menu .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 250px;
    background: #222;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .hero-menu .nav-menu.active {
    transform: translateX(0);
  }

  .hero-menu .nav-menu li {
    margin-right: 40px 0;
  }

  .hero-menu .nav-menu li a {
    color: #fff;
    font-size: 1.2rem;
  }

  .hero-center {
    max-width: 100%;
    padding: 20px;
    text-align: center;
  }
}
