/* css/drop.css
   Page‑specific overrides for dorm-drop.html
*/

/* Two‑column form/info layout */
.content-columns {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}
.content-columns .form-container { flex: 2; }
.content-columns .info-container { flex: 1; }

/* Info panel styling */
.info-container {
  background-color: #fff;
  border-left: 4px solid #003f63;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
.info-container h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #003f63;
}
.info-container h3 {
  font-size: 1.25rem;
  margin: 1.25rem 0 0.5rem;
  color: #003f63;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.25rem;
}
.info-container p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.info-container ul,
.info-container ol {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}
.info-container li {
  margin-bottom: 0.75rem;
}
.info-container img {
  display: block;
  max-width: 80%;
  margin: 1rem auto;
  border-radius: 4px;
}
.box-size img {
  /* force a specific width */
  width: 300px;
  height: auto;        /* preserve aspect ratio */
}
.info-container a {
  color: #003f63;
  text-decoration: underline;
}
/* Form groups */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* Checkbox & toggle wrappers */
.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.checkbox-container input[type="checkbox"] {
  margin-right: 0.5rem;
}
.toggle-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

/* Optional sections */
.optional-section {
  background-color: #f8f9fa;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.optional-section h3 {
  color: #333;
  margin-bottom: 10px;
}

/* Grand total box */
.total-section {
  background-color: #e9ecef;
  padding: 20px;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1.25em;
  text-align: center;
}

/* Submit button */
.submit-btn {
  display: inline-block;
  background-color: #003f63;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 1rem;
}
.submit-btn:hover {
  background-color: #002a4e;
}
.submit-btn:active {
  transform: scale(0.98);
}

/* Bottom nav override (if you need it) */
.nav-header ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  flex-wrap: wrap;
}
.nav-header ul li a {
  color: #003f63;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile tweaks for this page */
@media (max-width: 768px) {
  .content-columns {
    flex-direction: column;
  }
  .content-columns .form-container,
  .content-columns .info-container {
    flex: none;
    width: 100%;
  }
}

/* Dorm Drop information landing page */
:root {
  --dorm-structural-width: 1440px;
  --dorm-content-width: 1160px;
  --dorm-reading-width: 900px;
  --dorm-gutter: clamp(20px, 4vw, 48px);
  --dorm-orange: #fd3b26;
  --dorm-pink: #e85d8f;
}

body { background: #f4f4f4; }

.dorm-drop-info-page {
  width: 100%;
  padding: 0 0 clamp(52px, 6vw, 84px);
}

.dorm-drop-info-page h1,
.dorm-drop-info-page h2,
.dorm-drop-info-page h3 {
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.dorm-drop-info-page p,
.dorm-drop-info-page li {
  color: #24364d;
  line-height: 1.65;
}

.dorm-hero {
  width: 100%;
  background: var(--primary);
}

.dorm-hero-inner {
  width: 100%;
  max-width: var(--dorm-structural-width);
  padding: clamp(30px, 4.25vw, 52px) var(--dorm-gutter);
}

.dorm-hero-copy { max-width: var(--dorm-reading-width); }

.dorm-drop-info-page .dorm-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid rgba(232, 93, 143, .42);
  border-radius: 999px;
  background: rgba(232, 93, 143, .16);
  color: #ffd5e3;
  font-size: .95rem;
  font-weight: 700;
}

.dorm-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  letter-spacing: -.04em;
  line-height: 1.02;
}

.dorm-drop-info-page .dorm-hero-lead {
  max-width: 820px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.9);
  font-size: 1.12rem;
  line-height: 1.7;
}

.dorm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 22px;
}

.dorm-hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}

.dorm-hero-points span:nth-child(2n) {
  border-color: rgba(232, 93, 143, .5);
  background: rgba(232, 93, 143, .12);
}

.dorm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.dorm-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.dorm-button--primary { background: var(--dorm-orange); color: #fff; }
.dorm-button--secondary { border: 1px solid var(--primary); background: #fff; color: var(--primary); }
.dorm-button:hover { transform: translateY(-1px); }
.dorm-button--primary:hover { background: #e7311f; box-shadow: 0 4px 12px rgba(0,0,0,.16); }
.dorm-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px var(--dorm-pink); }

.dorm-content {
  width: 100%;
  max-width: var(--dorm-structural-width);
  margin: 0 auto;
  padding: 0 var(--dorm-gutter);
}

.dorm-card,
.dorm-help {
  width: 100%;
  max-width: var(--dorm-content-width);
  margin: 24px auto 0;
  padding: 26px 24px;
  border: 1px solid rgba(0,35,72,.1);
  border-top: 4px solid var(--dorm-orange);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,35,72,.07);
}

.dorm-card--pink { border-top-color: var(--dorm-pink); }
.dorm-card > h2,
.dorm-help > h2 { margin-top: 0; font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.025em; }
.dorm-card h3 { color: var(--primary); }
.dorm-card li { margin-bottom: 10px; }
.dorm-card ul,
.dorm-card ol { padding-left: 24px; }

.dorm-feature,
.tip {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(232,93,143,.28);
  border-left: 4px solid var(--dorm-pink);
  border-radius: 12px;
  background: #fff7fa;
}

.dorm-feature img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 16px auto 0;
}

.box-instructions { max-width: var(--dorm-reading-width); }

.dorm-card pre {
  overflow-x: auto;
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid rgba(0,63,99,.12);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--primary);
  font: 600 1rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
}

.dorm-drop-info-page a:not(.dorm-button) {
  color: var(--primary);
  font-weight: 700;
  text-decoration-color: var(--dorm-orange);
  text-underline-offset: 3px;
}

.dorm-help {
  border-top-color: var(--dorm-pink);
  text-align: center;
}

.dorm-help p { max-width: 760px; margin-right: auto; margin-left: auto; }

.site-footer > * {
  width: 100%;
  max-width: var(--dorm-structural-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--dorm-gutter);
  padding-left: var(--dorm-gutter);
}

.site-footer .footer-links a { color: var(--primary); font-weight: 600; }

@media (max-width: 720px) {
  .dorm-hero-inner { padding: 28px 20px 30px; }
  .dorm-content { padding: 0 20px; }
  .dorm-hero-actions { flex-direction: column; }
  .dorm-button { width: 100%; }
  .dorm-hero-points { flex-direction: column; align-items: stretch; }
  .dorm-hero-points span { justify-content: center; }
  .dorm-card,
  .dorm-help { padding: 22px 18px; }
  .site-footer > * { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .dorm-button { transition: none; }
}
