/* ═══════════════════════════════════════════════════════════════════
   SHELLY'S SHOP – Main Stylesheet
   Based on technical/industrial aesthetic from STL converter
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #0d0e11;
  --panel:     #13151a;
  --border:    #252830;
  --border2:   #353945;
  --accent:    #e8a020;
  --accent2:   #ff6b35;
  --green:     #2de08b;
  --muted:     #555b6e;
  --text:      #c8cdd8;
  --text-hi:   #eef0f5;
  --mono:      'Share Tech Mono', monospace;
  --sans:      'Barlow', sans-serif;
  --cond:      'Barlow Condensed', sans-serif;

  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);

  --radius: 0;
  --radius-sm: 0;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Grid texture overlay ── */
.wood-grain-bg {
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.018) 39px, rgba(255,255,255,0.018) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.018) 39px, rgba(255,255,255,0.018) 40px);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 { line-height: 1.2; }
h2 { 
  font-family: var(--cond); 
  font-size: clamp(1.8rem, 4vw, 2.8rem); 
  font-weight: 800; 
  letter-spacing: 0.06em; 
  text-transform: uppercase;
  color: var(--text-hi);
}
h3 { 
  font-family: var(--cond); 
  font-size: 1.1rem; 
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-hi);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── ACCENT TEXT ── */
.rainbow-text {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #f0b030;
  border-color: #f0b030;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: rgba(232, 160, 32, 0.1);
  transform: translateY(-2px);
}

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo-link { flex-shrink: 0; }
.nav-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  transition: all 0.3s ease;
}
.nav-logo:hover { 
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(232, 160, 32, 0.4);
}

.main-nav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  border-left: 1px solid var(--border);
  transition: all 0.15s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-link:first-child { border-left: none; }
.nav-link:hover, .nav-link.active {
  color: var(--text-hi);
  background: rgba(255,255,255,0.03);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 6px 12px;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero-sawdust {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(232, 160, 32, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
.hero-logo {
  width: min(420px, 90%);
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5));
  border-radius: 50%;
}
.hero-tagline {
  font-family: var(--cond);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 1rem;
  animation: fadeSlideIn 0.8s ease both;
  line-height: 1.1;
}
.hero-sub {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 480px;
  animation: fadeSlideIn 0.8s 0.2s ease both;
  line-height: 1.7;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeSlideIn 0.8s 0.4s ease both;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.7rem;
  animation: pulse 2s ease-in-out infinite;
  letter-spacing: 0.08em;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%       { opacity: 0.7; transform: translateY(-5px); }
}

/* ── DIVIDER ── */
.saw-divider { display: none; }

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-dark {
  background: var(--panel);
  max-width: none;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  color: var(--text-hi);
}
.section-title.light { color: var(--text-hi); }
.see-all {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
}
.see-all:hover { color: var(--accent); }
.see-all.light { color: var(--muted); }
.see-all.light:hover { color: var(--accent); }

/* ── VIDEO & PROJECT CARDS ── */
.video-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.video-card, .project-card {
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.video-card:hover, .project-card:hover {
  border-color: var(--border2);
}
.video-thumb, .project-img-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  background: #0a0b0d;
}
.placeholder-thumb { background: linear-gradient(135deg, #1a1c24 0%, #0f1015 100%); }
.thumb-2 { background: linear-gradient(135deg, #1c241a 0%, #101510 100%); }
.thumb-3 { background: linear-gradient(135deg, #241c1a 0%, #151010 100%); }
.proj-img-1 { background: linear-gradient(135deg, #1a1c24 0%, #0f1015 100%); }
.proj-img-2 { background: linear-gradient(135deg, #1c241a 0%, #101510 100%); }
.proj-img-3 { background: linear-gradient(135deg, #241c1a 0%, #151010 100%); }

.play-btn {
  width: 56px; height: 56px;
  background: rgba(232,160,32,0.9);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #000;
  transition: all 0.2s;
  padding-left: 4px;
}
.video-thumb:hover .play-btn {
  transform: scale(1.1);
  background: var(--accent);
}
.video-tag {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: #000;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.video-info { padding: 16px; border-top: 1px solid var(--border); }
.video-info h3 { 
  color: var(--text-hi); 
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.video-info p { 
  font-size: 0.85rem; 
  color: var(--muted); 
  margin-bottom: 8px;
  line-height: 1.5;
}
.video-meta { 
  font-size: 0.7rem; 
  color: var(--border2); 
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.project-img-wrap:hover .project-overlay { opacity: 1; }
.project-overlay span {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.7rem;
  border: 1px solid var(--accent);
  padding: 8px 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 { 
  padding: 14px 16px 6px; 
  color: var(--text-hi);
  font-size: 0.95rem;
}
.project-card p  { 
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--panel);
  color: var(--text);
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-logo-wrap { margin-bottom: 1.5rem; }
.footer-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  border: 2px solid var(--accent);
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2px;
  margin-bottom: 1.5rem;
}
.footer-links a {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 14px;
  border-left: 1px solid var(--border);
  transition: color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links a:first-child { border-left: none; }
.footer-links a:hover { color: var(--text-hi); }
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.social-link svg { width: 16px; height: 16px; }
.footer-copy { 
  font-size: 0.7rem; 
  font-family: var(--mono);
  color: var(--border2);
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.footer-copy a { 
  color: var(--muted); 
  text-decoration: none;
  transition: color 0.2s;
}
.footer-copy a:hover {
  color: var(--accent);
}

/* ── PLACEHOLDER PAGES ── */
.page-hero {
  background: var(--panel);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--cond);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 8px;
}
.page-hero p {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.placeholder-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.placeholder-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
  animation: floatLogo 6s ease-in-out infinite;
}
.placeholder-content h2 {
  margin-bottom: 1rem;
}
.placeholder-content > p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.youtube-cta {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  margin: 2.5rem 0;
}
.youtube-cta p {
  color: var(--text);
  margin-bottom: 1.2rem;
}
.youtube-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.planned-content {
  margin-top: 3rem;
  text-align: left;
  background: var(--panel);
  padding: 24px;
  border: 1px solid var(--border);
}
.planned-content h3 {
  margin-bottom: 16px;
}
.topic-list {
  list-style: none;
  padding: 0;
}
.topic-list li {
  padding: 10px 0 10px 24px;
  color: var(--text);
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.topic-list li:last-child { border-bottom: none; }
.topic-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ── ABOUT PAGE ── */
.about-page-content {
  max-width: 1100px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.about-text h2 {
  margin-bottom: 1rem;
}
.about-text h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.about-text p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
}
.about-list li {
  padding: 8px 0 8px 24px;
  color: var(--text);
  position: relative;
  font-size: 0.9rem;
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.about-list strong {
  color: var(--text-hi);
}
.about-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
}
.about-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}
.about-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px solid var(--accent);
}
.about-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
  font-size: 0.85rem;
}
.about-social-link:hover {
  background: rgba(232,160,32,0.1);
  border-color: var(--accent);
  color: var(--text-hi);
}
.about-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.about-social-link span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CONTACT PAGE ── */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.contact-intro h2 {
  margin-bottom: 1rem;
}

.contact-intro > p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
}

.contact-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.social-links-inline {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-links-inline a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.2s;
}

.social-links-inline a:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.social-links-inline svg {
  width: 14px;
  height: 14px;
}

.hubspot-form-wrapper {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px;
}

/* HubSpot form overrides */
.hubspot-form-wrapper .hs-form-field {
  margin-bottom: 20px;
}

.hubspot-form-wrapper .hs-form-field label,
.hubspot-form-wrapper .hs-fieldtype-text label,
.hubspot-form-wrapper .hs-fieldtype-textarea label,
.hubspot-form-wrapper .hs-input label,
.hubspot-form-wrapper label.hs-form-field-label,
.hubspot-form-wrapper .hs-form-field label span,
.hubspot-form-wrapper .input .hs-form-required {
  display: block;
  color: #FFFFFF !important;
  font-family: var(--mono) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px !important;
  font-weight: 500 !important;
}

.hubspot-form-wrapper input[type="text"],
.hubspot-form-wrapper input[type="email"],
.hubspot-form-wrapper select,
.hubspot-form-wrapper textarea {
  width: 100% !important;
  background: #1a1c24 !important;
  border: 1px solid var(--border2) !important;
  color: #FFFFFF !important;
  font-family: var(--sans) !important;
  font-size: 0.95rem !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s;
}

.hubspot-form-wrapper input::placeholder,
.hubspot-form-wrapper textarea::placeholder {
  color: var(--muted) !important;
}

.hubspot-form-wrapper input:focus,
.hubspot-form-wrapper select:focus,
.hubspot-form-wrapper textarea:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  background: #1f2129 !important;
}

/* Additional HubSpot-specific overrides */
.hubspot-form-wrapper .hs-error-msgs label,
.hubspot-form-wrapper .hs-error-msg {
  color: #ff6b6b !important;
  font-size: 0.75rem !important;
}

.hubspot-form-wrapper .hs-form-required {
  color: var(--accent) !important;
}

.hubspot-form-wrapper input[type="submit"] {
  background: var(--accent) !important;
  color: #000 !important;
  border: 2px solid var(--accent) !important;
  padding: 12px 28px !important;
  font-family: var(--cond) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.hubspot-form-wrapper input[type="submit"]:hover {
  background: #f0b030 !important;
  border-color: #f0b030 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-logo { width: min(280px, 80%); }

  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .nav-link { border-left: none; border-top: 1px solid var(--border); }
  .nav-link:first-child { border-top: none; }
  .header-inner { position: relative; flex-wrap: wrap; }

  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }

  .contact-container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .video-grid, .project-grid { grid-template-columns: 1fr; }
  .hero-tagline { font-size: 1.8rem; }
}
