* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0f1115;
  color: #e6e6e6;
}

/* ===============================
   NAVBAR
================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #e6e6e6;
  font-weight: 500;
}

nav a:hover {
  color: #f05a28;
}

.btn {
  background: #f05a28;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #ff6a3d;
  transform: translateY(-2px);
}

/* ===============================
   HERO
================================ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 40px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
}

.hero h1 span {
  color: #f05a28;
}

.hero p {
  margin: 20px 0 40px;
  font-size: 18px;
  color: #ccc;
}

/* ===============================
   VIDEO HERO
================================ */
.video-hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 17, 21, 0.8),
      rgba(15, 17, 21, 0.6));
  z-index: 1;
}

.video-hero .hero-content {
  z-index: 2;
}

/* ===============================
   SECTIONS
================================ */
section {
  padding: 100px 40px;
}

.services {
  background: #14171c;
}

.services-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #1a1d23;
  padding: 40px;
  border-left: 4px solid #f05a28;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.cta {
  text-align: center;
  background: linear-gradient(135deg, #1a1d23, #0f1115);
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

/* ===============================
   ANIMATIONS
================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   HAMBURGER
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
}

/* ===============================
   DESKTOP MEGA MENU
================================ */
@media (min-width: 901px) {

  .has-mega {
    position: relative;
  }

  .mega-menu {
    position: absolute;
    left: 50%;
    top: 45px;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    background: #1a1d23;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid #f05a28;
    z-index: 999;
  }

  .has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .mega-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* ===============================
   MOBILE MENU
================================ */
@media (max-width: 900px) {

  .hamburger {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #0f1115;
  }

  .nav-links {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    max-height: 100vh;
  }

  .nav-links li {
    border-bottom: 1px solid #1a1d23;
  }

  .nav-links a {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* MOBILE ACCORDION */
  .mega-menu {
    position: static;
    width: 100%;
    background: #14171c;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .mobile-item.active .mega-menu {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .arrow {
    transition: transform 0.3s ease;
  }

  .mobile-item.active .arrow {
    transform: rotate(180deg);
  }

  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-hero {
    background: url("https://images.unsplash.com/photo-1581091012184-7f7c3b5d9f9f") center/cover no-repeat;
  }

  .hero h1 {
    font-size: 38px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   FOOTER
================================ */
.footer {
  background: #0b0d11;
  border-top: 1px solid #1a1d23;
  color: #ccc;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-col h4 {
  color: #f05a28;
  margin-bottom: 15px;
  font-size: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #aaa;
}

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

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

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #1a1d23;
}

/* MOBILE FOOTER */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 60px 30px;
  }
}

/* ===============================
   BACK TO TOP
================================ */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #f05a28;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 3000;
}

#backToTop:hover {
  background: #ff6a3d;
  transform: translateY(0) scale(1.05);
}

/* GÖRÜNÜR */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 900px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* CONTACT */
.contact {
  background: #0f1115;
}

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

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.contact-info p {
  color: #bbb;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 15px;
  font-size: 15px;
}

/* FORM */
.contact-form {
  background: #14171c;
  padding: 40px;
  border-left: 4px solid #f05a28;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #0f1115;
  border: 1px solid #1f232b;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f05a28;
}

.contact-form button {
  width: 100%;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: 28px;
  }
}
/* ABOUT */
.about {
  background: #14171c;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  color: #f05a28;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-size: 13px;
}

.about-content h2 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-content h2 span {
  color: #f05a28;
}

.about-content p {
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin: 30px 0;
}

.about-stats div {
  text-align: left;
}

.about-stats strong {
  font-size: 32px;
  color: #fff;
  display: block;
}

.about-stats span {
  font-size: 14px;
  color: #aaa;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}
/* RECYCLING MACHINES */
.recycling {
  background: #0f1115;
}

.recycling-container {
  max-width: 1200px;
  margin: auto;
}

.recycling-header {
  max-width: 700px;
  margin-bottom: 80px;
}

.recycling-header h2 {
  font-size: 40px;
  margin: 15px 0 20px;
}

.recycling-header h2 span {
  color: #f05a28;
}

.recycling-header p {
  color: #bbb;
  line-height: 1.7;
}

.recycling-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* MACHINE CARD */
.machine-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.machine-card.reverse {
  grid-template-columns: 1fr 1fr;
}

.machine-card.reverse img {
  order: 2;
}

.machine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* CONTENT */
.machine-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.machine-content p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 20px;
}

.machine-content ul {
  list-style: none;
  margin-bottom: 25px;
}

.machine-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #ccc;
}

.machine-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f05a28;
}

/* MOBILE */
@media (max-width: 900px) {
  .recycling-header h2 {
    font-size: 30px;
  }

  .machine-card,
  .machine-card.reverse {
    grid-template-columns: 1fr;
  }

  .machine-card.reverse img {
    order: 0;
  }
}
/* FABRICATION */
.fabrication {
  background: #14171c;
}

.fabrication-container {
  max-width: 1200px;
  margin: auto;
}

.fabrication-header {
  max-width: 720px;
  margin-bottom: 80px;
}

.fabrication-header h2 {
  font-size: 40px;
  margin: 15px 0 20px;
}

.fabrication-header h2 span {
  color: #f05a28;
}

.fabrication-header p {
  color: #bbb;
  line-height: 1.7;
}

/* GRID */
.fabrication-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.fabrication-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.fabrication-card.reverse img {
  order: 2;
}

.fabrication-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* CONTENT */
.fabrication-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.fabrication-content p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 20px;
}

.fabrication-content ul {
  list-style: none;
}

.fabrication-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #ccc;
}

.fabrication-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f05a28;
}

/* CTA */
.fabrication-cta {
  margin-top: 80px;
  text-align: center;
}

/* MOBILE */
@media (max-width: 900px) {
  .fabrication-header h2 {
    font-size: 30px;
  }

  .fabrication-card {
    grid-template-columns: 1fr;
  }

  .fabrication-card.reverse img {
    order: 0;
  }
}
/* CNC */
.cnc {
  background: #0f1115;
}

.cnc-container {
  max-width: 1200px;
  margin: auto;
}

.cnc-header {
  max-width: 720px;
  margin-bottom: 80px;
}

.cnc-header h2 {
  font-size: 40px;
  margin: 15px 0 20px;
}

.cnc-header h2 span {
  color: #f05a28;
}

.cnc-header p {
  color: #bbb;
  line-height: 1.7;
}

/* GRID */
.cnc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cnc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* CONTENT */
.cnc-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.cnc-content p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 25px;
}

.cnc-content ul {
  list-style: none;
  margin-bottom: 30px;
}

.cnc-content li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: #ccc;
}

.cnc-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f05a28;
}

/* BUTTONS */
.cnc-actions {
  display: flex;
  gap: 15px;
}

/* MOBILE */
@media (max-width: 900px) {
  .cnc-header h2 {
    font-size: 30px;
  }

  .cnc-grid {
    grid-template-columns: 1fr;
  }

  .cnc-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
}
@media (max-width: 900px) {
  .logo img {
    height: 40px;
  }
}
/* FORM RESPONSE */
.form-response {
  margin-top: 15px;
  font-size: 14px;
}

.form-response.success {
  color: #2ecc71;
}

.form-response.error {
  color: #e74c3c;
}

/* BUTTON LOADER */
#submitBtn {
  position: relative;
  overflow: hidden;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#submitBtn.loading .btn-text {
  display: none;
}

#submitBtn.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
