/* ====== GLOBAL ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tahoma", "MS Sans Serif", sans-serif;
  background: #c0c0c0;
  color: #000;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px;
}

/* ====== WINDOWS 95 UI ====== */
.window {
  background: #e0e0e0;
  border: 2px solid #000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  margin-bottom: 16px;
}

.window-header {
  background: linear-gradient(90deg, #003399, #3366cc);
  color: #fff;
  padding: 6px 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-header .title {
  font-size: 14px;
}

.window-content {
  padding: 14px;
}

/* ====== BUTTONS ====== */
.btn {
  font-family: inherit;
  padding: 8px 14px;
  border: 2px solid #000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  background: #dcdcdc;
  cursor: pointer;
  transition: all 0.1s ease;
}

.btn:hover {
  filter: brightness(1.05);
  transform: translate(1px, 1px);
}

.btn:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  transform: translate(2px, 2px);
}

.btn-red {
  background: #cc3333;
  color: #fff;
}

.btn-blue {
  background: #3366cc;
  color: #fff;
}

.quote-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0073e6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.quote-btn:hover {
  background-color: #005bb5;
}

/* ====== TOOLBAR NAV (WINDOWS 95 STYLE) ====== */
.navbar {
  background: #e0e0e0;
  border-bottom: 2px solid #404040;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.toolbar-logo {
  height: 70px;
  width: auto;
  display: block;
}

.toolbar a {
  display: inline-block;
  padding: 6px 12px;
  background: #dcdcdc;
  border: 2px solid #000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #404040;
  border-bottom-color: #404040;
}

.toolbar a:hover {
  filter: brightness(1.05);
}

.toolbar a:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ====== HERO WINDOW ====== */
.hero-content {
  background: url("../assets/images/hero.jpg") center / cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-panel {
  background: #e0e0e0;
  max-width: 520px;
  padding: 16px;
  border: 2px solid #000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  text-align: center;
}

.hero-panel h1 {
  margin: 0 0 6px 0;
  font-size: 24px;
  text-align: center;
}

.hero-tagline {
  margin: 0 0 10px 0;
  font-weight: bold;
  color: #003399;
  text-align: center;
}

.hero-buttons {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .hero-content {
    padding: 12px;
    min-height: 220px;
    text-align: center;
  }

  .hero-panel {
    max-width: none;
    text-align: center;
  }
}

/* ====== GRID SYSTEM ====== */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  gap: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .toolbar {
    gap: 4px;
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  font-family: inherit;
  border: 2px solid #000;
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  background: #ffffff;
}

.contact-info {
  display: grid;
  gap: 12px;
}

.info-block {
  background: #dcdcdc;
  border: 2px solid #999;
  padding: 8px;
}

.info-block a {
  color: #003399;
}

/* ====== CARDS ====== */
.card {
  background: #e0e0e0;
  border: 2px solid #000;
  border-top-color: #ffffff;
  border-left-color: #ffffff;
  border-right-color: #404040;
  border-bottom-color: #404040;
  transition: transform 0.1s ease;

  max-width: 320px; /* keeps cards from stretching so bottom row centers */
  width: 100%;
}

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

.card img {
  width: 100%;
}

.card-content {
  padding: 10px;
}

.card-content h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

/* ====== FORMS ====== */
input, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  font-family: inherit;
  border: 2px solid #000;
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
  background: #ffffff;
}

/* Default cursor */
body {
  cursor: url("../assets/images/mouse.png"), auto;
}

/* Hover cursor for interactive elements */
a:hover,
button:hover,
.btn:hover,
.navbar a:hover {
  cursor: url("../assets/images/mouse_hover.png"), pointer;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background: #dcdcdc;
  border: 2px solid #999;
  box-shadow: 2px 2px 0 #666;
  padding: 15px;
  transition: all 0.15s ease;
}

.service-card h3 {
  margin-top: 0;
  color: #1b4fa3;
}

.service-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #666;
}

/* ====== FOOTER ====== */
footer {
  text-align: center;
  padding: 12px;
  font-size: 12px;
  color: #000;
}