/* 
 * URBAN GATE PROPERTY SOLUTIONS - MODERN CSS
 * Professional handyman website with conversion focus
 * Bold, trustworthy design with action-oriented layout
 */

:root {
  /* Professional Color Scheme */
  --primary-blue: #1a56db;
  --primary-dark: #1e3a8a;
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-gray: #e5e7eb;
  
  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 1rem; }

/* URGENT BANNER - Top of Site */
.urgent-banner {
  background: linear-gradient(135deg, var(--warning-orange), #dc2626);
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.95; }
}

.urgent-banner a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px solid white;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 68px;
  z-index: 99;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.logo span {
  color: var(--text-dark);
}

.logo small {
  display: block;
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-top: 0.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-blue);
}

.header-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.header-phone:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(26,86,219,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.5);
}

.btn-secondary {
  background: var(--success-green);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1a56db 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3a8a" width="1200" height="600"/><g fill-opacity="0.1"><circle fill="%23fff" cx="100" cy="100" r="80"/><circle fill="%23fff" cx="900" cy="400" r="120"/><circle fill="%23fff" cx="1100" cy="200" r="60"/></g></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-preheading {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-light);
  padding: 2rem 0;
  border-bottom: 3px solid var(--success-green);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--success-green);
}

/* Services Grid */
.services-section {
  padding: 5rem 0;
  background: white;
}

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

.section-tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-blue);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  border: 2px solid var(--border-gray);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-blue);
  transition: height 0.3s;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(26,86,219,0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.service-card .btn-outline {
  width: 100%;
  text-align: center;
  display: block;
}

/* Before/After Section */
.before-after-section {
  background: var(--bg-light);
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.3s;
}

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

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 1.5rem 1rem;
  font-weight: 700;
}

/* Reviews Section */
.reviews-section {
  padding: 5rem 0;
  background: white;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--success-green);
}

.review-stars {
  color: var(--warning-orange);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-text {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.review-author {
  font-weight: 700;
  color: var(--text-dark);
}

.review-meta {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-phone {
  background: var(--warning-orange);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
  transition: all 0.3s;
}

.btn-phone:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245,158,11,0.5);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: all 0.3s;
  animation: bounce 2s ease-in-out infinite;
}

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

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    display: none; /* Will add mobile menu in JS version */
  }
  
  .header-top {
    flex-direction: column;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .trust-items {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.bg-light { background: var(--bg-light); }
.bg-white { background: white; }
