/* Fire Stopping London - Main Stylesheet */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
}

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

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

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

/* Phone Bar */
.phone-bar {
  background: #FF6B35;
  color: white;
  padding: 12px 0;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

.phone-bar a {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-bar a:hover {
  opacity: 0.9;
}

/* Header */
header {
  background: #1a202c;
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.logo p {
  font-size: 14px;
  color: #a0aec0;
  margin-top: 4px;
}

.header-contact {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-item a {
  color: #FF6B35;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  background: #2d3748;
  padding: 0;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

nav li a {
  display: block;
  padding: 15px 20px;
  color: white;
  font-weight: 500;
  transition: background 0.3s;
}

nav li a:hover, nav li a.active {
  background: #FF6B35;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e2e8f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #FF6B35;
  color: white;
}

.btn-primary:hover {
  background: #e85a28;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: white;
  color: #1a202c;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
}

/* Content Sections */
section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a202c;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: #4a5568;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.content-section {
  background: white;
}

.content-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #1a202c;
}

.content-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #2d3748;
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #4a5568;
}

.content-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.content-section li {
  margin-bottom: 10px;
  color: #4a5568;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 30px;
}

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

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

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

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a202c;
}

.card p {
  color: #4a5568;
  line-height: 1.7;
}

/* Image Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: #f7fafc;
}

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

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

/* Quote Form */
.quote-section {
  background: #f7fafc;
}

.quote-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2d3748;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.success-message {
  background: #c6f6d5;
  border: 2px solid #48bb78;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.success-message h3 {
  color: #22543d;
  margin-bottom: 10px;
}

.success-message p {
  color: #276749;
}

/* Borough Links */
.borough-links {
  background: #f7fafc;
  padding: 40px;
  border-radius: 12px;
  margin: 40px 0;
}

.borough-links h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1a202c;
}

.borough-links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.borough-links li a {
  display: block;
  padding: 12px 20px;
  background: white;
  border-radius: 8px;
  color: #2d3748;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.borough-links li a:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  transform: translateX(5px);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #FF6B35 0%, #e85a28 100%);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Footer */
footer {
  background: #1a202c;
  color: white;
  padding: 40px 0 20px;
}

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

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FF6B35;
}

.footer-section p,
.footer-section li {
  color: #a0aec0;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #a0aec0;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #FF6B35;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav li a {
    padding: 12px 20px;
  }
  
  .quote-form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .phone-bar {
    font-size: 16px;
  }
  
  .hero h1 {
    font-size: 26px;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 15px;
  }
}