/* ===== PRRAY FAB INDUSTRIES - Shared Styles ===== */
/* Color Palette from Logo:
   Primary Blue: #0D6EAE
   Secondary Green: #7AB648
   Accent Gold: #E8A815
   Dark: #0a3d62
   Light BG: #f4f7fa
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #0D6EAE;
  --blue-dark: #0a3d62;
  --blue-light: #e8f1fa;
  --green: #7AB648;
  --green-dark: #5a8e30;
  --gold: #E8A815;
  --gold-light: #fdf3d7;
  --dark: #1a1a2e;
  --gray: #555;
  --light: #f4f7fa;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
}

a { text-decoration: none; color: var(--blue); transition: var(--transition); }
a:hover { color: var(--green); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 6px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold); }
.top-bar a:hover { color: var(--white); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 15px; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 55px; width: auto; }
.logo-text { font-size: 1.1rem; font-weight: 700; color: var(--blue); line-height: 1.2; }
.logo-text small { display: block; font-size: 0.65rem; font-weight: 400; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; }

/* ===== NAVIGATION ===== */
.nav-menu { list-style: none; display: flex; gap: 5px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--blue);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  width: 28px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(122,182,72,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(232,168,21,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; position: relative; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 25px; opacity: 0.95; position: relative; }
.hero .tagline {
  display: inline-block;
  background: rgba(232,168,21,0.2);
  border: 1px solid var(--gold);
  padding: 8px 25px;
  border-radius: 30px;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: #d49a10; color: var(--dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.section-blue { background: var(--blue); color: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-blue .section-title h2 { color: var(--white); }
.section-title .underline {
  width: 60px; height: 4px;
  background: var(--gold);
  margin: 12px auto 15px;
  border-radius: 2px;
}
.section-title p { color: var(--gray); max-width: 650px; margin: 0 auto; font-size: 1.05rem; }
.section-blue .section-title p { color: rgba(255,255,255,0.85); }

/* ===== GRID SYSTEM ===== */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-body { padding: 25px; }
.card-body h3 { color: var(--blue); margin-bottom: 10px; font-size: 1.15rem; }
.card-body p { color: var(--gray); font-size: 0.95rem; }
.card-icon {
  width: 60px; height: 60px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--blue);
}
.card-icon.green { background: rgba(122,182,72,0.12); color: var(--green); }
.card-icon.gold { background: var(--gold-light); color: var(--gold); }

/* ===== FEATURE BOXES ===== */
.feature-box {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--gold);
}
.feature-box .icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}
.feature-box h3 { color: var(--blue); margin-bottom: 10px; }
.feature-box p { color: var(--gray); font-size: 0.93rem; }

/* ===== ABOUT SPLIT ===== */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-content h2 { color: var(--blue); font-size: 1.8rem; margin-bottom: 15px; }
.about-content p { color: var(--gray); margin-bottom: 15px; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== LIST STYLES ===== */
.check-list { list-style: none; }
.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--gray);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

.bullet-list { list-style: none; }
.bullet-list li {
  padding: 6px 0 6px 25px;
  position: relative;
  color: var(--gray);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 50px 0;
  color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--gold); margin-bottom: 5px; }
.stat-item p { font-size: 0.95rem; opacity: 0.9; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .product-img {
  height: 220px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--blue);
  overflow: hidden;
}
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .product-info { padding: 20px; }
.product-card .product-info h3 { color: var(--blue); margin-bottom: 8px; font-size: 1.1rem; }
.product-card .product-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 12px; }
.product-card .product-info .btn { padding: 8px 20px; font-size: 0.85rem; }

/* ===== CATALOGUE TABLE ===== */
.catalogue-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.catalogue-table thead { background: var(--blue); color: var(--white); }
.catalogue-table th, .catalogue-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}
.catalogue-table tbody tr:hover { background: var(--blue-light); }
.catalogue-table .category-row {
  background: var(--gold-light);
  font-weight: 700;
  color: var(--blue-dark);
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 20px;
}
.contact-info-box h3 { color: var(--blue); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.contact-info-box p { color: var(--gray); margin-bottom: 8px; }
.contact-info-box a { color: var(--blue); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 35px;
}
.contact-form h3 { color: var(--blue); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--dark); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,110,174,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-section p { max-width: 600px; margin: 0 auto 25px; opacity: 0.95; }

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer p { font-size: 0.9rem; margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer a:hover { color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}
.footer-about-text { margin-bottom: 15px; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-header p { opacity: 0.9; font-size: 1.05rem; }
.breadcrumb { margin-top: 15px; font-size: 0.9rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: 0.7; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue-light);
}
.timeline-item { position: relative; margin-bottom: 35px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 5px;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--blue);
  border-radius: 50%;
}
.timeline-item h3 { color: var(--blue); margin-bottom: 5px; }
.timeline-item p { color: var(--gray); font-size: 0.95rem; }

/* ===== TABS ===== */
.tab-nav { display: flex; gap: 5px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 25px;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--gray);
  font-family: inherit;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue); }
.tab-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: rgba(122,182,72,0.12); color: var(--green); }
.badge-gold { background: var(--gold-light); color: #b8860b; }

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 350px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 15px; }

  .hero { padding: 50px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .section { padding: 50px 0; }
  .section-title h2 { font-size: 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .stat-item h3 { font-size: 2rem; }

  .top-bar .container { justify-content: center; font-size: 0.8rem; }

  .logo-text { font-size: 0.95rem; }
  .logo img { height: 45px; }

  .page-header { padding: 35px 0; }
  .page-header h1 { font-size: 1.7rem; }

  .catalogue-table { font-size: 0.85rem; }
  .catalogue-table th, .catalogue-table td { padding: 10px 12px; }

  .tab-nav { gap: 8px; }
  .tab-btn { padding: 8px 18px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .hero .btn + .btn { margin-top: 10px; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.gap-15 { gap: 15px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.inline-flex { display: inline-flex; align-items: center; gap: 8px; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 45px; height: 45px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top:hover { background: var(--gold); }
.scroll-top.show { display: flex; }

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 85px; right: 30px;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; color: var(--white); }
