/* Prostar Windows – Modern Website Styles */
:root {
  --orange: #E67E22;
  --orange-dark: #D35400;
  --red: #C0392B;
  --gradient: linear-gradient(135deg, #F39C12 0%, #E67E22 40%, #D35400 70%, #C0392B 100%);
  --black: #1a1a1a;
  --dark: #2c2c2c;
  --grey: #555;
  --light-grey: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --radius: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--orange-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.1); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(211,84,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211,84,0,0.4);
  color: white !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #fff 0%, #fff8f0 50%, #fef5eb 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 120%;
  background: var(--gradient);
  opacity: 0.07;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: rgba(230,126,34,0.12);
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--grey);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 6px 25px rgba(211,84,0,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(211,84,0,0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid #ddd;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange-dark);
}

.stat span {
  font-size: 0.9rem;
  color: var(--grey);
}

/* ========== SECTIONS ========== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.section-header .label {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--grey);
  font-size: 1.05rem;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.about-text p {
  color: var(--grey);
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--light-grey);
  padding: 1rem;
  border-radius: var(--radius);
}

.feature-icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
}

.feature span {
  font-size: 0.8rem;
  color: var(--grey);
}

.about-card {
  background: var(--gradient);
  color: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  opacity: 0.95;
}

.about-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ========== SERVICES ========== */
.services {
  background: var(--light-grey);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  border-color: rgba(230,126,34,0.2);
}

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(230,126,34,0.15), rgba(211,84,0,0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  color: var(--orange-dark);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--grey);
}

/* ========== GALLERY ========== */
.gallery {
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-grey);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-note {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #fff8f0;
  border-radius: var(--radius);
  border: 1px dashed var(--orange);
  color: var(--grey);
  font-size: 0.95rem;
}

.gallery-note strong { color: var(--orange-dark); }

/* ========== DESIGN / CAD ========== */
.design {
  background: var(--light-grey);
}

.design-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.design-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.design-box p {
  color: var(--grey);
  margin-bottom: 1.2rem;
}

.design-badge {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========== CONTACT ========== */
.contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.contact-item .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(230,126,34,0.15), rgba(211,84,0,0.12));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-dark);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0.15rem;
}

.contact-item span, .contact-item a {
  font-size: 0.95rem;
  color: var(--grey);
}

.contact-form {
  background: var(--light-grey);
  padding: 2rem;
  border-radius: 16px;
}

.contact-form h3 {
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: white;
}

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

.form-group textarea { min-height: 110px; resize: vertical; }

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

/* ========== FOOTER ========== */
footer {
  background: var(--black);
  color: #ccc;
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: #aaa;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover { opacity: 1; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 1rem;
  }

  .nav-links.open + .nav-cta,
  .nav.open .nav-cta {
    display: inline-flex;
    margin: 0.5rem 1.5rem 1rem;
  }

  .hero-stats { gap: 1.5rem; }
  .about-grid, .design-box, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding: 6rem 0 3rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 2.5rem; }
  section { padding: 3.5rem 0; }
}

/* ========== BEFORE & AFTER ========== */
.before-after {
  background: var(--light-grey);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ba-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ba-before,
.ba-after {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #eee;
}

.ba-before img,
.ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  z-index: 2;
}

.ba-label.after {
  background: var(--orange-dark);
  left: auto;
  right: 10px;
}

.ba-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f5f5f5, #eee);
}

.ba-caption {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  border-top: 1px solid #f0f0f0;
}

@media (max-width: 600px) {
  .ba-images {
    grid-template-columns: 1fr;
  }
  .ba-label.after {
    left: 10px;
    right: auto;
  }
}
