/* EyesOnTutorials.com — full Designstacks recreation */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --header-bg: #1b1b1b;
  --header-top: #0d0d0d;
  --nav-bg: #2a2a2a;
  --accent: #e85d04;
  --accent-hover: #ff7a1a;
  --link: #c44d00;
  --text: #333;
  --text-muted: #777;
  --border: #d8d8d8;
  --content-bg: #ececec;
  --white: #fff;
  --sidebar-bg: #f7f7f7;
  --footer-bg: #141414;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--content-bg) url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='%23ececec'/%3E%3Cpath d='M0 0h1v1H0z' fill='%23e0e0e0'/%3E%3C/svg%3E");
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Top bar */
.top-bar {
  background: var(--header-top);
  color: #888;
  font-size: 11px;
  padding: 6px 0;
  border-bottom: 1px solid #222;
}
.top-bar .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #bbb; }
.top-bar a:hover { color: #fff; text-decoration: none; }
.top-bar .social { display: flex; gap: 12px; }

/* Header */
.site-header {
  background: linear-gradient(180deg, #2e2e2e 0%, #1a1a1a 100%);
  border-bottom: 4px solid var(--accent);
  padding: 26px 0 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.logo a { text-decoration: none; display: block; }
.logo a:hover { text-decoration: none; }
.logo h1 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 2px 0 #000;
}
.logo h1 .eye { color: var(--accent); }
.logo .tagline {
  font-size: 12px;
  color: #aaa;
  margin-top: 7px;
  font-style: italic;
  letter-spacing: .2px;
}
.header-search { display: flex; }
.header-search input {
  padding: 8px 12px;
  border: 1px solid #444;
  background: #0f0f0f;
  color: #ddd;
  width: 210px;
  font-size: 12px;
  border-radius: 2px 0 0 2px;
  outline: none;
}
.header-search input:focus { border-color: var(--accent); }
.header-search input::placeholder { color: #666; }
.header-search button {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.header-search button:hover { background: var(--accent-hover); }

/* Navigation */
.main-nav {
  background: var(--nav-bg);
  border-bottom: 1px solid #111;
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
}
.main-nav ul {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 12px 13px;
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  border-right: 1px solid #3a3a3a;
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1000px;
  margin: 14px auto 0;
  padding: 0 16px;
  font-size: 11px;
  color: #888;
}
.breadcrumb a { color: #666; }
.breadcrumb span { color: #444; }

/* Layout */
.layout {
  max-width: 1000px;
  margin: 18px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
}
.main-content { min-width: 0; }

/* Featured */
.featured-banner {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.featured-thumb {
  min-height: 220px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.featured-thumb .badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.featured-body { padding: 22px 24px; }
.cat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--accent);
  margin-bottom: 8px;
}
.featured-body h2 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
  font-family: var(--serif);
}
.featured-body h2 a { color: #1a1a1a; }
.featured-body h2 a:hover { color: var(--accent); text-decoration: none; }
.featured-body p { font-size: 13px; color: #555; margin-bottom: 14px; line-height: 1.55; }
.meta { font-size: 11px; color: var(--text-muted); }
.meta a { font-weight: 600; }
.btn-read {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none !important;
  border-radius: 2px;
}
.btn-read:hover { background: var(--accent-hover); }

/* Section head */
.section-head {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #1a1a1a;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 7px;
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-head a {
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

/* Tutorial grid */
.tutorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.tutorial-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .2s, transform .15s;
}
.tutorial-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.tutorial-card .thumb {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.tutorial-card .thumb img,
.post-item .thumb img,
.featured-thumb img,
.hero-img img,
.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tutorial-card .thumb .diff {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tutorial-card .card-body { padding: 13px 14px 15px; }
.tutorial-card .card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
  letter-spacing: .6px;
}
.tutorial-card h3 {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 6px;
  font-family: var(--serif);
}
.tutorial-card h3 a { color: #1a1a1a; }
.tutorial-card h3 a:hover { color: var(--accent); text-decoration: none; }
.tutorial-card p { font-size: 12px; color: #666; line-height: 1.45; }

/* Post list */
.post-list { margin-bottom: 24px; }
.post-item {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  transition: box-shadow .15s;
}
.post-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.post-item .thumb {
  min-height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.post-item .post-body { padding: 14px 16px; }
.post-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: var(--serif);
}
.post-item h3 a { color: #1a1a1a; }
.post-item h3 a:hover { color: var(--accent); text-decoration: none; }
.post-item p { font-size: 12px; color: #666; margin-bottom: 6px; }

/* Category intro */
.cat-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #555;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 22px 0 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-block;
  min-width: 34px;
  text-align: center;
  padding: 7px 11px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 12px;
  color: #555;
  text-decoration: none;
}
.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}
.pagination span.current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Sidebar */
.sidebar .widget {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.widget-title {
  background: var(--nav-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 10px 14px;
  border-bottom: 3px solid var(--accent);
}
.widget-body { padding: 12px 14px; background: var(--sidebar-bg); }
.widget li {
  padding: 8px 0;
  border-bottom: 1px solid #ebebeb;
  font-size: 12px;
  line-height: 1.4;
}
.widget li:last-child { border-bottom: none; }
.widget li a { color: #444; }
.widget li a:hover { color: var(--accent); }
.cat-count { color: #999; font-size: 11px; float: right; }

.ad-widget {
  background: #f0f0f0;
  border: 1px dashed #ccc;
  padding: 28px 12px;
  text-align: center;
  font-size: 11px;
  color: #999;
  margin-bottom: 18px;
}
.ad-widget strong {
  display: block;
  color: #bbb;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-cloud a {
  background: #eee;
  border: 1px solid #ddd;
  padding: 3px 9px;
  font-size: 11px;
  color: #555;
  border-radius: 2px;
  text-decoration: none;
}
.tag-cloud a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Page content (about/contact) */
.page-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px 30px;
  margin-bottom: 24px;
}
.page-box h1 {
  font-size: 26px;
  font-family: var(--serif);
  margin-bottom: 8px;
  color: #1a1a1a;
}
.page-box .lead {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.page-box p { font-size: 14px; margin-bottom: 14px; line-height: 1.7; }
.page-box h2 {
  font-size: 17px;
  margin: 22px 0 10px;
  color: #222;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.page-box ul { margin: 0 0 14px 18px; list-style: disc; }
.page-box li { font-size: 13px; margin-bottom: 6px; }

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #444;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccc;
  font-size: 13px;
  margin-bottom: 14px;
  font-family: var(--sans);
  border-radius: 2px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.contact-form button:hover { background: var(--accent-hover); }

/* Tutorial single */
.tutorial-single {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px 28px;
  margin-bottom: 24px;
}
.tutorial-single h1 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #1a1a1a;
  font-family: var(--serif);
}
.tutorial-single .tutorial-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.tutorial-single .hero-img {
  height: 320px;
  margin-bottom: 22px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #eee;
  overflow: hidden;
}
.tutorial-single .content p {
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.75;
}
.tutorial-single .content h2 {
  font-size: 17px;
  margin: 24px 0 10px;
  color: #222;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.tutorial-single .content ol,
.tutorial-single .content ul {
  margin: 0 0 14px 22px;
  font-size: 13px;
  list-style: decimal;
}
.tutorial-single .content ul { list-style: disc; }
.tutorial-single .content li { margin-bottom: 7px; line-height: 1.5; }
.psd-download {
  background: #fff8f0;
  border: 1px solid #f0d0a0;
  padding: 14px 16px;
  margin: 22px 0;
  font-size: 13px;
}
.psd-download strong { color: var(--accent); }

.step-img {
  height: 180px;
  margin: 12px 0 18px;
  border: 1px solid #e5e5e5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.logo img.logo-img {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 2px;
}
.logo h1 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.logo .tagline { margin-top: 2px; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #888;
  font-size: 12px;
  margin-top: 20px;
  padding: 36px 0 22px;
  border-top: 4px solid var(--accent);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-inner h4 {
  color: #ddd;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 14px;
}
.footer-inner p { line-height: 1.6; margin-bottom: 10px; }
.footer-inner li { margin-bottom: 7px; }
.footer-inner a { color: #aaa; }
.footer-inner a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 18px 16px 0;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 11px;
  color: #666;
}
.footer-bottom a { color: #999; }

/* Thumb gradients with pattern overlays for fuller look */
.g1,.g2,.g3,.g4,.g5,.g6,.g7,.g8,.g9,.g10,.g11,.g12,.g13,.g14,.g15 {
  position: relative;
  background-size: cover;
  background-position: center;
}
.g1::after,.g2::after,.g3::after,.g4::after,.g5::after,
.g6::after,.g7::after,.g8::after,.g9::after,.g10::after,
.g11::after,.g12::after,.g13::after,.g14::after,.g15::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.18), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,.25), transparent 50%);
  pointer-events: none;
}
.g1 { background: linear-gradient(135deg, #0f0c29, #302b63 45%, #e85d04); }
.g2 { background: linear-gradient(160deg, #0a0a1a, #16213e 50%, #0f3460); }
.g3 { background: linear-gradient(160deg, #2d1b69, #6a0572 55%, #ab0e86); }
.g4 { background: linear-gradient(160deg, #0d3d38, #1a6b5e 50%, #2e8b57); }
.g5 { background: linear-gradient(160deg, #4a1942, #7b2d5b 50%, #c74b7c); }
.g6 { background: linear-gradient(135deg, #111, #3d1a00 40%, #e85d04); }
.g7 { background: linear-gradient(135deg, #0d1b2a, #1b263b 50%, #415a77); }
.g8 { background: linear-gradient(135deg, #2a0000, #7f0000 50%, #e74c3c); }
.g9 { background: linear-gradient(135deg, #1a0533, #4a0e6b 50%, #8b2fc9); }
.g10 { background: linear-gradient(135deg, #062816, #1a5c3a 50%, #2e8b57); }
.g11 { background: linear-gradient(135deg, #111, #3a3a3a 50%, #888); }
.g12 { background: linear-gradient(135deg, #0d2744, #2e6da4 50%, #5dade2); }
.g13 { background: linear-gradient(135deg, #3d1000, #a04000 50%, #e67e22); }
.g14 { background: linear-gradient(135deg, #063d2e, #117a65 50%, #48c9b0); }
.g15 { background: linear-gradient(135deg, #1a0d33, #5b2c6f 50%, #af7ac5); }

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 18px 16px;
  border-top: 3px solid var(--accent);
}
.resource-card h3 { font-size: 15px; margin-bottom: 8px; font-family: var(--serif); }
.resource-card p { font-size: 12px; color: #666; margin-bottom: 10px; }
.resource-card a.btn-read { margin-top: 0; }

/* Category strip on homepage */
.cat-strip {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.cat-strip a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  padding: 14px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #333;
  text-decoration: none;
  transition: all .15s;
  line-height: 1.3;
}
.cat-strip a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.cat-strip a span {
  display: block !important;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
  line-height: 1.1;
}
.cat-strip a:hover span { color: #fff; }

/* Stats bar */
.stats-bar {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
  text-align: center;
}
.stats-bar > div {
  display: block;
  padding: 14px 8px;
  border-right: 1px solid var(--border);
}
.stats-bar > div:last-child { border-right: none; }
.stats-bar strong {
  display: block !important;
  font-size: 20px;
  color: var(--accent);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.stats-bar span {
  display: block !important;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #888;
  line-height: 1.3;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .featured-banner { grid-template-columns: 1fr; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .post-item { grid-template-columns: 1fr; }
  .post-item .thumb { height: 160px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 10px 9px; font-size: 10px; }
  .logo h1 { font-size: 26px; }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-inner { grid-template-columns: 1fr; }
  .header-search input { width: 140px; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
}
