/* ==========================================================================
   EGEHOLOD - Modern Industrial Cooling Systems Stylesheet
   Color Palette: Deep Navy, Ice Blue, Frost White, Emerald Green
   ========================================================================== */

:root {
  --primary-navy: #002b49;
  --primary-dark: #001e3d;
  --ice-blue: #00b4d8;
  --ice-blue-hover: #0096c7;
  --ice-light: #f0f7fb;
  --ice-lighter: #e0f2fe;
  --accent-blue: #0088cc;
  --accent-green: #25d366;
  --accent-green-hover: #1ebd5a;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 43, 73, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 43, 73, 0.1), 0 8px 10px -6px rgba(0, 43, 73, 0.05);
  --shadow-lg: 0 20px 35px -5px rgba(0, 43, 73, 0.15), 0 10px 15px -5px rgba(0, 43, 73, 0.08);
  --shadow-hover: 0 22px 45px -8px rgba(0, 136, 204, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

a {
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #e2e8f0;
}

.top-bar a:hover {
  color: var(--ice-blue);
}

.btn-whatsapp-sm {
  background-color: var(--accent-green);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-whatsapp-sm:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.main-navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.main-navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 43, 73, 0.1);
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px !important;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-blue);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--accent-blue);
  transform: scaleX(0);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown-item {
  font-weight: 500;
  padding: 8px 20px;
  color: var(--text-dark);
  font-size: 0.92rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--ice-light);
  color: var(--accent-blue);
  padding-left: 24px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  min-height: 580px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 30, 61, 0.92) 0%, rgba(0, 43, 73, 0.8) 50%, rgba(0, 43, 73, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  font-weight: 400;
  max-width: 620px;
  margin-bottom: 35px;
  line-height: 1.6;
}

.btn-hero-quote {
  background-color: var(--primary-navy);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-hero-quote:hover {
  background-color: #ffffff;
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-hero-wa {
  background-color: var(--accent-green);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  border: 2px solid var(--accent-green);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-hero-wa:hover {
  background-color: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   QUICK SERVICES CARDS (MATCHING SCREENSHOT)
   ========================================================================== */
.services-quick-section {
  padding: 60px 0 30px;
  background-color: #f8fafc;
}

.service-quick-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 43, 73, 0.06);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.service-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--ice-blue);
}

.service-quick-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background-color: var(--ice-lighter);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.service-quick-card:hover .service-quick-icon {
  background-color: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.08);
}

.service-quick-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0;
  line-height: 1.3;
}

/* ==========================================================================
   SECTION HEADINGS & UTILITIES
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background-color: var(--ice-lighter);
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT & SERVICE CARDS
   ========================================================================== */
.product-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--ice-blue);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.product-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 43, 73, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-title a {
  color: inherit;
}

.product-title a:hover {
  color: var(--accent-blue);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.product-specs-list li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
}

.product-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--ice-blue);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* ==========================================================================
   PROJECT CARDS & GALLERY
   ========================================================================== */
.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 61, 0.95) 0%, rgba(0, 43, 73, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-location {
  font-size: 0.88rem;
  color: var(--ice-blue);
  font-weight: 500;
}

/* Gallery Grid */
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 43, 73, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  font-size: 1.5rem;
}

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

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */
.blog-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-navy) 100%);
  border-radius: 20px;
  padding: 50px 40px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding: 70px 0 25px;
  border-top: 4px solid var(--accent-blue);
}

.footer-brand h4 {
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--ice-blue);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--ice-blue);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--ice-blue);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--ice-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING ACTIONS & MOBILE BAR
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  background-color: var(--accent-green);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1000;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  background-color: var(--accent-green-hover);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.floating-telegram {
  position: fixed;
  bottom: 98px;
  right: 30px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
  z-index: 1000;
  transition: var(--transition);
}

.floating-telegram:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(34, 158, 217, 0.65);
  color: #ffffff !important;
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 1010;
  padding: 8px 10px;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
  }
  .floating-whatsapp {
    bottom: 75px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  body {
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 450px;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 1050;
  display: none;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   FORM & DETAILS STYLING
   ========================================================================== */
.form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.12);
}

.breadcrumb-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  padding: 45px 0;
  margin-bottom: 40px;
}

.breadcrumb-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumb-banner .breadcrumb-item a {
  color: var(--ice-blue);
}

.breadcrumb-banner .breadcrumb-item.active {
  color: #cbd5e1;
}
