/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  :root {
    --primary-color: #a32626; /* Logo red/maroon */
    --text-on-primary: #ffffff;
    --accent-color: #e0b26b; /* Optional warm gold-like accent */
  }
  html{
    overflow-x: hidden !important;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    /* overflow-x: hidden !important; */
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Header and Navigation */
  header {
    background-color: #222;
    padding: 20px 0;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
    height: 66px;
  }
  h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    margin-bottom: 30px;
  }
  
  h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
  }
  
  .nav-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .translate-dropdown {
    font-size: 14px;
    line-height: 1;
  }
  .translate-box {
    background-color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
  }
  
  /* Remove spacing and set line height for cleaner appearance */
  #google_translate_element select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
    cursor: pointer;
  }
  
  .logo img {
    width: 100px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #f4a261;
  }
  
  /* Hero Section */
  .hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--primary-color);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
  }
  .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* vertical stack */
    z-index: 0;
  }
  
  .video-bg video {
    width: 100%;
    height: 50%;
    object-fit: cover;
    opacity: 0.6; /* optional: make content more readable */
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    color: white;
  }
  
  
  .hero-content h1,
  .hero-content p {
    color: white;
  }
  
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin: 20px 0;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4a261;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background-color: #e76f51;
  }
  
  /* Sections */
  section {
    padding: 60px 4rem;
    /* max-width: 1200px; */
    margin: auto;
  }
  .about-section {
    background-color: #fff5f5;
    color: #333;
    padding: 60px ;
    line-height: 1.8;
  }
  
  .about-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .about-section,
  .contact-section {
    background-color: #f9f9f9;
  }
  
  .services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .service-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    text-align: center;
  }
  
  .service-card img {
    border-radius: 10px;
    margin-bottom: 15px;
    height: 180px;
  }
  
  .gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .gallery-container img {
    width: 200px;
    border-radius: 10px;
  }
  
  /* Contact Form */
  .contact-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
  }
  
  .contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
  }
  
  .contact-form, .contact-info {
    flex: 1 1 400px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  
  .contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .contact-info h3 {
    margin-bottom: 10px;
    color: #333;
  }
  
  .contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  /* Footer */
  footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
/* Products Section Styles */
.products-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
  }
  
  .products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .product-card {
    background-color: #f9f9f9;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .product-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .product-card p {
    margin-bottom: 15px;
  }
  
  .product-card .btn {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
  }
  
  /* Image Gallery Inside Product Cards */
  .product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .main-img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    transition: opacity 0.3s ease;
  }
  
  .thumbnail-row {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: border 0.3s ease, transform 0.2s ease;
  }
  
  .thumb:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
  }

  .lathe-works-section,
.recovery-works-section {
  background-color: #fff;
  padding: 60px 20px;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



.before-after-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.before-after-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  width: 260px;
  text-align: center;
}

.before-after-card img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
}
.before-after-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .beer-slider {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  }
  .social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    font-size: 24px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #0077b6; /* or your theme color */
  }
  .warranty-badge {
    background: linear-gradient(45deg, #f9a825, #f57f17);
    color: white;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    /* display: inline-block; */
    margin-bottom: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  
  /* Animation */
  @keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  .swiper {
    width: 100%;
    padding: 2rem 0;
  }
  /* .product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  } */
  /* .product-gallery {
    max-width: 300px;
  } */
  .thumbnail-row {
    display: flex;
    gap: 5px;
  }
  .btn {
    background-color: #a00;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
  }
  
  .product-carousel-section {
    padding: 60px 0;
    text-align: center;
    color: white;
  }

  .product-carousel-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 1px;
  }

  .carousel {
    position: relative;
    width: 600px;
    height: 400px;
    margin: auto;
    perspective: 1000px;
    transform-style: preserve-3d;
  }

  .carousel-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s;
  }

  .carousel-item {
    position: absolute;
    width: 400px;
    height: 300px;
    left: 100px;
    top: 50px;
    border-radius: 12px;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transition: transform 1s;
  }

  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
  }

  #prev {
    left: -60px;
  }

  #next {
    right: -60px;
  }
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 60px 0 40px;
    color: #111;
    position: relative;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;            /* ✅ Force it to expand */
    max-width: 1000px;      /* ✅ Optional: prevent stretching too far */
    padding: 0 20px;
  }
  
  
  .flip-card {
    width: 100%;
    height: 300px; /* ✅ Must be fixed or responsive value */
    perspective: 1000px;
    cursor: pointer;
  }
  
  .flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-inner {
    transform: rotateY(180deg);
  }
  
  .flip-front,
  .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .flip-front img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
    display: block;
  }
  
  .flip-back {
    background: #111;
    color: #fff;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  
  .flip-back h3 {
    margin: 0;
    color: #a00;
    font-size: 1.5rem;
  }
  
  .flip-back p {
    margin-top: 10px;
    font-size: 1rem;
  }
  
  .social-sidebar {
    position: fixed;
    top: 35%;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 9999;
  }
  
  .social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 3px 0;
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .social-sidebar a.facebook { background: #3b5998; }
  .social-sidebar a.twitter { background: #1da1f2; }
  .social-sidebar a.flipboard { background: #e12828; }
  .social-sidebar a.pinterest { background: #bd081c; }
  .social-sidebar a.email { background: #a156b2; }
  
  .social-sidebar a:hover {
    filter: brightness(1.2);
  }
  
  .colored-icon i {
    font-size: 24px;
    transition: color 0.3s ease;
  }
  
  .instagram i {
    color: #E4405F; /* Instagram pink */
  }
  
  .whatsapp i {
    color: #25D366; /* WhatsApp green */
  }
  
  /* Optional hover effect */
  .colored-icon:hover i {
    opacity: 0.8;
  }
  /* Optional: Tighter control on very small screens */
@media (max-width: 600px) {
  .video-gallery {
    grid-template-columns: 1fr; /* One image per row */
  }

  .video-gallery img {
    height: 180px;
  }
  .flip-card{
    height: 175px;
  }
  section{
    padding: 60px 1rem;
  }
}
  @media(max-width: 500px) {
    nav{
        display: flex;
        flex-direction: column;
    }
    .nav-right-group{
        flex-direction: column;
    }
    header{
        height: 206px;
    }
    .about-section{
      text-align: center;
    }
  }