/* ==========================================
   RK Kazmierczak - Modern Renovation Website
   ========================================== */

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;
  --primary-glow: rgba(249, 115, 22, 0.4);

  /* Neutrals */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --gray-950: #0a0a0a;

  /* Background */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --bg-elevated: #222222;

  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;

  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -4px rgba(0,0,0,0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 30px var(--primary-glow);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================
   Floating iOS-Style Navigation
   ========================================== */
.floating-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 900px;
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
}

.logo-rk {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-text {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(249, 115, 22, 0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.5;
    transform: scaleY(0.8);
  }
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--primary);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ==========================================
   Stats Section
   ========================================== */
.stats-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.stat-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.5s ease;
}

.progress-fill.animated {
  width: var(--progress-width, 0%);
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-tall {
  grid-row: span 2;
}

/* ==========================================
   Google Reviews Section
   ========================================== */
.reviews-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.google-rating-summary {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.google-logo-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rating-stars-big {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars-display {
  display: flex;
  gap: 2px;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.review-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 1px;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.reviews-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.google-review-btn {
  gap: 0.625rem;
}

.google-review-btn:hover {
  border-color: rgba(66, 133, 244, 0.5);
  background: rgba(66, 133, 244, 0.1);
}

/* ==========================================
   About Section
   ========================================== */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.badge-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content .section-badge {
  margin-bottom: 1rem;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-badge {
  margin-bottom: 1rem;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.contact-value:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  grid-column: span 2;
  margin-top: 0.5rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8rem; /* Space for floating action bar */
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.375rem 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==========================================
   Floating Action Bar (iOS-Style Bottom)
   ========================================== */
.floating-action-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
}

.fab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  min-width: 70px;
}

.fab-button svg {
  width: 24px;
  height: 24px;
  transition: var(--transition-normal);
}

.fab-button span {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fab-call {
  color: #22c55e;
}

.fab-call:hover {
  background: rgba(34, 197, 94, 0.15);
}

.fab-call:hover svg {
  transform: scale(1.1);
}

.fab-map {
  color: #3b82f6;
}

.fab-map:hover {
  background: rgba(59, 130, 246, 0.15);
}

.fab-map:hover svg {
  transform: scale(1.1);
}

.fab-email {
  color: var(--primary);
}

.fab-email:hover {
  background: rgba(249, 115, 22, 0.15);
}

.fab-email:hover svg {
  transform: scale(1.1);
}

/* ==========================================
   Responsive Design
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item-tall {
    grid-row: span 1;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }

  .floating-nav {
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.625rem 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 6rem 1rem 3rem;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-item-large,
  .gallery-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .contact-form .btn {
    grid-column: span 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .floating-action-bar {
    bottom: 1rem;
    padding: 0.5rem 0.75rem;
    gap: 0.25rem;
    width: calc(100% - 2rem);
    justify-content: center;
  }

  .fab-button {
    padding: 0.5rem 0.75rem;
    min-width: auto;
    flex: 1;
    max-width: 100px;
  }

  .fab-button svg {
    width: 22px;
    height: 22px;
  }

  .fab-button span {
    font-size: 0.625rem;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
  }
}

/* Hover media query for touch devices */
@media (hover: none) {
  .service-card:hover,
  .stat-card:hover,
  .gallery-item:hover img {
    transform: none;
  }

  .gallery-overlay {
    opacity: 1;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
