/*
Theme Name: Alshmasi Cleaning Services
Theme URI: https://alshmasi.com
Author: Alshmasi Team
Description: Professional cleaning services theme - Exact replica of React website
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: alshmasi
*/

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

/* ===== ROOT VARIABLES - EXACT BRAND COLORS ===== */
:root {
  --brand-blue: #1B3A6E;
  --brand-aqua: #00AEE1;
  --brand-aqua-hover: #0092bd;
  --teal: #14b8a6;
  --teal-dark: #0f766e;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Brand Colors */
.text-brand-blue { color: var(--brand-blue); }
.text-brand-aqua { color: var(--brand-aqua); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-aqua { background-color: var(--brand-aqua); }

/* ===== ANIMATIONS ===== */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes pulse-bg {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.animate-pulse-dot {
  animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-bg {
  animation: pulse-bg 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ===== TRANSITIONS ===== */
.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition: transform 0.5s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

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

/* ===== SHADOWS ===== */
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  gap: 0.75rem;
}

.btn-primary {
  background: white;
  color: var(--brand-blue);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
}

.btn-aqua {
  background: var(--brand-aqua);
  color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 174, 225, 0.3);
}

.btn-aqua:hover {
  background: var(--brand-aqua-hover);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--brand-blue);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(27, 58, 110, 0.3);
}

.btn-blue:hover {
  background: var(--brand-aqua);
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  border: 1px solid #f3f4f6;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.badge-aqua {
  background: var(--brand-aqua);
  color: white;
}

.badge-premium {
  background: var(--brand-aqua);
  color: white;
}

/* ===== GRADIENTS ===== */
.gradient-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-aqua) 100%);
}

.gradient-overlay {
  background: linear-gradient(to right, rgba(27, 58, 110, 0.95), rgba(27, 58, 110, 0.75), rgba(27, 58, 110, 0.3));
}

/* ===== STAR RATINGS ===== */
.star-rating {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.star-filled {
  color: #fbbf24;
}

.star-empty {
  color: #d1d5db;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-blue);
}

h1 {
  font-size: 3rem;
  font-weight: 900;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 3.75rem; }
  h3 { font-size: 2.25rem; }
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

/* ===== GRID LAYOUTS ===== */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== HERO SECTION SPECIFIC ===== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27, 58, 110, 0.95), rgba(27, 58, 110, 0.75), rgba(27, 58, 110, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  padding: 4rem 0;
}

/* ===== TRUST BADGES ===== */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 4rem;
  height: 4rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-block-image {
  margin: 2rem 0;
}

.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
  .floating-whatsapp,
  header,
  footer {
    display: none;
  }
}
