/*
Theme Name: Zen Web Media Modern
Theme URI: https://zenwebmedia.com
Author: Jose
Author URI: https://zenwebmedia.com
Description: A modern, lightweight custom WordPress theme for Zen Web Media.
Version: 1.0
Text Domain: zenwebmedia
*/

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #0f172a;
  --text: #334155;
  --light-text: #64748b;
  --background: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --accent: #14b8a6;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--background);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: var(--light-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--dark);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--primary);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--text);
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.16), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(20, 184, 166, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.hero-copy p {
  max-width: 670px;
  margin: 24px 0 32px;
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin-top: 22px;
  font-size: 0.92rem;
}

.browser-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-content {
  padding: 34px;
}

.mockup-badge {
  width: 120px;
  height: 12px;
  border-radius: 999px;
  background: #bfdbfe;
  margin-bottom: 22px;
}

.mockup-title {
  width: 86%;
  height: 24px;
  border-radius: 8px;
  background: var(--dark);
  margin-bottom: 12px;
}

.mockup-title.short {
  width: 65%;
}

.mockup-copy {
  width: 95%;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  margin-top: 11px;
}

.mockup-copy.short {
  width: 72%;
}

.mockup-button {
  width: 145px;
  height: 42px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--primary);
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mockup-card {
  height: 105px;
  border-radius: 13px;
  background: linear-gradient(145deg, #eff6ff, #e2e8f0);
  border: 1px solid var(--border);
}

/* Services */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  font-size: 1.5rem;
  background: #eff6ff;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-weight: 800;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.project-image {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(20, 184, 166, 0.72)),
    #cbd5e1;
}

.project-image span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 23, 42, 0.45);
  font-size: 0.82rem;
  font-weight: 700;
}

.project-content {
  padding: 24px;
}

.project-content p {
  margin-bottom: 16px;
}

.project-link {
  color: var(--primary);
  font-weight: 700;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 65px;
}

.about-image {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 35px;
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(37, 99, 235, 0.8)),
    #334155;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-image strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1.1;
}

.about-content p {
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.stars {
  margin-bottom: 18px;
  letter-spacing: 3px;
  color: #f59e0b;
}

.testimonial blockquote {
  color: var(--text);
  font-size: 1.04rem;
  margin-bottom: 22px;
}

.testimonial cite {
  color: var(--light-text);
  font-style: normal;
  font-weight: 700;
}

/* CTA and form */

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  padding: 55px;
  border-radius: 28px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.contact-copy h2,
    .contact-copy p {
  color: var(--white);
}

.contact-copy p {
  opacity: 0.75;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #475569;
  border-radius: 10px;
  color: var(--white);
  background: #1e293b;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #60a5fa;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  color: #99f6e4;
  font-size: 0.92rem;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: #020617;
  color: #cbd5e1;
}

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

.footer-content p {
  color: #94a3b8;
}

/* Responsive */

@media (max-width: 950px) {
  .hero-grid,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .portfolio-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 80px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-note {
    text-align: center;
  }

  .browser-window {
    max-width: 650px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 4%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 13px 0;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .card-grid,
  .portfolio-grid,
  .testimonial-grid,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 32px 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}