/* Reset + base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #120018; /* very dark purple */
  color: #e6e6e6;
  min-height: 100vh;
}

/* Header */
header {
  background: #1e0028;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #6a0dad;
}

header h1 {
  color: #c77dff;
}

/* Main content */
main {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.card {
  background: #1a0022;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 0 20px rgba(106, 13, 173, 0.3);
}

.card h2 {
  color: #bb86fc;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Button */
button {
  background: #6a0dad;
  border: none;
  padding: 10px 18px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #8a2be2;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px;
  background-color: #4b2e83; /* dark purple */
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background-color: #6a3fbf;
  transform: translateY(-2px);
}
 /* Spaces between text */
section {
  margin-bottom: 50px;
}

h2 {
  margin-bottom: 12px;
}

p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.logo {
  margin-bottom: 15px;
}

.logo img {
  height: 220px;   /* adjust as needed */
  width: auto;
}


.site-header {
  display: flex;
  flex-direction: column;   /* THIS is the key */
  align-items: center;
  padding: 20px 0;
}

.nav {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/*skyline header*/
.hero {
  background-image: url("assets/louisville-skyline.jpg");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;

  min-height: 350px;
  padding: 60px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero p {
  max-width: 800px;
  font-size: 1.1rem;
}

/* ===== Mobile Nav Fix ===== */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;   /* stack buttons */
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .btn {
    width: 90%;               /* make them readable */
    max-width: 420px;
    text-align: center;
    margin: 0;                /* remove desktop margins */
    padding: 12px 16px;
  }

  .logo img {
    height: 120px;            /* optional: shrink logo on mobile */
  }
}

.btn-facebook {
  background-color: #1877F2; /* Facebook blue */
}

.btn-facebook:hover {
  background-color: #0f5dc2;
}

/* ===== Mobile clean-up for quote form ===== */
@media (max-width: 768px) {
  #request {
    padding: 40px 14px;
  }

  .quote-form {
    width: 100%;
    max-width: 100%;
    padding: 18px;
    border-radius: 12px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    padding: 14px 12px;   /* bigger tap target */
    font-size: 16px;      /* prevents iPhone zoom */
    border-radius: 10px;
  }

  .quote-form label {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .quote-form button[type="submit"] {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }
}

.corner {
  position: absolute;
  top: 15px;
  width: 120px;   /* change size */
  height: auto;
}

.left {
  left: 15px;
}

.right {
  right: 15px;
}

.size-box{
  margin-top: 15px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.size-box h3{
  margin: 0 0 8px 0;
}

@media (max-width: 768px) {
  .corner {
    top: 5px; /* was 10px, lower number = moves up */
  }
}


/* Make the quote form stack nicely on phones */
@media (max-width: 768px) {
  .quote-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .quote-form label {
    width: 100%;
    margin-bottom: 4px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .quote-form button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .quote-form {
    grid-template-columns: 1fr !important;
  }
}

ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.8;
}

li {
  margin-bottom: 6px;
}
