/*
Theme Name: MZ Services Theme (Premium Edition)
Theme URI: https://mzservices.com
Author: MZ Services
Author URI: https://mzservices.com
Description: Ultra-premium dynamic WordPress theme for MZ Services featuring integrated PhonePe/UPI checkout, interactive tour trip planner, website cost calculator, and modern glassmorphism design.
Version: 2.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mz-services
*/

:root {
  --mz-navy-950: #060b14;
  --mz-navy-900: #0b1329;
  --mz-navy-800: #13203f;
  --mz-navy-700: #1e293b;
  --mz-gold-400: #fbbf24;
  --mz-gold-500: #d97706;
  --mz-gold-600: #b45309;
  --mz-emerald-500: #059669;
  --mz-emerald-600: #047857;
  --mz-emerald-400: #10b981;
  --mz-accent-purple: #8b5cf6;
  --mz-phonepe-purple: #5f259f;
  --mz-phonepe-purple-dark: #4b1c7f;
  --mz-card-bg: #ffffff;
  --mz-bg-light: #f8fafc;
  --mz-text-dark: #0f172a;
  --mz-text-muted: #64748b;
  --mz-border-color: #e2e8f0;
  --mz-radius: 16px;
  --mz-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --mz-shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --mz-shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--mz-text-dark);
  background-color: var(--mz-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.mz-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Navbar */
.mz-navbar {
  background: rgba(11, 19, 41, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.mz-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mz-brand-logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}
.mz-brand-logo i {
  color: var(--mz-gold-400);
}
.mz-brand-logo span.accent {
  color: var(--mz-gold-400);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mz-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.mz-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  position: relative;
  padding: 6px 0;
}
.mz-nav-links a:hover, .mz-nav-links a.active {
  color: #ffffff;
}
.mz-nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--mz-gold-400);
  border-radius: 2px;
}
.mz-cta-btn {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0b1329 !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mz-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
}

/* Hero Section */
.mz-hero {
  background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.15) 0%, transparent 40%),
              linear-gradient(180deg, #0b1329 0%, #060b14 100%);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.mz-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1590050752117-238cb0fb12b1?auto=format&fit=crop&w=1920&q=80') center/cover;
  opacity: 0.18;
  pointer-events: none;
}
.mz-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.mz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 24px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--mz-gold-400);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mz-hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.mz-hero h1 span.gradient-gold {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mz-hero p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Tab Switcher */
.mz-tab-container {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: 40px;
  display: inline-flex;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}
.mz-tab-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.mz-tab-btn.active {
  background: var(--mz-emerald-500);
  color: #fff;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}
.mz-tab-btn.web-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Sections */
.mz-section {
  padding: 85px 0;
  position: relative;
}
.mz-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}
.mz-section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--mz-navy-950);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.mz-section-header p {
  color: var(--mz-text-muted);
  font-size: 16px;
}

/* Cards & Grids */
.mz-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.mz-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 30px;
}
.mz-card {
  background: var(--mz-card-bg);
  border-radius: var(--mz-radius);
  overflow: hidden;
  box-shadow: var(--mz-shadow-sm);
  border: 1px solid var(--mz-border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.mz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mz-shadow-xl);
  border-color: rgba(217, 119, 6, 0.3);
}
.mz-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.mz-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mz-card:hover .mz-card-img {
  transform: scale(1.08);
}
.mz-card-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 19, 41, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.mz-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mz-card-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--mz-emerald-600);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.mz-card-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--mz-navy-950);
}
.mz-card-features {
  list-style: none;
  font-size: 13px;
  color: var(--mz-text-muted);
  margin-bottom: 20px;
}
.mz-card-features li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mz-card-features li i {
  color: var(--mz-emerald-500);
}
.mz-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mz-price-tag {
  font-size: 24px;
  font-weight: 800;
  color: var(--mz-navy-950);
}
.mz-price-tag span {
  font-size: 13px;
  font-weight: 500;
  color: var(--mz-text-muted);
}

/* Dynamic Trip Planner & Web Cost Calculator Box */
.mz-interactive-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.mz-interactive-panel h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--mz-navy-950);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* PhonePe Integrated Checkout Modal */
.mz-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.mz-modal-content {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.mz-modal-header {
  background: linear-gradient(135deg, var(--mz-navy-950), var(--mz-navy-900));
  color: #fff;
  padding: 24px 28px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mz-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mz-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.mz-modal-body {
  padding: 28px;
}

/* Payment Gateway Selector */
.mz-pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.mz-pay-opt {
  border: 2px solid var(--mz-border-color);
  padding: 14px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  font-weight: 700;
  font-size: 14px;
}
.mz-pay-opt.active {
  border-color: var(--mz-phonepe-purple);
  background: #fbf7ff;
  color: var(--mz-phonepe-purple);
}
.mz-phonepe-badge {
  background: var(--mz-phonepe-purple);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* Floating WhatsApp */
.mz-floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.2s;
}
.mz-floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Footer */
.mz-footer {
  background-color: var(--mz-navy-950);
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mz-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.mz-footer h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}
.mz-footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

@media (max-width: 900px) {
  .mz-hero h1 { font-size: 38px; }
  .mz-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mz-nav-links { display: none; }
}
