/* ==========================================================================
   PRV Tech - Custom Stylesheet
   Pune & Kolhapur based Printing Press, Stationery & Design House
   ========================================================================== */

:root {
  --brand-cyan:   #05759F;
  --brand-pink:   #EC008B;
  --brand-blue:   #00ADEF;
  --brand-yellow: #E3D52A;
  --ink:          #222;
  --muted:        #6b7280;
  --bg:           #ffffff;
  --bg-soft:      #f7f9fc;
  --border:       #e5e7eb;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-cyan); text-decoration: none; }
a:hover { color: var(--brand-pink); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand-name { font-weight: 800; color: var(--ink); letter-spacing: .5px; }

.nav-toggle {
  background: transparent; border: 0; font-size: 24px; cursor: pointer;
  display: none; color: var(--ink);
}
.nav-list {
  list-style: none; display: flex; gap: 6px; margin: 0; padding: 0;
}
.nav-list a {
  display: inline-block; padding: 10px 14px; color: var(--ink);
  font-weight: 600; font-size: 0.95rem; border-radius: 6px;
}
.nav-list a:hover, .nav-list a.active { color: var(--brand-cyan); background: var(--bg-soft); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-top: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-list.open { max-height: 480px; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 20px; border-radius: 0; border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
              url('../images/slider/bg1.jpg') center/cover no-repeat;
  padding: 110px 0;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 span { color: var(--brand-yellow); }
.hero p { font-size: 1.1rem; max-width: 640px; }
.hero .cta { margin-top: 22px; display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  font-weight: 600; cursor: pointer; transition: all .18s ease;
  border: 2px solid transparent; font-size: 0.95rem;
}
.btn-primary { background: var(--brand-cyan); color: #fff; }
.btn-primary:hover { background: #045f80; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--brand-cyan); }
.btn-pink { background: var(--brand-pink); color: #fff; }
.btn-pink:hover { background: #c70778; color: #fff; }

/* ==========================================================================
   Service tiles
   ========================================================================== */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.service {
  padding: 40px 28px; color: #fff; min-height: 240px;
}
.service h3 { color: #fff; margin-bottom: 10px; }
.service p { margin: 0; font-size: 0.95rem; opacity: .95; }
.svc-1 { background: var(--brand-cyan); }
.svc-2 { background: var(--brand-pink); }
.svc-3 { background: var(--brand-blue); }
.svc-4 { background: var(--brand-yellow); color: #2a2a2a; }
.svc-4 h3 { color: #2a2a2a; }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ==========================================================================
   Generic grid
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-body { padding: 18px; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   Featured row (image + content)
   ========================================================================== */
.feature-row {
  display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center;
  margin-bottom: 36px;
}
.feature-row.reverse { grid-template-columns: 2fr 1fr; }
.feature-row img { border-radius: 10px; box-shadow: var(--shadow-sm); }
@media (max-width: 800px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse > :first-child { order: 2; }
}

/* ==========================================================================
   Stats (Fun Facts)
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .num { font-size: 2.6rem; font-weight: 800; color: var(--brand-cyan); }
.stats .lbl { color: var(--muted); font-size: 0.9rem; letter-spacing: .5px; text-transform: uppercase; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.process .step {
  text-align: center; padding: 14px 6px; border-radius: 10px; background: var(--bg-soft);
  border: 1px solid var(--border);
}
.process .step .num {
  width: 36px; height: 36px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--brand-cyan); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.process .step .lbl { font-size: 0.85rem; font-weight: 600; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Portfolio filter
   ========================================================================== */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 28px;
  list-style: none; padding: 0;
}
.filters button {
  background: transparent; border: 1px solid var(--border); padding: 8px 16px;
  border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 0.9rem;
}
.filters button.active, .filters button:hover {
  background: var(--brand-cyan); color: #fff; border-color: var(--brand-cyan);
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-item {
  position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--border);
  background: #fff;
}
.portfolio-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600;
}

/* ==========================================================================
   Skills bars
   ========================================================================== */
.skill { margin-bottom: 14px; }
.skill .label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.skill .bar { height: 8px; background: var(--border); border-radius: 999px; overflow: hidden; }
.skill .fill { height: 100%; background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue)); border-radius: 999px; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card { text-align: center; padding: 22px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
  color: #fff; font-size: 1.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--brand-pink); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.office {
  padding: 18px; border-left: 4px solid var(--brand-cyan);
  background: var(--bg-soft); border-radius: 6px; margin-bottom: 16px;
}
.office strong { display: block; color: var(--brand-cyan); margin-bottom: 4px; }
.office address { font-style: normal; line-height: 1.65; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 1rem; background: #fff;
}
.form-control:focus { outline: 2px solid var(--brand-cyan); outline-offset: 1px; border-color: var(--brand-cyan); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #1f2937; color: #d1d5db; padding: 48px 0 24px; margin-top: 60px; }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: var(--brand-yellow); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; font-size: 0.9rem; }
.copy { border-top: 1px solid #374151; padding-top: 16px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Utilities + Animations
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--muted); }

.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none;
  align-items: center; justify-content: center; z-index: 2000; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 92vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: transparent; border: 0;
  color: #fff; font-size: 36px; cursor: pointer;
}
