/* CoastView Electric - Main Stylesheet */
/* Author: Phillip Falstrom */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.banner {
  height: 45vh;                 /* controls how tall it feels */
  min-height: 120px;
  max-height: 350px;

  background-image: url("images/logo.png");
  background-size: contain;     /* ⬅️ KEY CHANGE */
  background-position: left;
  background-repeat: no-repeat;
  background-color: #0f2a44;    /* fallback / framing color */

  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.55); /* improves readability */
  padding: 2rem 3rem;
  border-radius: 8px;
}
``
.logo {
  max-width: 280px;     /* adjust as needed */
  width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
}

}

/* Theme Colors */
:root {
  --primary-color: #0f2a44;
  --secondary-color: #f0a500;
  --background-color: #f4f6f8;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
}

/* Body */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background-color);
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 18px; /* BIGGER base font */
}

/* Header */
header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2rem;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  letter-spacing: 1.5px;
}

header p {
  margin-top: 0.75rem;
  font-size: 1.3rem;
}

/* Navigation */
nav {
  background-color: #081c2f;
  display: flex;
  justify-content: center;
}

nav a {
  color: var(--text-light);
  padding: 1.25rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
}

nav a:hover {
  background-color: var(--secondary-color);
  color: #000;
}

/* Sections */
section {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 2rem;
}

section h2 {
  color: var(--primary-color);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
button {
  background-color: var(--secondary-color);
  color: #000;
  border: none;
  padding: 1rem 2.25rem;
  font-size: 1.15rem;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  opacity: 0.85;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 1.75rem;
  font-size: 1.1rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  body {
    font-size: 17px;
  }

  header h1 {
    font-size: 2.3rem;
  }

  section h2 {
    font-size: 2rem;
  }
}