/* Skinner's Seawall Solutions - Production CSS */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(20, 14.3%, 4.1%);
  --muted: hsl(60, 4.8%, 95.9%);
  --muted-foreground: hsl(25, 5.3%, 44.7%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(20, 14.3%, 4.1%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(20, 14.3%, 4.1%);
  --border: hsl(20, 5.9%, 90%);
  --input: hsl(20, 5.9%, 90%);
  --primary: hsl(207, 90%, 54%);
  --primary-foreground: hsl(211, 100%, 99%);
  --secondary: hsl(60, 4.8%, 95.9%);
  --secondary-foreground: hsl(24, 9.8%, 10%);
  --accent: hsl(60, 4.8%, 95.9%);
  --accent-foreground: hsl(24, 9.8%, 10%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(60, 9.1%, 97.8%);
  --ring: hsl(20, 14.3%, 4.1%);
  --radius: 0.5rem;
  
  /* Custom Southwest Florida marina colors - matching React app */
  --ocean-blue: hsl(220, 85%, 47%);
  --ocean-light: hsl(220, 85%, 60%);
  --sand-beige: hsl(50, 36%, 92%);
  --sand-light: hsl(50, 36%, 95%);
  --driftwood: hsl(33, 36%, 68%);
  --driftwood-dark: hsl(33, 36%, 60%);
  --coastal-gray: hsl(210, 12%, 45%);
  --coastal-light: hsl(210, 12%, 62%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

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

/* Navigation - Enhanced to match React app */
.nav {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--sand-light);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-blue);
  text-decoration: none;
  cursor: pointer;
}

.nav-brand::before {
  content: '⚓';
  font-size: 1.5rem;
  color: var(--ocean-blue);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--coastal-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--ocean-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--ocean-light);
  transform: translateY(-1px);
}

/* Hero Section - Enhanced to match React app */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, var(--sand-light) 50%, rgba(59, 130, 246, 0.1) 100%);
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(222, 171, 101, 0.2);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(50%, 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  space-y: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--ocean-blue);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
}

.hero-badge::before {
  content: '🛡️';
  font-size: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
  margin: 1.5rem 0;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--coastal-gray);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
}

.hero-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-contact-icon {
  background: rgba(59, 130, 246, 0.1);
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--ocean-blue);
  font-size: 1.5rem;
}

.hero-contact-details {
  flex: 1;
}

.hero-contact-label {
  font-size: 0.875rem;
  color: var(--coastal-gray);
  margin-bottom: 0.25rem;
}

.hero-contact-value {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Hero Image */
.hero-image {
  position: relative;
  padding-left: 3rem;
}

.hero-image-container {
  position: relative;
  z-index: 10;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

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

.hero-stat-card {
  position: absolute;
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  z-index: 20;
  text-align: center;
}

.hero-stat-top {
  top: -2rem;
  right: -2rem;
}

.hero-stat-bottom {
  bottom: -2rem;
  left: -2rem;
}

.hero-stat-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ocean-blue);
  margin-bottom: 0.25rem;
}

.hero-stat-subtitle {
  font-size: 0.875rem;
  color: var(--coastal-gray);
}

.hero-stat-bottom .hero-stat-title {
  font-size: 1.5rem;
}

@media (max-width: 1023px) {
  .hero-image {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .hero-stat-card {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background: var(--ocean-blue);
  color: white;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--ocean-light);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--ocean-blue);
  border: 2px solid var(--ocean-blue);
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--ocean-blue);
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Sections - Enhanced */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: #111827;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--coastal-gray);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Problem Statement */
.problem-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  filter: blur(3rem);
  transform: translate(50%, -50%);
}

.problem-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: block;
}

.problem-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #92400e;
  text-align: center;
  margin-bottom: 1.5rem;
}

.problem-text {
  font-size: 1.25rem;
  color: #a16207;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards - Enhanced */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-light));
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.card p {
  color: var(--coastal-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-light));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.service-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ocean-blue);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--sand-light);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--coastal-gray);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
  display: flex;
  align-items: end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Testimonials */
.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial-content {
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.testimonial-author {
  font-weight: 600;
  color: var(--foreground);
}

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

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
}

/* Form Styles */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: white;
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

/* Footer Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }

/* Additional utility classes */
.mb-12 {
  margin-bottom: 3rem;
}

.space-y-2\.5rem > * + * {
  margin-top: 2.5rem;
}
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--sand-light); }

.w-full { width: 100%; }
.block { display: block; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.border { border: 1px solid var(--border); }

.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1); }