/* ==========================================================================
   Machinerix Endüstri - Exact Mockup Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --mach-dark: #111111;
  --mach-light-bg: #F8F9FA;
  --mach-border: #E5E7EB;
  --mach-text: #333333;
  --mach-text-muted: #6B7280;
  
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body) !important;
  color: var(--mach-text);
  background-color: var(--mach-light-bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, 

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

/* --------------------------------------
   HEADER
   -------------------------------------- */
.mockup-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--mach-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.mockup-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
}

.logo-img {
  max-height: 50px;
}

.nav-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 35px;
}

.nav-menu li a {
  color: var(--mach-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--mach-dark);
  transition: width 0.2s ease;
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
  width: 100%;
}

.header-action .get-quote-btn {
  background-color: var(--mach-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 1px solid var(--mach-dark);
}

.header-action .get-quote-btn:hover {
  background-color: #333;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
}

/* --------------------------------------
   SPLIT HERO SECTION
   -------------------------------------- */
.split-hero {
  position: relative;
  
  display: flex;
  min-height: 600px;
  background-color: var(--mach-light-bg);
  overflow: hidden;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 52%;
  padding: 80px 0 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.hero-content p {
  color: var(--mach-text-muted);
  font-size: 1.15rem;
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-btn {
  display: inline-block;
  background-color: var(--mach-dark) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 14px 30px !important;
  border-radius: 2px;
  border: none !important;
  letter-spacing: 0.5px;
}

.hero-btn:hover {
  background-color: #333 !important;
}

.hero-image-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%) contrast(1.15);
}

/* --------------------------------------
   SERVICES INTRO & CARDS
   -------------------------------------- */
.services-intro {
  background-color: var(--mach-light-bg);
  padding: 60px 0 20px;
}

.services-intro .container {
  padding: 0 60px;
}

.services-intro .subtitle {
  color: #999;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-heading {
  margin-top: 5px;
}

.title-row {
  display: flex;
  align-items: center;
}

.title-row h2 {
  font-size: 32px;
  margin-right: 20px;
  margin-bottom: 0;
}

.title-line {
  flex-grow: 1;
  height: 1px;
  background-color: #D1D5DB;
}

.content-container {
  background-color: var(--mach-light-bg);
  padding: 20px 60px 80px;
}

/* The cards themselves */
.featured {
  background: #FFFFFF !important;
  border: 1px solid var(--mach-border) !important;
  padding: 35px 30px !important;
  border-radius: 0 !important;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

.featured-header {
  display: none; /* Hide images in the cards to match mockup's icon-only style */
}

.featured-content {
  padding: 0;
  display: flex;
  flex-direction: column;
}





.featured-desc {
  font-size: 14px !important;
  color: var(--mach-text-muted) !important;
}

.featured-content .btn {
  display: none !important; /* Hide read more button to match mockup */
}

/* Hide revslider */
.rev_slider_wrapper { display: none !important; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-content-wrapper { width: 100%; padding: 60px 20px; z-index: 3; }
  .hero-image-wrapper { width: 100%; opacity: 0.2; clip-path: none; z-index: 1; }
  .hero-content h1 { font-size: 3rem; }
  .nav-container, .header-action { display: none; }
  .mockup-header .header-inner { padding: 15px 20px; }
  .services-intro .container, .content-container { padding: 20px; }
}


/* --------------------------------------
   CONTINUATION SECTIONS (Our Machines, Features, Industry)
   -------------------------------------- */

/* OUR MACHINES CAROUSEL */
.our-machines-section {
  background-color: #FFFFFF;
  padding: 80px 0;
  overflow: hidden;
}

.our-machines-section .container-fluid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.machines-header {
  margin-bottom: 40px;
  max-width: 600px;
}

.machines-header .subtitle {
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.machines-header h2 {
  font-size: 40px;
  margin-top: 10px;
  margin-bottom: 15px;
  color: var(--mach-dark);
}

.machines-header p {
  color: var(--mach-text-muted);
  font-size: 15px;
}

.machines-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 -20px;
}

.carousel-nav {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.carousel-nav:hover {
  background: var(--mach-dark);
  color: #FFF;
  border-color: var(--mach-dark);
}

.carousel-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  padding: 40px 0;
  gap: 20px;
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.machine-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 4px;
  scroll-snap-align: center;
  transition: all 0.4s ease;
  opacity: 0.7;
  transform: scale(0.85);
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.swiper-slide-active .machine-card {
  width: 100%;
  opacity: 1;
  transform: scale(1.05);
  border-top: 4px solid #F97316; /* Amber/Orange border for active */
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.machine-card .card-img {
  text-align: center;
  margin-bottom: 20px;
}

.machine-card .card-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.machine-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: var(--font-body) !important;
  font-weight: 700;
}

.machine-card.active h3 {
  font-size: 24px;
}

.machine-card p {
  color: var(--mach-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.view-details {
  font-size: 13px;
  font-weight: 700;
  color: var(--mach-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-details.active-link {
  color: #F97316;
}

.view-details:hover {
  color: #F97316;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.swiper-pagination .dot {
  width: 40px;
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background: #F97316;
}

/* FEATURES STRIP */
.features-strip {
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-item i {
  font-size: 32px;
  color: var(--mach-dark);
  margin-right: 20px;
  margin-top: 5px;
}

.feature-item h4 {
  font-family: var(--font-body) !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
}

.feature-item p {
  font-size: 13px;
  color: var(--mach-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* BUILT FOR YOUR INDUSTRY */
.industry-section {
  background-color: var(--mach-light-bg);
  padding: 80px 0;
}

.industry-flex {
  display: flex;
  gap: 40px;
}

.industry-header {
  flex: 0 0 250px;
}

.industry-header .subtitle {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.industry-header h2 {
  font-size: 36px;
  line-height: 1.1;
  margin-top: 10px;
  color: var(--mach-dark);
}

.industry-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.industry-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 30px 20px;
  text-align: left;
  transition: all 0.3s ease;
}

.industry-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.industry-card i {
  font-size: 28px;
  color: var(--mach-dark);
  margin-bottom: 20px;
  display: block;
}

.industry-card h4 {
  font-family: var(--font-body) !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}

.industry-card p {
  font-size: 13px;
  color: var(--mach-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .industry-flex { flex-direction: column; }
  .industry-header { flex: none; margin-bottom: 30px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .machine-card, .swiper-slide-active .machine-card { flex: 0 0 90%; transform: none; opacity: 1; }
  .carousel-nav { display: none; }
}

.featured-title {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 15px !important;
  text-indent: 0 !important;
  margin-left: 0 !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

.featured-title i {
  display: none !important;
}

/* --------------------------------------
   CONTACT MODERN SECTION
   -------------------------------------- */
.contact-modern-section {
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid var(--mach-border);
}

.contact-modern-header h3 {
    color: var(--mach-dark) !important;
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: #FFFFFF;
    border: 1px solid var(--mach-border);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--mach-dark);
}

.contact-card .icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--mach-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.contact-card:hover .icon-wrap {
    background: var(--mach-dark);
}

.contact-card:hover .icon-wrap i {
    color: #FFFFFF;
}

.contact-card .icon-wrap i {
    font-size: 24px;
    color: var(--mach-dark);
}

.contact-card h4 {
    font-family: var(--font-heading) !important;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card p, .contact-card a {
    color: var(--mach-text-muted);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contact-card a:hover {
    color: var(--mach-dark);
}

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

/* --------------------------------------
   SERVICES MODERN SECTION
   -------------------------------------- */
.services-modern-section {
    padding: 40px 0 80px;
}
.services-modern-header h3 {
    color: var(--mach-dark) !important;
}
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.service-card-minimal {
    background: #FFFFFF;
    border: 1px solid var(--mach-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card-minimal:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}
.service-img-link {
    display: block;
}
.service-img-link .img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--mach-border);
}
.service-img-link .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card-minimal:hover .img-wrapper img {
    transform: scale(1.05);
}
.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-title {
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 0;
}
.service-title a {
    color: var(--mach-dark);
}
.service-title a:hover {
    color: #F97316;
}
.service-content p {
    color: var(--mach-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.service-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--mach-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}
.service-btn:hover {
    color: #F97316;
}

@media (max-width: 992px) {
    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
}

.swiper-button-next::after, .swiper-button-prev::after {
    display: none;
}
.swiper-button-prev.carousel-nav, .swiper-button-next.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: none;
    color: var(--mach-dark);
}
.swiper-button-prev.carousel-nav:hover, .swiper-button-next.carousel-nav:hover {
    background: var(--mach-dark);
    color: #FFFFFF;
}
.swiper-button-prev.carousel-nav {
    left: -20px;
}
.swiper-button-next.carousel-nav {
    right: -20px;
}
.swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--mach-border);
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: #F97316;
}

.hero-white-spacer {
    height: 100px;
    background-color: #FFFFFF !important;
    width: 100%;
    display: block;
    clear: both;
    position: relative;
    z-index: 5;
}
