/* Modern Design Variables */
:root {
  --primary: #FFB300;
  --primary-dark: #FF8F00;
  --secondary: #1a202c;
  --dark: #0f172a;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --success: #25D366; /* WhatsApp Green */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

section {
  padding: 5rem 0;
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--secondary);
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: url('images/hero_bg.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  color: #f1f5f9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background-color: var(--success);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #1ea952;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Scrap Types Section */
.scrap-types {
  background-color: var(--white);
}

.scrap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.scrap-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

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

.scrap-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.scrap-info {
  padding: 1.5rem;
}

.scrap-info h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.scrap-info p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Service Areas Section */
.service-areas {
  background-color: var(--light);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.area-box {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.area-box:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* About Us Section */
.about {
  background-color: var(--white);
}

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

.about-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.about-content h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 1.1rem;
}

/* Reviews Section */
.reviews {
  background-color: var(--dark);
  color: var(--white);
}

.reviews .section-title {
  color: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.review-stars {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.review-author {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author i {
  color: var(--primary);
  font-size: 1.5rem;
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.2);
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-group.checkbox label {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--success);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background-color: #1ea952;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #cbd5e1;
  padding: 4rem 0 2rem 0;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Sticky Buttons */
.sticky-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.sticky-btn .icon {
  font-size: 1.8rem;
}

.sticky-btn .tooltip {
  position: absolute;
  right: 80px;
  background: var(--dark);
  color: var(--white);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-btn .tooltip strong {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.sticky-btn:hover {
  transform: scale(1.1);
}

.sticky-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.sticky-phone {
  background-color: var(--primary-dark);
}

.sticky-whatsapp {
  background-color: var(--success);
}

/* Legal Pages Content */
.legal-content {
  padding: 120px 0 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin: 2rem 0 1rem 0;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.legal-content ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .about-container { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.2rem; }
  
  .sticky-buttons {
    flex-direction: row;
    bottom: 0;
    right: 0;
    left: 0;
    gap: 0;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }

  .sticky-btn {
    width: 50%;
    border-radius: 0;
    height: 70px;
    box-shadow: none;
    flex-direction: column;
    gap: 5px;
  }
  
  .sticky-btn .tooltip {
    display: none; /* Hide tooltips on mobile as text is on button */
  }
  
  .sticky-btn .mobile-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.1;
  }
  
  .sticky-btn .mobile-text strong {
    font-size: 1rem;
  }
  
  .sticky-btn .icon {
    font-size: 1.3rem;
  }
}

.desktop-hidden { display: none; }
@media (max-width: 768px) {
  .desktop-hidden { display: block; }
}

/* Article Images */
.article-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}
