/*
Theme Name: junkremovalfurniture
Theme URI: https://junkremovalfurniture.com
Author: junkremovalfurniture
Author URI: https://junkremovalfurniture.com
Description: Professional WordPress theme for junkremovalfurniture — UAE's premium junk removal and furniture disposal service. Includes contact forms, booking system, admin dashboard, email notifications, floating WhatsApp/Call buttons, and fully responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junkexperts
Tags: business, one-column, custom-menu, featured-images, theme-options
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fdba74;
  --primary-ultra-light: #fff7ed;
  --secondary: #334155;
  --secondary-dark: #1e293b;
  --secondary-light: #64748b;
  --light: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   BASE RESET & TYPOGRAPHY
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: var(--light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f7fafc; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: fixed;
  width: 100%;
  z-index: 50;
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
#navbar.transparent {
  background-color: transparent;
  box-shadow: none;
}
.logo-text {
  font-weight: 700;
  letter-spacing: -0.5px;
}
body.is-homepage #navbar.transparent .logo-text {
  color: white;
}
#navbar .logo-text span {
  color: var(--primary) !important;
}
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  margin: 0 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
}
body.is-homepage #navbar.transparent .nav-link {
  color: white;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--primary) !important;
}
.nav-link:hover::after {
  width: 100%;
}
.book-now-btn {
  transition: all 0.3s ease !important;
}
.book-now-btn:hover {
  background-color: #e64a19 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(229,74,25,0.3);
}

/* Mobile Menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, visibility 0.4s ease-out;
  z-index: 40;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  visibility: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.05);
  background-color: white;
}
#mobile-menu.open {
  max-height: 400px;
  visibility: visible;
}
.nav-link-mobile {
  display: block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f3f4f6;
}
.nav-link-mobile:hover {
  color: var(--primary);
  background-color: rgba(249,115,22,0.05);
  padding-left: 2rem;
}
#menu-toggle {
  position: relative;
  z-index: 50;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 8px;
  background: none;
  border: none;
}
#menu-toggle:hover {
  background-color: rgba(255,127,80,0.1);
}
@media (min-width: 768px) {
  #menu-toggle { display: none; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.9));
}
.pulse-dot {
  width: 10px; height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background-color: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
.card-hover-effect:hover .card-overlay {
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255,127,80,0.3);
}
.btn-outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-item {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  background: #fff;
  transition: background 0.3s;
}
.faq-question:hover {
  background: var(--primary-ultra-light);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.25rem;
  color: var(--primary);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: #fff;
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT / BOOKING FORMS
   ============================================ */
.je-form-wrap {
  background: #f9fafb;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid #e5e7eb;
  max-width: 700px;
  margin: 0 auto;
  font-family: -apple-system, 'DM Sans', sans-serif;
}
.je-form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #111827;
}
.je-form-wrap > p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.je-booking-wrap {
  background: #fff;
  border: 2px solid var(--primary);
}
.je-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.je-field { margin-bottom: 14px; }
.je-field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #374151;
}
.je-field input,
.je-field select,
.je-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.je-field input:focus,
.je-field select:focus,
.je-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234,88,12,0.1);
}
.je-field textarea { resize: vertical; min-height: 90px; }
.je-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  transition: background 0.2s, transform 0.2s;
  margin-top: 6px;
}
.je-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.je-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.je-msg {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.je-msg.je-success {
  background: #f0fdf4;
  border: 1px solid #16a34a;
  color: #15803d;
}
.je-msg.je-error {
  background: #fef2f2;
  border: 1px solid #dc2626;
  color: #dc2626;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.je-floats {
  position: fixed;
  bottom: 2rem;
  width: 100%;
  padding: 0 1rem;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
}
.je-float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  pointer-events: auto;
  position: relative;
  overflow: visible;
  color: #fff;
}
.je-float-btn:hover {
  transform: scale(1.1);
}
.je-call {
  background: var(--primary);
}
.je-call::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(249,115,22,0.5);
  animation: phone-pulse 2s infinite;
  z-index: -1;
}
.je-wa {
  background: #25d366;
}
.je-wa::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(34,197,94,0.5);
  animation: phone-pulse 2s infinite;
  z-index: -1;
}
@keyframes phone-pulse {
  0% { transform: scale(0.95); opacity: 1; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
.je-float-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #1f2937;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.je-float-btn:hover .je-float-tooltip {
  opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #111827;
  color: #fff;
  padding: 3rem 0 0;
}
.site-footer a {
  color: #9ca3af;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 2rem;
  padding: 1.5rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ============================================
   PAGE HEADERS (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-dark), var(--dark));
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -25%;
  width: 50%; height: 200%;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
}
.page-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.25rem; }
  p { font-size: 0.95rem; }
  .je-row { grid-template-columns: 1fr; }
  .je-form-wrap { padding: 20px; }
  .hero-section { min-height: 80vh; }
  .page-hero { padding: 6rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }
  .btn-lg { padding: 0.75rem 1.5rem !important; }
  .je-float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .hero-section { min-height: 70vh; }
  .page-hero { padding: 5rem 0 2rem; }
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */
.je-admin { font-family: -apple-system, sans-serif; }
.je-stats-row { display: flex; gap: 16px; margin: 20px 0; flex-wrap: wrap; }
.je-stat-card { padding: 20px 28px; border-radius: 10px; text-align: center; min-width: 120px; }
.je-stat-orange { background: #fff7ed; border: 2px solid #ea580c; }
.je-stat-green  { background: #f0fdf4; border: 2px solid #16a34a; }
.je-stat-blue   { background: #eff6ff; border: 2px solid #2563eb; }
.je-stat-gray   { background: #f9fafb; border: 2px solid #9ca3af; }
.je-stat-num { font-size: 2rem; font-weight: 900; }
.je-stat-orange .je-stat-num { color: #ea580c; }
.je-stat-green .je-stat-num  { color: #16a34a; }
.je-stat-blue .je-stat-num   { color: #2563eb; }
.je-stat-gray .je-stat-num   { color: #6b7280; }
.je-stat-lbl { font-size: 12px; color: #666; margin-top: 4px; font-weight: 600; }
.je-filters { margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.je-table td, .je-table th { vertical-align: middle !important; font-size: 13px; }

/* ============================================
   UTILITY HELPERS
   ============================================ */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.text-primary-dark { color: var(--primary-dark); }
.bg-primary-ultra-light { background-color: var(--primary-ultra-light); }
.section-shapes { position: relative; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
