/* ========================================
   JP Aluminium Kitchen & Cupboard Interior Works
   Clean Static Rebuild — style.css
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  color: #333;
  line-height: 1.7;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1 { font-weight: 900; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }
h4, h5, h6 { font-weight: 500; }
button, .btn { font-family: 'Rubik', sans-serif; font-weight: 500; cursor: pointer; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Top Bar --- */
.top-bar {
  background: #222;
  color: #aaa;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar__text { flex: 1; }
.top-bar__social a {
  color: #aaa;
  margin-left: 12px;
  transition: color .3s;
}
.top-bar__social a:hover { color: #f68e13; }

/* --- Header --- */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 12px;
}
.header__logo img {
  height: 60px;
  width: auto;
}
.header__info {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: #555;
  flex-wrap: wrap;
}
.header__info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header__info-item .icon {
  color: #f68e13;
  font-size: 16px;
}

/* --- Nav --- */
.nav { background: #f68e13; }
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__menu {
  display: flex;
  gap: 0;
}
.nav__menu a {
  display: block;
  padding: 14px 22px;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  transition: background .3s;
}
.nav__menu a:hover,
.nav__menu a.active {
  background: rgba(0,0,0,.15);
}
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  padding: 10px;
  cursor: pointer;
}

/* --- Hero Slider --- */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}
.hero__subtitle {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #f68e13;
}
.hero__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 700px;
}
.hero__desc {
  font-size: 16px;
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 300;
}
.hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s;
}
.hero__dot.active { background: #f68e13; }

/* --- Page Banner (inner pages) --- */
.page-banner {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('../images/slide-3.jpg') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.page-banner h1 {
  font-size: 40px;
  font-weight: 900;
}
.page-banner .breadcrumb {
  margin-top: 10px;
  font-size: 14px;
  color: #ddd;
}
.page-banner .breadcrumb a { color: #f68e13; }

/* --- Section Defaults --- */
.section {
  padding: 70px 0;
}
.section--gray { background: #f7f7f7; }
.section--dark {
  background: #222;
  color: #fff;
}
.section__header {
  text-align: center;
  margin-bottom: 50px;
}
.section__header h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}
.section--dark .section__header h2 { color: #fff; }
.section__header .divider {
  width: 60px;
  height: 3px;
  background: #f68e13;
  margin: 12px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  transition: all .3s;
  border: none;
}
.btn--primary {
  background: #f68e13;
  color: #fff;
}
.btn--primary:hover { background: #d97a0a; }
.btn--outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background: #f68e13;
  border-color: #f68e13;
}
.btn--dark {
  background: #222;
  color: #fff;
}
.btn--dark:hover { background: #111; }

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  background: #f68e13;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #fff;
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #222;
}
.service-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* --- Design Icons Row --- */
.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.design-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.design-item h4 {
  font-size: 16px;
  color: #222;
  margin-bottom: 6px;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.process-step {
  position: relative;
}
.process-step__number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f68e13;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 {
  font-size: 16px;
  color: #222;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: #666;
}

/* --- Why Choose Us + Contact Form row --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.why-choose h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #222;
}
.why-choose p {
  color: #666;
  margin-bottom: 20px;
  font-size: 15px;
}
.usp-list li {
  padding: 8px 0;
  font-size: 15px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
}
.usp-list li::before {
  content: '\2713';
  color: #f68e13;
  font-weight: 700;
  font-size: 18px;
}

/* --- Contact Form --- */
.contact-form {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 8px;
}
.contact-form h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f68e13;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* --- Portfolio Gallery --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform .5s;
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(246,142,19,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}
.portfolio-item__overlay span {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 6px;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 700;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)), url('../images/slide-4.jpg') center/cover no-repeat fixed;
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 15px;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: #0c1f38;
  color: #aab;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #f68e13;
}
.footer p, .footer li {
  font-size: 14px;
  line-height: 1.8;
}
.footer a { transition: color .3s; }
.footer a:hover { color: #f68e13; }
.footer__services li { padding: 4px 0; }
.footer__services a::before {
  content: '\203A';
  margin-right: 8px;
  color: #f68e13;
}
.footer__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.footer__gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity .3s;
}
.footer__gallery img:hover { opacity: .7; }

/* --- Bottom Bar --- */
.bottom-bar {
  background: #f68e13;
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 400;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  background: #2db742;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* --- Contact Details Page --- */
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.contact-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  background: #f68e13;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: #fff;
}
.contact-card h4 {
  margin-bottom: 8px;
  color: #222;
}
.contact-card p {
  font-size: 14px;
  color: #666;
}

/* --- Working Hours Table --- */
.hours-table {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 40px;
  border-collapse: collapse;
}
.hours-table th,
.hours-table td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.hours-table th {
  font-weight: 500;
  color: #222;
}
.hours-table td { color: #666; }
.hours-table tr:last-child td { color: #e74c3c; font-weight: 500; }

/* --- Google Map --- */
.map-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}
.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 36px; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; text-align: center; }
  .header .container { flex-direction: column; }
  .header__info { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .nav__menu.open { display: flex; }
  .nav__menu a {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .nav .container { flex-wrap: wrap; }
  .hero { height: 420px; }
  .hero__title { font-size: 28px; }
  .hero__desc { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 50px 0; }
  .page-banner h1 { font-size: 28px; }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .design-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero { height: 380px; }
  .hero__title { font-size: 24px; }
}
