/*
Theme Name: AMC Computer Repair
Author: NetManage IT
Description: Custom Theme for Computer Repair Shop
Version: 1.0
*/

:root{
  --primary:#F4771D;
  --dark:#242021;
  --light:#ffffff;
  --gray:#f4f4f4;
}
.orange-btn {
	background:#F4771D;
	border-color:#F4771D;
}
.orange {
	color:#F4771D;
}
.orange-bg {
	background:#F4771D;
}

body{
  margin:0;
  font-family:'Segoe UI', sans-serif;
  background:#fff;
  color:#333;
}

a{
  text-decoration:none!important;
  color:var(--primary);
}

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

/* ===============================
   HEADER (DESKTOP)
================================= */

/* HEADER */
.main-header{
  background:#fff;
  box-shadow:0 2px 15px rgba(0,0,0,0.05);
  position:sticky;
  top:0;
  z-index:999;
  transition:all .3s ease;
}

/* Flex Layout */
.header-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
}

/* Logo */
.logo-area img{
  max-height:55px;
}

/* MENU CENTER */
.main-nav{
  flex:1;
  text-align:center;
}

.menu-items{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:35px;
  margin:0;
  padding:0;
}

.menu-items li a{
  color:#242021;
  font-weight:600;
  transition:.3s;
  white-space:nowrap;
}

.menu-items li a:hover{
  color:var(--primary);
}

.header-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.phone-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;   /* Makes icon white */
}

/* Mobile icon only */
.mobile-icon {
  display: none;
}

@media (max-width: 768px) {
  .desktop-text {
    display: none;
  }
  .mobile-icon {
    display: inline-flex;
  }
}

/* Contact */
.header-contact{
  flex:0 0 auto;
}

.header-btn{
  background:var(--primary);
  color:#fff;
  padding:12px 22px;
  border-radius:6px;
  font-weight:600;
  display:inline-block;
}

/* Hide mobile icon on desktop */
.mobile-icon{
  display:none;
}
/* Shrink Effect */
.main-header{
  transition:all .3s ease;
}

.main-header.shrink{
  padding:5px 0;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
}

.main-header.shrink .logo-area img{
  max-height:45px;
}

/* ===============================
   MOBILE (ONLY ONE CLEAN BLOCK)
================================= */

/* ===============================
   FINAL MOBILE HEADER FIX
================================= */

@media(max-width:992px){
	
	.container{
  width:100%;
  margin:auto;
}

  .header-flex{
    flex-wrap:wrap;
  }

  /* Top Row */
  .logo-area{
    flex:1;
  }

  .header-contact{
    flex:0 0 auto;
  }

  /* Hide desktop phone */
  .desktop-text{
    display:none;
  }

  .mobile-icon{
    display:inline-block;
    font-size:18px;
  }

  .header-btn{
    padding:10px 14px;
    border-radius:50px;
  }

  /* Menu full width below */
  .main-nav{
    width:100%;
    order:3;
    border-top:1px solid #eee;
    margin-top:10px;
  }

  .menu-items{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:25px;
    padding:12px 15px;
    justify-content:flex-start;
  }

  .menu-items li{
    flex:0 0 auto;
  }

  .menu-items::-webkit-scrollbar{
    display:none;
  }

}
/* ===============================
   HERO SECTION
================================= */

.hero{
  background:linear-gradient(
    rgba(36,32,33,.9),
    rgba(36,32,33,.9)
  ),
  url('/wp-content/uploads/hero.jpg');
  color:#fff;
  padding:120px 0;
  text-align:center;
}

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

/* ===============================
   BUTTON
================================= */

.btn-primary{
  background:var(--primary);
  padding:12px 25px;
  color:#fff;
  border-radius:4px;
  display:inline-block;
}

/* ===============================
   SERVICES
================================= */

.services{
  padding:70px 0;
  background:var(--gray);
}

.service-box{
  background:#fff;
  padding:15px;
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* ===============================
   FOOTER
================================= */

footer{
  background:var(--dark);
  color:#fff;
  padding:40px 0;
}



/* Active Menu Item */
.menu-items li.current-menu-item a,
.menu-items li.current_page_item a{
  color:var(--primary);
  position:relative;
}

.menu-items li.current-menu-item a::after,
.menu-items li.current_page_item a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  background:var(--primary);
}

.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  width:55px;
  height:55px;
  background:#25D366;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  box-shadow:0 8px 25px rgba(0,0,0,.2);
  z-index:999;
  transition:.3s;
}

.whatsapp-float:hover{
  transform:scale(1.1);
}

/* ===============================
   MOBILE SLIDE-IN HEADER
================================= */

@media(max-width:992px){

  .main-header{
    transform:translateY(-100%);
    animation:slideDown .5s ease forwards;
  }

  @keyframes slideDown{
    to{
      transform:translateY(0);
    }
  }
}

/* ===============================
   WHATSAPP POPUP
================================= */

.wa-popup{
  position:fixed;
  bottom:20px;
  right:20px;
  width:300px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
  transform:translateY(120%);
  transition:all .4s ease;
  z-index:9999;
}

.wa-popup.show{
  transform:translateY(0);
}

.wa-popup-content{
  padding:20px;
  position:relative;
}

.wa-popup h4{
  margin:0 0 8px;
  color:#242021;
}

.wa-popup p{
  font-size:14px;
  margin-bottom:15px;
}

.wa-popup-btn{
  display:block;
  text-align:center;
  background:#25D366;
  color:#fff;
  padding:10px;
  border-radius:6px;
  font-weight:600;
}

.wa-popup-btn:hover{
  background:#1ebe5d;
}

.wa-close{
  position:absolute;
  top:10px;
  right:12px;
  cursor:pointer;
  font-size:18px;
}



.hover-services .service-card {
    position: relative;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

/* Background Image */
.service-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.6s ease;
}

/* Dark gradient at bottom for readable title */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1));
    z-index: 2;
}

/* Zoom on hover */
.service-card:hover .service-image {
    transform: scale(1.08);
}

/* Title ALWAYS above overlay */
.service-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 3;
    color: #fff;
}

.service-title h4 {
    font-size: 22px;
    font-weight: 600;
}

/* Hover full dark overlay */
.service-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    opacity: 0;
    z-index: 4;
    transition: opacity 0.4s ease;
}
.service-hover p{
    text-align:left;
}

.service-card:hover .service-hover {
    opacity: 1;
}

/* Hide title when hover */
.service-card:hover .service-title {
    opacity: 0;
}

.single-full-width {
    padding: 40px 0;
}

.blogs {
    max-width: 850px!important;
    margin: auto;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 15px;
    color: #777;
}

.breadcrumb a {
    text-decoration: none;
    color: #f4b400;
}

/* Title */
.post-title {
    font-size: 34px;
    font-weight: 700;
    margin: 10px 0 15px;
}

/* Meta */
.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* Featured Image */
.featured-image img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* Content */
.post-content {
    font-size: 18px;
    line-height: 1.9;
}

/* Sticky Share */
.sticky-share {
    position: fixed;
    left: 20px;
    top: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sticky-share a {
    background: #000;
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
}

.related-posts h3 {
    margin-bottom: 20px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item img {
    width: 100%;
    border-radius: 6px;
}

.related-item h4 {
    font-size: 16px;
    margin-top: 8px;
}



.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section {
    position: relative;
    background-image: url('https://amcsolutions.in/wp-content/images/top-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* adjust 0.5–0.75 if needed */
    z-index: 1;
}

/* Content always above overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Optional: Better text visibility */
.hero-content h1,
.hero-content p {
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}
.parallax-section {
    background: url('your-background.jpg') center center fixed;
    background-size: cover;
    position: relative;
}

.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.parallax-section .container {
    position: relative;
    z-index: 1;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

/* Move indicators below content */
#testimonialCarousel .carousel-indicators {
    position: static;
    margin-top: 30px;
}

/* Style dots */
#testimonialCarousel .carousel-indicators [data-bs-target] {
    background-color: #777;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#testimonialCarousel .carousel-indicators .active {
    background-color: #F4771D; /* yellow */
}

.cta-blog-section{
  background: var(--gray);
}

.cta-blog-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
  transition:0.3s;
  height:100%;
  display:flex;
  flex-direction:column;
}

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

/* Thumbnail */
.blog-thumb img{
  width:100%;
  height:240px;
  object-fit:cover;
}

/* Content */
.blog-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}

.blog-title{
  font-weight:600;
  margin-bottom:10px;
  color:#000!important;
}
}
.blog-title a{
	color:#000!important;
}

.blog-excerpt{
  font-size:14px;
  color:#555;
  flex-grow:1;
}

/* Bottom Right Button */
.blog-btn-wrap{
  text-align:right;
  margin-top:15px;
}

.read-more-btn{
  display:inline-block;
  font-size:13px;
  padding:6px 14px;
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  transition:0.3s;
}

.read-more-btn:hover{
  background:#000;
  color:#fff;
}

.cta-blog-card{
  position:relative;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
  transition:0.3s;
  height:100%;
  display:flex;
  flex-direction:column;
}

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

/* Overlay link */
.card-link-overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
}

/* Make content above overlay */
.blog-content,
.blog-thumb{
  position:relative;
  z-index:2;
}

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

.blog-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}

.blog-excerpt{
  flex-grow:1;
}

/* Bottom right button */
.blog-btn-wrap{
  text-align:right;
  margin-top:15px;
}

.read-more-btn{
  font-size:13px;
  padding:6px 14px;
  background:var(--primary);
  color:#fff;
  border-radius:4px;
  display:inline-block;
  pointer-events:none; /* important */
}

.archive-card-link{
  text-decoration:none;
  color:inherit;
  display:block;
}

.archive-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  transition:all 0.3s ease;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  position:relative;
}

.archive-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

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

.archive-content{
  padding:20px;
  position:relative;
  min-height:120px;
}

.archive-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:40px;
  line-height:1.4;
}

.read-more-btn{
  position:absolute;
  bottom:20px;
  right:20px;
  font-size:13px;
  padding:6px 12px;
  border-radius:20px;
  background:var(--primary);
  color:#fff;
  transition:0.3s;
}

.archive-card:hover .read-more-btn{
  background:#000;
}

.amc-hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url('<?php echo get_template_directory_uri(); ?>/assets/images/hardware-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 110px 0;
    color: #fff;
    text-align: center;
}
.amc-section-title {
    font-weight: 700;
    margin-bottom: 25px;
}
.amc-highlight {
    color: #ffc107;
    font-weight: 600;
}
.amc-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}
.amc-box:hover {
    transform: translateY(-6px);
}
.amc-dark {
    background: #111;
    color: #fff;
}
.amc-cta {
    background: #F4771D;
    padding: 60px 0;
    color: #000;
}

.software-hero{
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/wp-content/themes/amc-computers/images/software-hero.jpg');
  background-size: cover;
  background-position: center;
}

.service-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: 0.3s ease;
}

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

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

/* Mobile image full width */
@media (max-width: 768px) {
  .service-img {
    height: 220px;   /* nice banner look */
    object-fit: cover;
  }
}

/* HERO */
.contact-hero{
  height: 30vh;
  background: linear-gradient(135deg, #000000, #242021, var(--primary));
  background-size: cover;
}

/* MAIN SECTION */
.contact-section{
  background:#f9f9f9;
}

/* GLASS CARD */
.contact-card{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius:20px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  transition:0.3s;
}

.contact-card:hover{
  transform:translateY(-5px);
}

/* INFO CARD */
.info-card {
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.icon-box {
  width: 35px;
  height: 35px;
  background: #fff; /* yellow accent */
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: 0.3s;
}

.contact-item:hover .icon-box {
  transform: scale(1.1);
}

.contact-item p {
  opacity: 0.85;
}

/* FORM STYLE */
.form-control{
  border-radius:12px;
  border:1px solid #ddd;
}

.btn-primary{
  border-radius:50px;
  background: var(--primary);
  border:none;
}

.btn-primary:hover{
  background:#000;
}

/* MAP */
.map-wrapper iframe{
  display:block;
}

.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}
.footer-links a:hover {
    color: #F4771D;
    padding-left: 5px;
}
.social-icons a {
    font-size: 20px;
    color: #ccc;
    transition: 0.3s;
}
.social-icons a:hover {
    color: #ffc107;
}

.sitemap-hero{
  background: linear-gradient(135deg, #000, #2b2b2b);
}

.sitemap-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.sitemap-card:hover {
  transform: translateY(-4px);
}

.section-title {
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #F4771D; /* yellow accent */
  position: absolute;
  left: 0;
  bottom: 0;
}

.sitemap-list li {
  margin-bottom: 12px;
}

.sitemap-list a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.sitemap-list a i {
  color: #F4771D;
  margin-right: 8px;
}

.sitemap-list a:hover {
  color: #F4771D;
  padding-left: 6px;
}

.company-info {
  color: #555;
}

.company-info i {
  color: #F4771D;
  margin-right: 8px;
}

.company-info a {
  color: #333;
  text-decoration: none;
}

.company-info a:hover {
  color: #ffc107;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: #f8f9fa;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
  border: 1px solid #eee;
}

.social-icon:hover {
  background: #F4771D;
  color: #fff;
  transform: scale(1.1);
}