/* =========================================
   MEES ELEVATORS - SHARED STYLESHEET
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1e293b; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #2563eb; margin-bottom: 0.625rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { font-size: 1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.625rem; border-radius: 0.5rem; font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: 2px solid transparent; text-decoration: none; font-family: inherit; }
.btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-white { background: #fff; color: #1e293b; border-color: #fff; }
.btn-white:hover { background: #f1f5f9; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline-blue { background: transparent; color: #2563eb; border-color: #2563eb; }
.btn-outline-blue:hover { background: #2563eb; color: #fff; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 0 #e2e8f0; padding: 0.75rem 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-icon { width: 40px; height: 40px; background: #2563eb; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-icon svg { width: 22px; height: 22px; fill: #fff; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .name { font-size: 0.9375rem; font-weight: 700; color: #0f172a; }
.nav-logo-text .sub { font-size: 0.75rem; color: #64748b; }
.nav-links { display: flex; align-items: center; gap: 0.125rem; list-style: none; }
.nav-links a { display: block; padding: 0.5rem 0.875rem; font-size: 0.875rem; font-weight: 500; color: #475569; border-radius: 0.375rem; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: #2563eb; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: #1e293b; transition: all 0.2s; }
.nav-phone:hover { border-color: #2563eb; color: #2563eb; }
.nav-phone svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.nav-cta { padding: 0.5rem 1.125rem; background: #2563eb; color: #fff; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; transition: background 0.2s; }
.nav-cta:hover { background: #1d4ed8; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #1e293b; border-radius: 2px; transition: all 0.3s; }
.mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem 1.5rem 1rem; background: #fff; border-top: 1px solid #f1f5f9; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.625rem 0.75rem; font-size: 0.9rem; font-weight: 500; color: #475569; border-radius: 0.375rem; }
.mobile-nav a:hover, .mobile-nav a.active { color: #fff; background: #2563eb; }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,16,40,0.82) 0%, rgba(15,30,70,0.65) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; padding-top: 7rem; }
.hero-badge { display: inline-flex; align-items: center; padding: 0.375rem 0.875rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 800; color: #fff; line-height: 1.12; max-width: 720px; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.075rem; color: rgba(255,255,255,0.82); max-width: 520px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =========================================
   PAGE HEADER (inner pages)
   ========================================= */
.page-header { position: relative; height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.page-header-bg { position: absolute; inset: 0; }
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-header-overlay { position: absolute; inset: 0; background: rgba(8,16,40,0.7); }
.page-header-content { position: relative; z-index: 1; padding: 0 1.5rem; }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto; }
.page-header-solid { background: #2563eb; height: 280px; }

/* =========================================
   ABOUT (Homepage)
   ========================================= */
.about-home-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-home-text .section-label { display: block; text-align: left; }
.about-home-text .section-title { text-align: left; }
.about-home-text p { color: #64748b; line-height: 1.8; margin-bottom: 2rem; font-size: 0.9375rem; }
.learn-more { display: inline-flex; align-items: center; gap: 0.5rem; color: #2563eb; font-weight: 600; font-size: 0.9375rem; transition: gap 0.2s; }
.learn-more:hover { gap: 0.75rem; }
.about-home-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.14); }
.about-home-img img { width: 100%; height: 460px; object-fit: cover; }

/* =========================================
   SERVICES (Homepage cards)
   ========================================= */
.services-section { background: #f8fafc; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: #fff; border-radius: 0.875rem; padding: 2rem; border: 1px solid #e9edf2; transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.09); }
.service-icon { width: 52px; height: 52px; background: #eff6ff; border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-icon svg { width: 26px; height: 26px; stroke: #2563eb; fill: none; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: #64748b; line-height: 1.65; }
.services-cta { text-align: center; margin-top: 2.5rem; }

/* =========================================
   WHY CHOOSE US
   ========================================= */
.why-section { background: #0c1f4a; }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-text .section-label { color: #93c5fd; display: block; text-align: left; }
.why-text .section-title { color: #fff; text-align: left; }
.why-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.375rem; }
.why-feature { display: flex; align-items: flex-start; gap: 1rem; }
.why-feature-icon { width: 48px; height: 48px; background: rgba(37,99,235,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-feature-icon svg { width: 22px; height: 22px; stroke: #60a5fa; fill: none; }
.why-feature-text h4 { font-size: 1rem; font-weight: 700; color: #fff; }
.why-feature-text p { font-size: 0.875rem; color: #94a3b8; margin-top: 0.2rem; }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.why-stat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.875rem; padding: 1.75rem; text-align: center; }
.why-stat .num { font-size: 2.75rem; font-weight: 800; color: #60a5fa; line-height: 1; }
.why-stat .lbl { font-size: 0.875rem; color: #94a3b8; margin-top: 0.4rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { background: #f1f5f9; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial-card { background: #fff; border-radius: 0.875rem; padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.quote-icon { color: #bfdbfe; font-size: 3rem; line-height: 1; margin-bottom: 0.75rem; font-family: Georgia, serif; }
.testimonial-text { font-size: 0.9375rem; color: #374151; line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { font-weight: 700; color: #0f172a; font-size: 0.875rem; }

/* =========================================
   EMERGENCY CTA
   ========================================= */
.emergency-section { background: #2563eb; padding: 4.5rem 0; text-align: center; }
.emergency-section h2 { font-size: clamp(1.75rem, 4vw, 2.625rem); font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.emergency-section p { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 2rem; }
.emergency-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: #0f172a; color: #94a3b8; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .nav-logo-text .name { color: #fff; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin: 1rem 0 1.25rem; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.2s; }
.footer-social a:hover { background: #2563eb; color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-heading { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #fff; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact-item svg { width: 15px; height: 15px; stroke: #3b82f6; fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: #94a3b8; transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 0; text-align: center; font-size: 0.8rem; color: #475569; }

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,0.22); transition: transform 0.2s, box-shadow 0.2s; }
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.28); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-overview-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-overview-text p { font-size: 1.0rem; color: #64748b; line-height: 1.8; margin-bottom: 1rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card { background: #fff; border-radius: 1rem; padding: 2.5rem; border: 1px solid #e2e8f0; }
.mv-card .mv-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2563eb; margin-bottom: 0.5rem; }
.mv-card h3 { font-size: 1.375rem; font-weight: 700; color: #0f172a; margin-bottom: 1rem; }
.mv-card p { color: #64748b; line-height: 1.75; font-size: 0.9375rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card { background: #f8fafc; border-radius: 0.875rem; padding: 2rem; text-align: center; }
.value-icon { width: 56px; height: 56px; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.value-icon svg { width: 26px; height: 26px; stroke: #2563eb; fill: none; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: #64748b; line-height: 1.65; }

/* =========================================
   SERVICES PAGE
   ========================================= */
.services-page-section { background: #fff; }
.services-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.service-detail-card { background: #f8fafc; border-radius: 1rem; padding: 2.25rem; border: 1px solid #e9edf2; display: flex; flex-direction: column; gap: 0.75rem; transition: border-color 0.2s; }
.service-detail-card:hover { border-color: #2563eb; }
.service-detail-card h3 { font-size: 1.2rem; font-weight: 700; color: #0f172a; }
.service-detail-card p { color: #64748b; line-height: 1.75; font-size: 0.9375rem; flex: 1; }
.nice3000-section { background: #0c1f4a; }
.nice3000-header { text-align: center; margin-bottom: 3rem; }
.nice3000-header .section-label { color: #93c5fd; }
.nice3000-header .section-title { color: #fff; }
.nice3000-header p { color: #94a3b8; max-width: 680px; margin: 0 auto; }
.nice3000-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nice3000-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.875rem; overflow: hidden; }
.nice3000-card img { width: 100%; height: 200px; object-fit: cover; }
.nice3000-card-body { padding: 1.25rem; }
.nice3000-card h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.375rem; }
.nice3000-card p { font-size: 0.875rem; color: #94a3b8; }
.services-contact-cta { background: #f8fafc; text-align: center; }
.services-contact-cta .section-title { text-align: center; }

/* =========================================
   GALLERY PAGE
   ========================================= */
.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item { border-radius: 0.75rem; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 0.5rem; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 1.75rem; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section { background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form-card { }
.contact-form-card h2 { font-size: 1.75rem; font-weight: 800; color: #0f172a; margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.375rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #d1d5db; border-radius: 0.5rem; font-size: 0.9375rem; font-family: inherit; color: #1e293b; transition: border-color 0.2s, box-shadow 0.2s; outline: none; background: #fff; }
.form-group input:focus, .form-group textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9ca3af; }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-panel h2 { font-size: 1.75rem; font-weight: 800; color: #0f172a; margin-bottom: 1.75rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.ci-icon { width: 50px; height: 50px; background: #eff6ff; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 22px; height: 22px; stroke: #2563eb; fill: none; }
.ci-text .ci-label { font-size: 0.8rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.ci-text a, .ci-text p { font-size: 1rem; font-weight: 600; color: #0f172a; }
.ci-text a:hover { color: #2563eb; }
.office-hours-card { background: #f8fafc; border-radius: 0.875rem; padding: 1.5rem; margin-top: 2rem; border: 1px solid #e9edf2; }
.office-hours-card h4 { font-weight: 700; color: #0f172a; margin-bottom: 1rem; }
.oh-row { display: flex; justify-content: space-between; font-size: 0.875rem; color: #64748b; padding: 0.5rem 0; border-bottom: 1px solid #e9edf2; }
.oh-row:last-child { border-bottom: none; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nice3000-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .about-home-inner, .why-inner, .mv-grid, .services-page-grid, .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-home-img { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .nice3000-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding-top: 5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .why-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
}
