/* ----------------------------------------------------
   INKWELL & ANCHOR - HARBORLIGHT FESTIVAL PRESS ROOM
   Design Style: Letterpress, Maritime, Textured, Warm Cream
   ---------------------------------------------------- */

:root {
  --ink-charcoal: #1c1b1a;
  --paper-cream: #fbf9f5;
  --harbor-blue: #1b3a4b;
  --accent-rust: #c1634b;
  --muted-gray: #e8e5e0;
  --border-light: #dfdbd5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--paper-cream);
  color: var(--ink-charcoal);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--harbor-blue);
  line-height: 1.3;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header Section --- */
header {
  border-bottom: 3px double var(--harbor-blue);
  padding: 40px 0;
  background-color: #fffdfa;
  box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.02);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h1 {
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-rust);
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: var(--ink-charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  padding-bottom: 5px;
}

nav a:hover {
  color: var(--accent-rust);
  border-bottom: 2px solid var(--accent-rust);
}

/* --- Hero Section --- */
.hero {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  background: radial-gradient(circle at top right, rgba(27, 58, 75, 0.02), transparent);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  color: #4a4a4a;
}

.badge {
  display: inline-block;
  background-color: var(--harbor-blue);
  color: var(--paper-cream);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* --- Schedule Section --- */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

.section-title h2 {
  font-size: 2rem;
  display: inline-block;
  background: var(--paper-cream);
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: var(--border-light);
  z-index: 1;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  border-bottom: 2px dashed var(--muted-gray);
  padding-bottom: 10px;
}

.card-meta {
  color: var(--accent-rust);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.timeline {
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.timeline li::before {
  content: '⚓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--harbor-blue);
  font-size: 0.85rem;
}

.timeline strong {
  display: block;
  color: var(--harbor-blue);
}

/* --- Ad Specs Section --- */
.specs-box {
  background-color: #ffffff;
  border: 2px solid var(--harbor-blue);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.spec-size-card {
  border: 1px solid var(--border-light);
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  background-color: var(--paper-cream);
}

.spec-size-card h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.spec-dimensions {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-rust);
  margin: 10px 0;
}

.spec-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--harbor-blue);
}

.tech-details {
  margin-top: 40px;
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
}

.tech-details h4 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tech-item h5 {
  color: var(--accent-rust);
  margin-bottom: 5px;
}

/* --- Form Section --- */
.submission-section {
  background-color: #1b3a4b;
  color: var(--paper-cream);
  padding: 60px 0;
  border-radius: 8px;
  margin-bottom: 60px;
}

.submission-section h2 {
  color: var(--paper-cream);
  text-align: center;
  margin-bottom: 10px;
}

.submission-section p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(251, 249, 245, 0.85);
}

.sub-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 6px;
  border: 1px solid rgba(251, 249, 245, 0.15);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(251, 249, 245, 0.3);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--ink-charcoal);
  font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent-rust);
}

.submit-btn {
  display: inline-block;
  background-color: var(--accent-rust);
  color: var(--paper-cream);
  padding: 14px 28px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #ab5139;
}

.success-message {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent-rust);
  padding: 20px;
  border-radius: 4px;
  margin-top: 20px;
  display: none;
}

/* --- Bio Section --- */
.bio-section {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.bio-text {
  flex: 2;
  min-width: 280px;
}

.bio-text h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.comma-corner {
  flex: 1;
  min-width: 220px;
  background-color: var(--paper-cream);
  border: 1px dashed var(--accent-rust);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.comma-avatar {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  color: #777777;
  font-size: 0.9rem;
}

/* --- Submissions Admin View --- */
.admin-view {
  margin-top: 40px;
  background-color: #f1ede6;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.admin-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--harbor-blue);
}

.admin-list {
  list-style: none;
}

.admin-item {
  background: white;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 8px;
  border-left: 3px solid var(--harbor-blue);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    justify-content: center;
  }
  .bio-section {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Styled Tagline for Hero Section --- */
.tagline {
  font-family: "Lora", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-rust);
  margin-top: 5px;
  margin-bottom: 25px;
  font-weight: 600;
}
