/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #006064 0%, #00838f 100%);
  color: white;
  padding: 160px 0 80px; /* 100px original padding + 60px for navbar height */
  margin-top: 0px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-button.primary {
  background: #ff6b35;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button.primary:hover {
  background: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #006064;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  position: relative;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.8s ease-in-out;
}

.slide.active {
  display: block;
}

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

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

/* Slideshow Dots */
.slideshow-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Legacy image styling for backwards compatibility */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 0;
  background: white;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-card.eco-service {
  border-left: 5px solid #4caf50;
}

.service-card.unique-service {
  border-left: 5px solid #ff6b35;
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #006064;
}

.service-card p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 5px 0;
  color: #555;
}

.services-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border-left: 5px solid #006064;
}

.services-highlight {
  font-size: 1.2rem;
  color: #006064;
  margin: 0;
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
}

.appointment-tool {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

/* Service Tabs */
.service-tabs {
  display: flex;
  background: #006064;
}

.tab-button {
  flex: 1;
  padding: 20px 15px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tab-button img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.tab-button .recycle-icon {
  font-size: 18px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

/* Address fields styling */
.address-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.address-fields input {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.address-fields input:focus {
  border-color: #2c5aa0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.address-fields input.auto-fill-field {
  background-color: #ffffff;
  color: #333;
  border-color: #d0d7de;
}

.address-fields input.auto-fill-field:focus {
  border-color: #2c5aa0;
  background-color: #ffffff;
}

.address-fields input.auto-fill-field::placeholder {
  color: #6e7781;
  font-style: italic;
}

.address-fields input.autofilled {
  background-color: #e8f5e8;
  border-color: #28a745;
  animation: autofill-flash 1s ease-out;
}

@keyframes autofill-flash {
  0% { background-color: #d4edda; }
  100% { background-color: #f8f9fa; }
}

.zip-input {
  max-width: 120px;
}

.address-fields .form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.address-fields .form-row input:nth-child(2) {
  flex: 2; /* City takes more space */
}

.address-fields .form-row input:nth-child(3) {
  flex: 1; /* State takes less space */
  max-width: 80px;
}

/* Form Styles */
.appointment-form {
  padding: 40px;
}

.service-content {
  margin-bottom: 40px;
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: block;
}

.service-panel h3 {
  color: #006064;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-panel > p {
  color: #666;
  margin-bottom: 30px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}

.field-description {
  font-size: 0.9rem;
  color: #666;
  margin: 5px 0 15px 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #006064;
  box-shadow: 0 0 0 3px rgba(0, 96, 100, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Image Upload */
.image-upload-container {
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.image-upload-container:hover {
  border-color: #006064;
  background: #f8f9fa;
}

.upload-button {
  background: #006064;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.upload-button:hover {
  background: #00838f;
  transform: translateY(-2px);
}

.image-preview-container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ddd;
}

/* Submit Button */
.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.submit-button {
  background: linear-gradient(135deg, #ff6b35 0%, #ff5722 100%);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact-note {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-top: 20px;
}

.contact-note p {
  margin: 0;
  color: #666;
}

.contact-note a {
  color: #006064;
  text-decoration: none;
  font-weight: 600;
}

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

/* ===== WHY CHOOSE US ===== */
.why-choose-section {
  padding: 80px 0;
  background: white;
}

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

.benefit-card {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  color: #006064;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

/* ===== COVERAGE SECTION ===== */
.coverage-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.coverage-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #666;
}

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

.coverage-column {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.coverage-column h4 {
  color: #006064;
  margin-bottom: 20px;
  font-size: 1.3rem;
  text-align: center;
}

.coverage-column ul {
  list-style: none;
}

.coverage-column li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #f0f0f0;
}

.coverage-column li:last-child {
  border-bottom: none;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
  background: white;
}

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

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #666;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  color: #006064;
  margin-bottom: 10px;
}

.stat span {
  color: #666;
  font-size: 1.1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s;
}

.contact-item strong {
  display: block;
  color: #006064;
  margin-bottom: 5px;
}

.contact-item p {
  margin: 0;
  color: #666;
}

.contact-item a {
  color: #006064;
  text-decoration: none;
  font-weight: 600;
}

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

/* ===== NAVBAR ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ===== NAVBAR STYLES (REBUILT) ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
}

.nav-left .nav-logo {
  height: 50px;
  width: auto;
}

.nav-right {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00838f;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}

/* ===== MOBILE NAVBAR STYLES ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px; /* Adjust based on navbar height */
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #333;
  color: white;
  padding: 50px 0 20px;
}

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

.footer-section h4 {
  margin-bottom: 20px;
  color: #00bcd4;
}

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

.footer-section li {
  margin-bottom: 10px;
}

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

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

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #555;
  color: #ccc;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .service-tabs {
    flex-direction: column;
  }
  
  .tab-button {
    padding: 15px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .appointment-form {
    padding: 30px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 12px 24px;
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .appointment-form {
    padding: 20px 15px;
  }
}

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

.fade-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #006064;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .hero-section,
  .appointment-section {
    page-break-inside: avoid;
  }
}
