/* ---------- HOMEPAGE STYLES ---------- */

/* Body and base font */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #2C3E50;
  line-height: 1.6;
}

p {
   font-size: 16pt;
}

/* ---------- Header ---------- */
/* Header */
.intro {
  background-color: #2C3E50; /* dark header */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;         /* center elements horizontally */
  border-radius: 0 0 10px 10px;  
  padding: 40px 20px 10px 20px;
  position: relative; /* enables absolute positioning inside */
}

.intro-header-content {
  margin-top: 20px;
}

.intro-phone {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 2rem;
  font-weight: bold;
}

.intro-phone a {
  color: #ffd600;
  text-decoration: none;
}

.intro-phone a:hover {
  color: #f5d742;
  opacity: 0.85;
}


.intro h1 {
   font-size: 38px;
}

.intro p {
   font-size: 24px;
   margin-top: 1em;
}

/* Flex container for H1 + logo */
.intro-header-content {
  display: flex;
  align-items: center;
  justify-content: center;    /* center H1 + logo horizontally */
  gap: 50px;                  /* increased from 40px to 50px for bigger logo */
  flex-wrap: wrap;            /* wrap on small screens */
}

/* Logo inside header */
.intro-logo {
  height: 100px;        /* increased from 60px */
  max-width: 300px;    /* keeps aspect ratio correct */
  margin-top: -8px;
  object-fit: contain;
}

/* ===== Header hamburger menu ===== */
.intro {
  position: relative;
}

.menu-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  margin: 2.5px 0;
  border-radius: 2px;
}

.menu {
  position: absolute;
  top: 65px;
  right: 20px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: none;
  z-index: 9999;
}

.menu a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #2C3E50;
  font-weight: 600;
  border-radius: 8px;
}

.menu a:hover {
  background: rgba(69, 81, 196, 0.10);
}

.page{
    margin: 0 auto;
	padding: 20px;
    width: 80%;
    }

.card{
    margin: 24px auto 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
    padding: 22px;
	width: 100%;
    }

.upload-title {
    background-color: #2C3E50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    text-align: center;
    }

.upload-wrap {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px 40px;
    }
    .upload-card {
      background: #f5f5f5;
      border-radius: 10px;
      padding: 20px;
      box-sizing: border-box;
    }

/* ===============================
   Main Container
   =============================== */
.designer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   Labels, Inputs, Selects, Buttons
   =============================== */
label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

input, select, button {
  margin-top: 0;
  padding: 6px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

button {
  cursor: pointer;
}

/* ===============================
   Orange Buttons
   =============================== */
.btn-orange {
  background-color: #FF6600;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-top: -4px;
}

.btn-orange:hover {
  opacity: 0.85;
}

.email-submit-wrapper {
  display: flex;
  align-items: flex-start;   /* prevents vertical centering weirdness */
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
}


/* ===============================
   Canvas & Editor
   =============================== */
.canvas-wrapper {
  width: 90%;
  max-width: 100%;
  margin-bottom: 24px; /* adjust as needed */
}


#signCanvas {
  display: block;
  margin-top: 20px;
  margin-bottom: 40px; /* should now work */
  border: 2px solid #2C3E50;
  border-radius: 10px;
  background-color: #ffffff;
  max-width: 100%;
}


/* Text editing input for canvas */
#textEditInput {
  position: absolute;
  display: none;
  font-size: 24px;
  border: 1px solid #FF6600;
  border-radius: 4px;
  padding: 2px;
  background: transparent; /* No white box behind text */
  color: #2C3E50;
  font-family: 'Roboto', sans-serif;
}

.text-help {
  margin: 4px 0 12px;
  font-size: 0.8rem;
  font-style: italic;
  color: #555;
}


/* ===============================
   Yard Options
   =============================== */
#yardOptions label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

#yardOptions input[type="checkbox"] {
  margin-right: 5px;
}

/* ===============================
   Responsive Design
   =============================== */
.design-summary {
  background-color: #f7f7f7;
  padding: 10px 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Roboto', sans-serif;
}

.design-summary p {
  margin: 4px 0;
}


@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

#signCanvas {
    width: 100%;
    height: auto;
  }
}

#customerNotes {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

label[for="customerNotes"] {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-weight: bold;
}

/* Tight spacing between Name and Email */
.email-submit-wrapper .tight-label {
  display: block;
  margin: 0 0 6px 0;
}

.tight-input {
  margin-bottom: 6px;
}	
	
/* ---------- Footer ---------- */
footer {
  background-color: #2C3E50;
  color: #fff;
  font-size: 16pt;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  footer a[href^="tel"] {
    color: #ffd600 !important;  /* orange */
  }
}


