/* GLOBAL RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* COLOR THEME */
:root {
  --maroon: #800000;
  --black: #000000;
  --white: #ffffff;
  --lightgray: #f4f4f4;
  --gray: #555;
}

/* BODY */
body {
  font-family: "Open Sans", sans-serif;
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
}

/* HEADER */
#site-header {
  background: var(--maroon);
  color: var(--white);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: 0.3s;
}

#site-header.sticky-active {
  padding: 6px 15px;
}

/* HEADER LAYOUT */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.logo img {
  height: 40px;
  width: auto;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

/* CALL BUTTON */
.call-btn {
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.call-btn:hover {
  opacity: 0.85;
}

/* SECTIONS */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  scroll-margin-top: 80px;
}

h2 {
  text-align: center;
  color: var(--maroon);
  margin-bottom: 20px;
}

/* ABOUT IMAGE */
#about img {
  width: 70%;
  max-width: 500px;
  display: block;
  margin: 0 auto 20px auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* JOB CARDS */
.job {
  background: var(--lightgray);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.job h3 {
  margin-bottom: 10px;
  color: var(--maroon);
}

/* SERVICES GRID */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* CARD */
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* IMAGE BOX */
.project-image-box {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}

.project-image-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* CARD TEXT */
.card .container {
  padding: 15px;
}

/* CONTACT */
form {
  max-width: 600px;
  margin: 20px auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--maroon);
}

/* SUBMIT BUTTON */
.contact-submit {
  background: var(--black);
  color: var(--white);
  padding: 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-submit:hover {
  opacity: 0.85;
}

/* SOCIAL LINK */
.social-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  color: var(--maroon);
  text-decoration: none;
}

.social-link:hover {
  text-decoration: underline;
}

/* SCROLL BUTTON */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--black);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}

#scrollTopBtn:hover {
  opacity: 0.85;
}
