/**
 * PLEASANT RELOCATION - LUXURY MODERN STYLES
 * ===========================================
 * Premium design with sophisticated interactions
 *
 * Color Palette:
 *   - Deep Navy: #0F172A (Rich, luxurious primary)
 *   - Royal Blue: #1E40AF (Elegant accent)
 *   - Gold: #D97706 (Premium highlight)
 *   - Champagne: #FEF3C7 (Soft accent)
 *   - Slate: #64748B (Refined text)
 */

/* =========================
   CSS VARIABLES
   ========================= */

:root {
  /* Colors */
  --color-primary: #0F172A;
  --color-secondary: #1E40AF;
  --color-accent: #D97706;
  --color-gold: #F59E0B;
  --color-champagne: #FEF3C7;
  --color-slate: #64748B;
  --color-light: #F8FAFC;
  --color-white: #FFFFFF;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.16);
  --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.24);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
}

/* =========================
   GLOBAL STYLES
   ========================= */

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--color-primary);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAFAFA;
}

/* Add padding on mobile for sticky CTA */
@media (max-width: 767px) {
  body {
    padding-bottom: 90px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

/* =========================
   PREMIUM BUTTON STYLES
   ========================= */

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  box-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.39);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px 0 rgba(30, 64, 175, 0.5);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  position: relative;
  background-color: transparent;
  color: var(--color-secondary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-base);
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-secondary);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
}

.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary:hover {
  color: var(--color-white);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-phone {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: all var(--transition-base);
  border: none;
  min-height: 48px;
  box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
  position: relative;
  overflow: hidden;
}

.btn-phone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-phone:hover::after {
  opacity: 1;
}

.btn-phone:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(245, 158, 11, 0.5);
}

.btn-phone svg,
.btn-phone span {
  position: relative;
  z-index: 1;
}

.btn-phone:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* =========================
   GLASS MORPHISM EFFECTS
   ========================= */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-xl);
}

/* =========================
   SECTION STYLES
   ========================= */

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 100%);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 3.5rem;
  }
}

.section-subheading {
  font-size: 1.25rem;
  color: var(--color-slate);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: all var(--transition-base);
}

.header-sticky.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  transition: all var(--transition-base);
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
}

.nav-link:hover {
  color: var(--color-secondary);
  background-color: rgba(30, 64, 175, 0.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* Mobile Menu */
.mobile-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  margin: 1rem;
}

/* =========================
   HERO SECTION
   ========================= */

.hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(51, 65, 85, 0.85) 100%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, 50px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TWO-COLUMN HERO LAYOUT
   ========================= */

.hero-two-column {
  background-image: url('/graphics/reference.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 700px;
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.hero-two-column::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-two-column-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .hero-two-column-container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-two-column {
    padding: 60px 0;
    min-height: auto;
  }

  .hero-two-column-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
}

/* LEFT COLUMN - Marketing Copy */
.hero-left-column {
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

.rating-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  color: white;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

@media (max-width: 1200px) {
  .hero-main-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 2rem;
  }
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.125rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-benefit-item {
    font-size: 1rem;
  }
}

.benefit-check {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
  border-radius: 50%;
  padding: 4px;
  color: white;
}

/* RIGHT COLUMN - Quote Form */
.hero-right-column {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-form-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-form-card {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .hero-form-card {
    padding: 16px;
  }
}

.hero-form-heading {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-align: center;
  position: relative;
  padding-bottom: 8px;
}

.hero-form-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .hero-form-heading {
    font-size: 1.375rem;
    margin-bottom: 10px;
  }
}

/* Compact form spacing for hero form */
.hero-form-card .form-group {
  margin-bottom: 12px;
}

.hero-form-card .form-input,
.hero-form-card .form-select,
.hero-form-card .form-textarea {
  padding: 10px 14px;
  font-size: 0.9375rem;
}

.hero-form-card .form-label {
  margin-bottom: 4px;
  font-size: 0.875rem;
}

.hero-form-card .form-error {
  margin-top: 3px;
  font-size: 0.8125rem;
}

.hero-form-card .grid {
  gap: 12px;
}

.hero-form-card .form-textarea {
  padding: 10px 14px;
}

.hero-form-card .mt-8 {
  margin-top: 16px !important;
}

.hero-form-card .btn-primary {
  padding: 12px 24px;
  font-size: 1rem;
}

.hero-form-card .text-sm {
  font-size: 0.8125rem;
  margin-top: 8px !important;
}

.hero-form-card .form-success {
  margin-bottom: 12px;
  padding: 12px;
  font-size: 0.9375rem;
}

.hero-form-card .bg-red-100 {
  margin-bottom: 12px;
  padding: 12px;
  font-size: 0.9375rem;
}

/* =========================
   PREMIUM CARD STYLES
   ========================= */

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(30, 64, 175, 0.1);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--color-slate);
  flex-grow: 1;
  line-height: 1.7;
}

/* =========================
   TESTIMONIAL STYLES
   ========================= */

.testimonial-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin: 0 1rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 6rem;
  color: var(--color-champagne);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.testimonial-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--color-gold);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.testimonial-card:hover .testimonial-image {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: var(--color-slate);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.testimonial-name {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.testimonial-location {
  color: var(--color-slate);
  font-size: 0.875rem;
}

.star-rating {
  color: var(--color-gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

/* =========================
   TIMELINE STYLES
   ========================= */

.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
  }
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.6s ease-out both;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }

.timeline-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  transition: all var(--transition-base);
  position: relative;
}

.timeline-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
}

.timeline-step:hover .timeline-icon {
  transform: scale(1.1) rotate(5deg);
}

.timeline-step:hover .timeline-icon::after {
  opacity: 0.5;
  transform: scale(1);
}

.timeline-step h3 {
  color: var(--color-primary);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.timeline-step p {
  color: var(--color-slate);
  line-height: 1.7;
}

.timeline-connector {
  position: absolute;
  top: 45px;
  left: calc(50% + 45px);
  width: calc(100% - 90px);
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-accent) 100%);
  z-index: -1;
  border-radius: var(--radius-full);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .timeline-connector {
    display: none;
  }
}

/* =========================
   PREMIUM FORM STYLES
   ========================= */

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all var(--transition-base);
  background-color: var(--color-white);
  color: var(--color-primary);
  min-height: 52px;
  box-shadow: var(--shadow-sm);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(30, 64, 175, 0.2);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1), var(--shadow-md);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: var(--color-slate);
  opacity: 0.6;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-error {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-error::before {
  content: '⚠';
  font-size: 1rem;
}

.form-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   PRICING CALCULATOR
   ========================= */

.price-estimate-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E40AF 50%, #3B82F6 100%);
  color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  margin-top: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.price-estimate-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.price-disclaimer {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* =========================
   FOOTER STYLES
   ========================= */

.footer-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--color-white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-gold) 50%, var(--color-accent) 100%);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-base);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.footer-link:hover {
  color: var(--color-gold);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.social-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent) 100%);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-icon:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.social-icon svg,
.social-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-base);
}

.social-icon:hover svg,
.social-icon:hover img {
  filter: none;
}

/* =========================
   MODAL STYLES
   ========================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 9999;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-slate);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.modal-close:hover {
  color: var(--color-primary);
  background-color: rgba(15, 23, 42, 0.05);
  transform: rotate(90deg);
}

.modal-close:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.modal-body {
  padding: 2rem;
}

/* =========================
   UTILITY CLASSES
   ========================= */

.bg-gray-light {
  background-color: var(--color-light);
}

.text-navy {
  color: var(--color-primary);
}

.text-blue {
  color: var(--color-secondary);
}

.text-gold {
  color: var(--color-gold);
}

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

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 10000;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

*:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* =========================
   ANIMATIONS
   ========================= */

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

.loading-spinner {
  border: 3px solid rgba(30, 64, 175, 0.1);
  border-top-color: var(--color-secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll reveal animation */
@keyframes fadeInUpScroll {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  animation: fadeInUpScroll 0.8s ease-out forwards;
}

/* Shimmer effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* =========================
   PRINT STYLES
   ========================= */

@media print {
  .header-sticky,
  .mobile-menu,
  .btn-primary,
  .btn-secondary,
  .btn-phone,
  footer,
  .modal-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: white;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  .service-card,
  .testimonial-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* =========================
   BULKY ITEM PRICING STYLES
   ========================= */

.bulky-item-card {
  background: var(--color-white);
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-base);
  cursor: default;
}

.bulky-item-card:hover {
  border-color: rgba(30, 64, 175, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bulky-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bulky-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  flex: 1;
}

.bulky-item-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.bulky-item-detail {
  font-size: 0.9375rem;
  color: var(--color-slate);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .bulky-item-card {
    padding: 1rem;
  }

  .bulky-item-title {
    font-size: 1rem;
  }

  .bulky-item-price {
    font-size: 1.25rem;
  }

  .bulky-item-detail {
    font-size: 0.875rem;
  }
}

/* =========================
   FAQ ACCORDION STYLES
   ========================= */

.faq-item {
  background: var(--color-white);
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(30, 64, 175, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-base);
  min-height: 48px;
  gap: 1rem;
}

.faq-question:hover {
  background: rgba(30, 64, 175, 0.03);
}

.faq-question:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: -3px;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-icon.rotate-180 {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--color-slate);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

.faq-answer strong {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 1.25rem 1.25rem;
  }

  .faq-question-text {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.9375rem;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }
}

/* =========================
   MODERN ENHANCEMENTS
   ========================= */

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
  transition: all var(--transition-base);
}

/* Enhance focus states for better accessibility */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

/* Better image loading experience */
img {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

img[loading="lazy"] {
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-gold) 100%);
}

/* Selection color */
::selection {
  background-color: var(--color-champagne);
  color: var(--color-primary);
}

::-moz-selection {
  background-color: var(--color-champagne);
  color: var(--color-primary);
}
