/* Suburb Pages - Based on Main styles.css */

/* Use the same CSS variables as homepage */
:root {
  --primary: #6D71F3;
  --primary-rgb: 109, 113, 243;
  --secondary: #22b573;
  --secondary-rgb: 34, 181, 115;
  --dark: #212529;
  --light: #f8f9fa;
  --bg-color: #ffffff;
  --text-color: #212529;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.1);
  --header-bg: var(--primary);
  --footer-bg: var(--dark);
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --primary: #6366f1;
  --primary-rgb: 99, 102, 241;
  --secondary: #22d3ee;
  --secondary-rgb: 34, 211, 238;
  --dark: #1f2937;
  --light: #e5e7eb;
  --bg-color: #111827;
  --text-color: #f3f4f6;
  --card-bg: #1f2937;
  --card-shadow: rgba(0, 0, 0, 0.5);
  --header-bg: #111827;
  --footer-bg: #0f172a;
}

/* Hero Section - Uses exact same styling as homepage */
/* All hero styles inherit from styles.css - no overrides needed */
/* Particles.js Container - Ensure proper positioning */
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Ensure background gradient is visible even when particles.js hasn't loaded */
  background: transparent;
}

/* Local Info Section - Enhanced Styling with Better Readability */
.local-info {
  background: var(--card-bg);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 16px;
  padding: 3rem 2.5rem !important;
  margin: 3rem auto !important;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.local-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1;
}

.local-info h3 {
  margin-bottom: 1.5rem !important;
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

.local-info > p {
  margin-bottom: 2rem !important;
  line-height: 1.8 !important;
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 1;
}

.suburb-details {
  margin: 2rem 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-item:hover {
  background: rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.detail-item i {
  font-size: 1.25rem;
  color: var(--primary);
  width: 24px;
  text-align: center;
  opacity: 1;
}

.detail-item span {
  color: var(--text-color);
  font-weight: 500;
  opacity: 1;
}

.nearby-areas {
  margin-top: 2rem !important;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.15);
}

.nearby-areas h4 {
  margin-bottom: 1rem !important;
  font-size: 1.25rem !important;
  font-weight: 600;
  color: var(--text-color);
  opacity: 1;
}

.nearby-areas p {
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: var(--text-color);
  opacity: 1;
  padding: 1rem 1.25rem;
  background: rgba(var(--secondary-rgb), 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--secondary);
}

/* Services Section - New Structure */
.services-section {
  padding: 5rem 2rem;
}

/* Fallback: Ensure service items are visible even if GSAP doesn't load */
.service-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

.services-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.services-hero h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.services-tagline {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  font-weight: 400;
}

.service-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  transition: transform 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
}

.badge i {
  font-size: 1.1rem;
}

.services-intro {
  background: var(--light);
  padding: 4rem 2rem;
  margin: 4rem 0;
}

[data-theme="dark"] .services-intro {
  background: rgba(255,255,255,0.05);
}

.services-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ACCC compliance: clear disclosure that services are provided remotely */
.location-qualifier {
  font-size: 0.95rem;
  color: var(--text-color);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(var(--primary-rgb), 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  text-align: left;
}

.services-content h3 {
  font-size: 2rem;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.services-content p {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.services-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.phone-link {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-link::before {
  content: "\f095";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.phone-link:hover {
  background: var(--primary);
  color: white;
}

.why-local {
  margin: 4rem 0;
}

.why-local h3 {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.reason {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary);
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--card-shadow);
}

.reason-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.reason-icon i {
  font-size: 1.5rem;
  color: white;
}

.reason h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.reason p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  font-size: 1rem;
}

.our-services {
  background: var(--light);
  padding: 4rem 2rem;
  margin: 4rem 0;
}

[data-theme="dark"] .our-services {
  background: rgba(255,255,255,0.05);
}

.our-services h3 {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

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

.service-item {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px var(--card-shadow);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-3px);
}

.service-item .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-item .service-icon i {
  font-size: 1.8rem;
  color: white;
}

.service-item h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-item p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.why-webcraft {
  margin: 4rem 0;
}

.why-webcraft h3 {
  font-size: 2rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

/* Center "Why Choose WebCraft Studio" heading on desktop */
@media (min-width: 769px) {
  .why-choose-us h3 {
    text-align: center;
  }
}

.webcraft-reasons {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.webcraft-reason {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px var(--card-shadow);
  border-left: 5px solid var(--secondary);
}

.webcraft-reason h4 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.webcraft-reason p {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.services-final-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 15px;
  margin: 4rem 0;
}

.services-final-cta h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.services-final-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.final-cta-buttons .btn {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.final-cta-buttons .btn:hover {
  background: transparent;
  color: white;
}

.final-cta-buttons .phone-link {
  border-color: white;
  color: white;
}

.final-cta-buttons .phone-link:hover {
  background: white;
  color: var(--primary);
}

/* Contact Section - Exact Copy from Homepage */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact methods will use default homepage styling */

.contact-intro {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px var(--card-shadow);
}

.contact-form .hidden {
  display: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.02);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

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

.contact-form .btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

.form-disclaimer {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.7;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Button Styles - Same as Homepage */
.btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-section {
    padding: 3rem 1rem;
  }
  
  .services-hero h2 {
    font-size: 2rem;
  }
  
  .service-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .badge {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .services-intro,
  .our-services {
    padding: 3rem 1rem;
    margin: 3rem 0;
  }
  
  .services-contact {
    flex-direction: column;
    align-items: center;
  }
  
  .services-contact .btn,
  .services-contact .phone-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .reasons-grid,
  .services-list {
    grid-template-columns: 1fr;
  }
  
  .services-final-cta {
    padding: 3rem 1rem;
    margin: 3rem 0;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .final-cta-buttons .btn,
  .final-cta-buttons .phone-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  /* Contact Section Mobile */
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  /* Contact methods mobile styling removed - using homepage defaults */
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Local Info Section - Serving Areas */
.local-info {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.local-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.local-info > p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: center;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.suburb-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.detail-item i {
  font-size: 1.1rem;
  color: white;
}

.detail-item span {
  color: white;
  font-weight: 500;
}

.nearby-areas {
  text-align: center;
  margin-top: 2rem;
}

.nearby-areas h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
}

.nearby-areas p {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
  line-height: 1.6;
}

.related-locations {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.related-locations h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: white;
  text-align: center;
}

.related-locations > p {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.related-links a {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.related-links a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Local Info */
@media (max-width: 768px) {
  .local-info {
    padding: 3rem 1.5rem;
    margin: 3rem 0;
  }
  
  .local-info h3 {
    font-size: 1.75rem;
  }
  
  .local-info > p {
    font-size: 1rem;
  }
  
  .suburb-details {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .detail-item {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .nearby-areas h4 {
    font-size: 1.1rem;
  }
  
  .nearby-areas p {
    font-size: 0.95rem;
  }
  
  .related-locations {
    margin-top: 2rem;
    padding-top: 2rem;
  }
  
  .related-locations h4 {
    font-size: 1.3rem;
  }
  
  .related-links {
    flex-direction: column;
    align-items: center;
  }
  
  .related-links a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* FAQ Section Styles */
.faq-section {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

.faq-section h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-color);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 50;
  pointer-events: auto;
  background: var(--card-bg, rgba(255, 255, 255, 0.04));
}

.faq-question {
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: inherit;
  text-align: left;
  color: inherit;
  background: var(--card-bg, rgba(255, 255, 255, 0.04));
  transition: background 0.2s;
  position: relative;
  z-index: 51;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(138, 133, 255, 0.2);
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.faq-question:hover {
  background: var(--card-bg, rgba(255, 255, 255, 0.07));
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: #8A85FF;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
  font-weight: 300;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  display: block;
  padding: 1rem 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color);
  opacity: 0.9;
  margin: 0;
}

/* Dark theme adjustments for FAQ */
[data-theme="dark"] .faq-item {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .faq-question {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
}

[data-theme="dark"] .faq-question:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Light theme adjustments for FAQ */
[data-theme="light"] .faq-item {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .faq-question {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-color);
}

[data-theme="light"] .faq-question:hover {
  background: rgba(109, 113, 243, 0.05);
}

/* Responsive FAQ styles */
@media (max-width: 600px) {
  .faq-section {
    padding: 0 1rem;
  }
  
  .faq-section h2 {
    font-size: 1.5rem;
  }
  
  .faq-question {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.25rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0.875rem 1.25rem 1rem;
  }
} 