/*
 Theme Name:   Ayat Sourcing Child Theme
 Theme URI:    https://ayatsourcing.com
 Description:  Child theme for Ayat Sourcing Ltd. - Apparel Sourcing Company Bangladesh
 Author:       Ayat Sourcing Ltd.
 Author URI:   https://ayatsourcing.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  ayat-sourcing
*/

/* =============================================
   AYAT SOURCING - BRAND COLOR VARIABLES
   Primary:   #2D236B (Deep Purple/Navy)
   Secondary: #E20712 (Red)
   ============================================= */

:root {
  --ayat-primary: #2D236B;
  --ayat-secondary: #E20712;
  --ayat-white: #FFFFFF;
  --ayat-light-bg: #F5F5F5;
  --ayat-text: #333333;
  --ayat-text-light: #666666;
  --ayat-font: 'Poppins', sans-serif;
}

/* =============================================
   GLOBAL TYPOGRAPHY
   ============================================= */
body {
  font-family: var(--ayat-font);
  color: var(--ayat-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ayat-font);
  font-weight: 700;
  color: var(--ayat-primary);
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header,
.elementor-nav-menu--main {
  background-color: var(--ayat-primary) !important;
}

.elementor-nav-menu--main .elementor-nav-menu > li > a {
  color: #FFFFFF !important;
  font-family: var(--ayat-font);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 18px;
  transition: color 0.3s ease;
}

.elementor-nav-menu--main .elementor-nav-menu > li > a:hover,
.elementor-nav-menu--main .elementor-nav-menu > li.current-menu-item > a {
  color: var(--ayat-secondary) !important;
}

/* Dropdown Menu */
.elementor-nav-menu--main .sub-menu {
  background-color: var(--ayat-primary) !important;
  border-top: 3px solid var(--ayat-secondary);
}

.elementor-nav-menu--main .sub-menu li a {
  color: #FFFFFF !important;
  font-size: 14px;
  padding: 10px 20px;
}

.elementor-nav-menu--main .sub-menu li a:hover {
  color: var(--ayat-secondary) !important;
  background-color: rgba(255,255,255,0.08);
}

/* Mobile Hamburger */
.elementor-nav-menu__toggle .elementor-icon {
  color: #FFFFFF !important;
}

/* Logo */
.ayat-logo img {
  max-height: 60px;
  width: auto;
}

/* =============================================
   HERO SECTION
   ============================================= */
.ayat-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ayat-primary);
  overflow: hidden;
}

.ayat-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(45, 35, 107, 0.65);
  z-index: 1;
}

.ayat-hero .elementor-container {
  position: relative;
  z-index: 2;
}

.ayat-hero-text {
  color: #FFFFFF;
  text-align: center;
}

/* =============================================
   SECTION LABELS (small uppercase red text)
   ============================================= */
.ayat-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ayat-secondary);
  text-align: center;
  margin-bottom: 12px;
  display: block;
}

/* =============================================
   BUTTONS
   ============================================= */
.elementor-button.ayat-btn-primary,
.ayat-btn-primary {
  background-color: var(--ayat-secondary) !important;
  color: #FFFFFF !important;
  border: 2px solid var(--ayat-secondary) !important;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.elementor-button.ayat-btn-primary:hover,
.ayat-btn-primary:hover {
  background-color: transparent !important;
  color: var(--ayat-secondary) !important;
}

.elementor-button.ayat-btn-secondary,
.ayat-btn-secondary {
  background-color: var(--ayat-primary) !important;
  color: #FFFFFF !important;
  border: 2px solid var(--ayat-primary) !important;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.elementor-button.ayat-btn-secondary:hover,
.ayat-btn-secondary:hover {
  background-color: transparent !important;
  color: var(--ayat-primary) !important;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.ayat-product-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.ayat-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(45, 35, 107, 0.15);
}

.ayat-product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.ayat-product-card .card-body {
  padding: 20px;
}

.ayat-product-card h3 {
  color: var(--ayat-primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.ayat-product-card a {
  color: var(--ayat-secondary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.ayat-product-card a:hover {
  color: var(--ayat-primary);
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.ayat-services-section {
  background-color: var(--ayat-primary);
}

.ayat-service-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.ayat-service-box:hover {
  background: rgba(226, 7, 18, 0.15);
  border-color: var(--ayat-secondary);
  transform: translateY(-4px);
}

.ayat-service-box .service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.ayat-service-box h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 12px;
}

.ayat-service-box p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.7;
}

.ayat-service-box a {
  color: var(--ayat-secondary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   STATS / COUNTER SECTION
   ============================================= */
.ayat-stats-section {
  background-color: var(--ayat-secondary);
}

.elementor-counter .elementor-counter-number-wrapper {
  color: #FFFFFF;
}

.elementor-counter .elementor-counter-title {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   COMPETITIVE ADVANTAGE BOXES
   ============================================= */
.ayat-advantage-box {
  padding: 30px 25px;
  border-left: 4px solid var(--ayat-secondary);
  background: #F9F9F9;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.ayat-advantage-box:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 24px rgba(45,35,107,0.10);
  transform: translateX(4px);
}

.ayat-advantage-box h3 {
  color: var(--ayat-primary);
  font-size: 18px;
  margin-bottom: 10px;
}

.ayat-advantage-box p {
  color: var(--ayat-text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* =============================================
   PROCESS STEPS
   ============================================= */
.ayat-process-step {
  text-align: center;
  padding: 20px;
}

.ayat-process-step .step-number {
  width: 64px;
  height: 64px;
  background: var(--ayat-secondary);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.ayat-process-step h4 {
  color: var(--ayat-primary);
  font-size: 15px;
  font-weight: 600;
}

/* =============================================
   WHY CHOOSE US BOXES
   ============================================= */
.ayat-why-box {
  text-align: center;
  padding: 32px 24px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
}

.ayat-why-box:hover {
  box-shadow: 0 10px 32px rgba(45,35,107,0.13);
  transform: translateY(-5px);
}

.ayat-why-box .why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
}

.ayat-why-box h3 {
  color: var(--ayat-primary);
  font-size: 17px;
  margin-bottom: 10px;
}

.ayat-why-box p {
  color: var(--ayat-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* =============================================
   VALUES SECTION
   ============================================= */
.ayat-values-section {
  background: var(--ayat-primary);
}

.ayat-value-item {
  text-align: center;
  padding: 24px 16px;
}

.ayat-value-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ayat-value-item h4 {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   CERTIFICATIONS LOGOS
   ============================================= */
.ayat-cert-logo {
  padding: 12px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.ayat-cert-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   CLIENT LOGOS
   ============================================= */
.ayat-clients-logo {
  padding: 10px 16px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.ayat-clients-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   CTA BANNER
   ============================================= */
.ayat-cta-section {
  background: linear-gradient(135deg, var(--ayat-primary) 0%, #1a1445 100%);
  padding: 80px 0;
  text-align: center;
}

.ayat-cta-section h2 {
  color: #FFFFFF;
  font-size: 42px;
  margin-bottom: 16px;
}

.ayat-cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  margin-bottom: 32px;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.ayat-contact-form input,
.ayat-contact-form textarea,
.ayat-contact-form select {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: var(--ayat-font);
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.ayat-contact-form input:focus,
.ayat-contact-form textarea:focus {
  border-color: var(--ayat-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(226, 7, 18, 0.10);
}

.ayat-contact-form button[type="submit"],
.ayat-contact-form .submit-btn {
  background-color: var(--ayat-secondary);
  color: #FFFFFF;
  border: none;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ayat-contact-form button[type="submit"]:hover {
  background-color: var(--ayat-primary);
}

/* =============================================
   FOOTER
   ============================================= */
.ayat-footer {
  background-color: var(--ayat-primary);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
}

.ayat-footer h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ayat-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
  transition: color 0.3s ease;
}

.ayat-footer a:hover {
  color: var(--ayat-secondary);
}

.ayat-footer .footer-contact-info {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.75);
}

.ayat-footer .footer-contact-info strong {
  color: #FFFFFF;
}

.ayat-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.ayat-footer-bottom a {
  color: var(--ayat-secondary);
}

/* Social icons in footer */
.ayat-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #FFFFFF;
  font-size: 15px;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.ayat-social-icons a:hover {
  background: var(--ayat-secondary);
  border-color: var(--ayat-secondary);
}

/* =============================================
   GLOBAL NETWORK MAP SECTION
   ============================================= */
.ayat-global-section {
  background: #F5F5F5;
}

.ayat-country-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.ayat-country-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.ayat-country-card h3 {
  padding: 16px;
  color: var(--ayat-primary);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   ELEMENTOR GLOBAL OVERRIDES
   ============================================= */
.elementor-widget-heading .elementor-heading-title {
  line-height: 1.25;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

/* Divider color */
.elementor-widget-divider .elementor-divider-separator {
  border-top-color: var(--ayat-secondary);
}

/* Icon box widget */
.elementor-icon-box-icon .elementor-icon {
  color: var(--ayat-secondary) !important;
}

.elementor-icon-box-title {
  color: var(--ayat-primary) !important;
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 18px !important; }

  .ayat-hero {
    min-height: 80vh;
  }

  .ayat-product-card img {
    height: 160px;
  }

  .ayat-cta-section h2 {
    font-size: 26px;
  }

  .elementor-counter .elementor-counter-number-wrapper {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .ayat-advantage-box {
    border-left-width: 3px;
  }

  .ayat-footer {
    padding: 40px 0 16px;
  }
}
