/*
Theme Name: Mohit International
Theme URI: https://mohitinternational.com
Author: Mohit International Engineering Team
Author URI: https://mohitinternational.com
Description: Responsive WordPress theme for Mohit International - industrial machinery and oil mill equipment manufacturer featuring interactive slider, product category grids, reviews, FAQ, and smooth hover transitions.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mohit-international
*/

:root {
  --primary: #d32f2f;
  --primary-dark: #b71c1c;
  --dark: #1e242b;
  --light-gray: #f4f6f8;
  --card-bg: #ffffff;
  --text: #333333;
  --border-color: #e1e4e8;
  --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 14px 28px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.10);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

/* Link Resets - No underline, same color as regular text */
a {
  text-decoration: none !important;
  color: inherit;
  display: inline-block;
}

/* Universal Interactive Shadow Box Styling */
.box-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-base);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* Top Bar & Google Translator */
.top-bar {
  background: #111417;
  color: #ccc;
  padding: 6px 5%;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-contact span {
  margin-right: 18px;
}

.top-contact i {
  color: var(--primary);
  margin-right: 6px;
}

#google_translate_element {
  display: inline-block;
}

/* Sticky Desktop Header */
header.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1300px;
  margin: auto;
}

.brand-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.main-navigation ul li a {
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  padding: 6px 0;
}

.main-navigation ul li a:hover {
  color: var(--primary);
}

.btn-quote {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-quote:hover {
  background: var(--primary-dark);
}

/* Hero Slider */
.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.slide.active {
  opacity: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 8%;
  max-width: 750px;
}

.slide-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.slide-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #ddd;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 20px;
  padding: 12px 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Main Grid & Sticky Product Sidebar */
.main-wrapper {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-heading {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: var(--dark);
}

.product-links {
  list-style: none;
}

.product-links li {
  margin-bottom: 10px;
}

.product-links a {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  background: #f8f9fa;
  border-left: 3px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 500;
}

.product-links a:hover {
  background: #eee;
  border-left-color: var(--primary);
  color: var(--primary);
  padding-left: 16px;
}

/* Headings */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 45px;
  height: 3px;
  background: var(--primary);
  margin-top: 6px;
}

/* Category Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.category-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-card-body {
  padding: 18px;
  flex-grow: 1;
}

.category-card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark);
}

.category-card-body p {
  font-size: 13px;
  color: #666;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.feature-card i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--dark);
}

.feature-card p {
  font-size: 13px;
  color: #666;
}

/* Google Reviews */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 45px;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  color: #4285F4;
}

.stars {
  color: #fbbc05;
  font-size: 13px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
}

.reviewer-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--dark);
}

/* FAQ Accordion */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 45px;
}

.faq-item summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 12px;
  transition: var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

/* Footer */
footer.site-footer {
  background: #111417;
  color: #a0a6ad;
  padding: 50px 5% 20px;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}

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

.footer-brand h3 span {
  color: var(--primary);
}

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

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

.footer-col li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
  transition: var(--transition);
}

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

.social-icon {
  width: 38px;
  height: 38px;
  background: #222831;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  max-width: 1300px;
  margin: auto;
  padding-top: 20px;
  border-top: 1px solid #222831;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .main-navigation ul {
    display: none;
  }
}
/* Contact & Quote Form Styles */
.contact-section {
  margin-bottom: 45px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 25px;
}

.contact-info-list {
  list-style: none;
  margin-top: 15px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #555;
}

.contact-info-list i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 3px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  background: #fdfdfd;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.alert-box {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

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