/*
================================================================================
FLAVOURTECH THEME STYLESHEET
================================================================================
Theme Name: Flavourtech
Author: Flavourtech
Author URI: https://flavour.tech/
Text Domain: ft
Description: Professional CSS organization following best practices
================================================================================
*/

/* ============================================================================
   IMPORTS & EXTERNAL RESOURCES
   ============================================================================ */

/* Import brand fonts - Updated to include 800 weight for extra bold */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&amp;family=Open+Sans:wght@400;600&amp;display=swap');

/* ============================================================================
   BASE STYLES & GLOBAL SETTINGS
   ============================================================================ */

/* Global Background and Base Typography */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #333333; /* Brand guide Charcoal */
  line-height: 1.6;
  background-color: #F8F3E6 !important; /* Brand guide Cream background */
}

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Ensure all containers use cream background */
.home-page,
.home-page-about,
.home-page-about-top,
.home-page-about-count-wrapper {
  background-color: #F8F3E6;
}

/* ============================================================================
   TYPOGRAPHY SYSTEM
   ============================================================================ */

/* Base heading styles */
h1, h2, h3, h4, h5, h6,
.big-title, .hero-title, .section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* Typography Hierarchy - Brand Guide Compliant */
.title--3xl, .big-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800; /* Extra bold as requested */
  font-size: 36px; /* Brand guide H1 specification */
  line-height: 48px; /* Brand guide H1 line-height */
  color: #E3262E; /* FlavourTech Red */
}

.title--2xl {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px; /* Brand guide H2 specification */
  line-height: 36px;
}

.title--xl {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 22px; /* Brand guide H3 specification */
  line-height: 28px;
}

.title--lg {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 18px; /* Brand guide H4 specification */
  line-height: 24px;
}

.title--md {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px; /* Brand guide H5 specification */
  line-height: 22px;
}

.title--sm {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px; /* Brand guide H6 specification */
  line-height: 20px;
}

/* Body Text Styles - Brand Guide Compliant */
.content--big, .standard-body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px; /* Brand guide standard body */
  line-height: 24px;
  color: #333333;
}

.content--small, .small-body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 14px; /* Brand guide small body */
  line-height: 20px;
  color: #333333;
}

.caption, .legal-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 12px; /* Brand guide caption/legal */
  line-height: 18px;
  color: #333333;
}

/* Font Weight Utilities */
.fw-400 {
  font-weight: 400 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-800 {
  font-weight: 800 !important; /* Extra bold for hero title */
}

/* ============================================================================
   COLOR SYSTEM
   ============================================================================ */

/* Brand Colors */
.title--red {
  color: #E3262E !important; /* FlavourTech Red */
}

.text--red {
  color: #E3262E !important;
}

.text--deep-red {
  color: #B01B23 !important;
}

.text--charcoal {
  color: #333333 !important;
}

.text--grey {
  color: #E5E5E5 !important;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

/* Hero Container */
.home-page-hero {
  position: relative;
}

.home-page-hero-content {
  position: absolute;
  top: 40px !important; /* Move to top */
  left: 50%;
  transform: translateX(-10%);
  z-index: 10;
  text-align: left;
  width: 100%;
  padding: 0 20px;
}

/* Hero Title Styling */
.home-page-hero .title--3xl,
.home-page-hero .big-title {
  font-size: 60px !important;
  line-height: 50px !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  color: #E3262E !important;
  white-space: nowrap !important; /* Prevent text wrapping */
  text-shadow:
    -.8px -.8px 0 #F8F3E6,
    .8px -.8px 0 #F8F3E6,
    -.8px .8px 0 #F8F3E6,
    .8px .8px 0 #F8F3E6 !important; /* Thin beige outline */
}

/* Individual line styling for hero title */
.hero-title-line-1 {
  font-weight: 800 !important;
  color: #E3262E !important; /* Bold FlavourTech Red */
  display: block !important;
  white-space: nowrap !important; /* Keep "Building Trust" on one line */
  margin-bottom: 15px !important; /* Add spacing between lines */
  text-shadow:
    -.8px -.8px 0 #F8F3E6,
    .8px -.8px 0 #F8F3E6,
    -.8px .8px 0 #F8F3E6,
    .8px .8px 0 #F8F3E6 !important; /* Thin beige outline */
}

.hero-title-line-2 {
  font-weight: 400 !important;
  color: #E3262E !important; /* Full FlavourTech Red - not transparent */
  display: block !important;
  white-space: nowrap !important; /* Keep "Delivering Quality" on one line */
  margin-bottom: 15px !important; /* Add spacing between lines */
  text-shadow:
    -.8px -.8px 0 #F8F3E6,
    .8px -.8px 0 #F8F3E6,
    -.8px .8px 0 #F8F3E6,
    .8px .8px 0 #F8F3E6 !important; /* Thin beige outline */
}

.hero-title-line-3 {
  font-weight: 800 !important;
  color: #FFFFFF !important; /* White text */
  display: block !important;
  white-space: nowrap !important; /* Keep "Everyday!" on one line */
  margin-bottom: 0 !important; /* No margin on last line */
  text-shadow:
    -.8px -.8px 0 #000000,
    .8px -.8px 0 #000000,
    -.8px .8px 0 #000000,
    .8px .8px 0 #000000 !important; /* Fine black outline */
}

/* Hero Supporting Text */
.hero-subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: white;
  margin-top: 10px;
  text-shadow: -.8px -.8px 0 #000000, .8px -.8px 0 #000000, -.8px .8px 0 #000000, .8px .8px 0 #000000;
}

.hero-subtext {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: white;
  margin-top: 4px;
  text-shadow: -.8px -.8px 0 #000000, .8px -.8px 0 #000000, -.8px .8px 0 #000000, .8px .8px 0 #000000;
}

/* Remove unwanted hero elements */
.home-page-hero .progress-line,
.home-page-hero .loading-bar,
.home-page-hero .white-line,
.home-page-hero .progress-bar,
.home-page-hero .swiper-pagination,
.home-page-hero .pagination-line,
.home-page-hero .hero-progress,
.home-page-hero .slider-progress,
.home-page-hero-progress,
.hero-slider-progress,
.home-page-hero-content::after,
.home-page-hero-content::before,
.home-page-hero .title::after,
.home-page-hero .title::before,
.home-page-hero h1::after,
.home-page-hero h1::before {
  display: none !important;
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */

/* About Section Container */
.home-page-about {
  padding: 60px 0 !important;
  background-color: #F8F3E6 !important; /* Brand guide Cream */
}

/* About Section Layout */
.home-page-about-top {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 60px !important;
  align-items: start !important;
  margin-bottom: 30px;
}

/* About Section Typography */
.home-page-about .toptitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #E3262E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.home-page-about .title--md {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 32px !important; /* Larger for more impact */
  line-height: 38px !important;
  color: #333333 !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important; /* Remove bottom margin */
}

.home-page-about .content--big {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 26px !important;
  color: #333333 !important; /* Changed to brand-compliant Charcoal */
  margin-top: 0 !important;
}

.home-page-about .content--big strong {
  font-weight: 600 !important;
  color: #333333 !important;
}

/* ============================================================================
   STATISTICS SECTION
   ============================================================================ */

/* Stats Container */
.home-page-about-count-wrapper {
  margin-top: 0px !important; /* Reduced from 60px */
  padding-top: 60px !important;
  border-top: 1px solid #E5E5E5 !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
}

/* Individual Stat Items */

.home-page-about-count-red {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 800 !important; /* Bolder */
  font-size: 32px !important; /* Larger numbers */
  line-height: 36px !important;
  color: #E3262E !important;
  margin-bottom: 12px !important;
}

.home-page-about-count p:last-child {

}

/* ============================================================================
   SPECIAL COMPONENTS
   ============================================================================ */

/* Tradeshow Sticky Banner */
.tradeshow-notice {
  background: #E3262E;
  color: white;
  padding: 12px 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  position: absolute;
  top: 0 !important;
  z-index: 1000 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.tradeshow-notice a {
  color: white;
  font-size: 18px;
}


/* Career Button */
.career-hero-button {
  cursor: pointer;
}

/* Ajax Loader */
.ajax-loader {
  position: fixed;
  background: rgba(255, 255, 255, 0.35);
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   SOCIAL SHARING COMPONENTS
   ============================================================================ */

/* Share Button Dropdown */
.share-button-dropdown .heateor_sss_sharing_ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.share-button-dropdown div.heateor_sss_follow_ul a,
.share-button-dropdown div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a {
  width: 100%;
  display: flex !important;
  padding: 8px 16px !important;
  margin: 0 !important;
  align-items: center !important;
  gap: 1.2rem !important;
}

.share-button-dropdown div.heateor_sss_follow_ul a p.sharetitle,
.share-button-dropdown div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a p.sharetitle {
  color: rgba(3, 1, 0, 0.6) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0;
  padding: 0;
}

.share-button-dropdown div.heateor_sss_follow_ul a:hover,
.share-button-dropdown div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a:hover {
  background: #f1f1f1 !important;
}

.share-button-dropdown .heateor_sss_sharing_ul a span {
  width: 25px !important;
  height: 25px !important;
}

/* Social Share Links */
.social-share-links .heateor_sss_sharing_ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem; /* Made consistent with brand spacing */
  padding: 0;
}

.social-share-links .heateor_sss_sharing_ul a span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 4.5rem !important;
  height: 4.5rem !important;
  border-radius: 50% !important;
}

.social-share-links .heateor_sss_sharing_ul a span svg {
  width: 25px;
  height: 25px;
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.d-none {
  display: none !important;
}

.text-uppercase {
  text-transform: uppercase;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  /* Typography adjustments */
  .title--3xl, .big-title {
    font-size: 20px; /* 30% smaller on mobile */
    line-height: 28px;
  }

  .home-page-hero .title--3xl,
  .home-page-hero .big-title {
    font-size: 32px !important; /* Scaled down from 60px */
    line-height: 36px !important;
  }

  /* Hero section adjustments */
  .home-page-hero-content {
    top: 20px !important; /* Closer to top on mobile */
    padding: 0 15px;
  }

  /* About section layout adjustments */
  .home-page-about-top {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    margin-bottom: 60px;
  }

  .home-page-about .title--md {
    font-size: 28px !important;
    line-height: 34px !important;
  }

  /* Statistics section adjustments */
  .home-page-about-count-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
}

/* ============================================================================
   END OF STYLESHEET
   ============================================================================ */
