:root {
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-blue: #2c3e50;
  --accent-orange: #e67e22;
  --accent-hover: #d35400;
}

/* ========== GLOBAL STYLES ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

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

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

/* ========== HEADER ========== */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.top-contact-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  padding: 15px 20px;
  background-color: var(--accent-blue);
  font-size: 14px;
  color: var(--bg-light);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-item img {
  height: 24px;
  width: 24px;
}

.contact-item a {
  color: var(--accent-orange);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--accent-hover);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
  position: relative;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 75px;
}

/* Search Form */
.search-form {
  flex-grow: 1;
  max-width: 400px;
  width: 100%;
  margin: 0 12px;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper input {
  width: 100%;
  padding: 8px 44px 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--text-dark);
  background-color: var(--bg-white);
  box-sizing: border-box;
}

.search-button {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button img {
  height: 18px;
  width: 18px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-blue);
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
}

.suggestion-box {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  z-index: 10;
  font-family: 'Segoe UI', sans-serif;
}

.suggestion-box div {
  padding: 8px 12px;
  cursor: pointer;
}

.suggestion-box div:hover {
  background-color: #f0f0f0;
}

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -2px 0 6px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 60px 20px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Close Button */
.close-nav {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1001;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  .header-main {
    flex-wrap: nowrap;
    padding: 12px 16px;
  }

  .logo img {
    height: 60px;
  }

  .search-form {
    max-width: 100%;
  }

  .search-wrapper input {
    font-size: 13px;
    padding: 8px 40px 8px 10px;
  }

  .search-button {
    width: 40px;
  }

  .search-button img {
    height: 16px;
    width: 16px;
  }

  .hamburger {
    display: flex;
    margin-left: 12px;
  }

  .main-nav {
    display: none;
  }
}
