/* UPTECH Main Styles - Based on eNAO Design */
/* This file contains the main styles converted from eNAO to UPTECH */

/* Import fonts */
@font-face {
  font-family: "TT Hoves Pro Variable Unspecified";
  src: url("../assets/uptech/fonts/TT_Hoves_Pro_Variable-VF/TTHovesProVariable-ThinRgHair.woff2") format("woff2"), 
       url("../assets/uptech/fonts/TT_Hoves_Pro_Variable-VF/TTHovesProVariable-ThinRgHair.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/uptech/fonts/Inter_Tight/InterTight-Italic-VariableFont_wght.woff2") format("woff2"), 
       url("../assets/uptech/fonts/Inter_Tight/InterTight-Italic-VariableFont_wght.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/uptech/fonts/Inter_Tight/InterTight-VariableFont_wght.woff2") format("woff2"), 
       url("../assets/uptech/fonts/Inter_Tight/InterTight-VariableFont_wght.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Icon font */
@font-face {
  font-family: 'iconeNeo';
  src: url('../assets/uptech/fonts/iconeNeo-v1.0/fonts/iconeNeoc1a3.eot');
  src: url('../assets/uptech/fonts/iconeNeo-v1.0/fonts/iconeNeoc1a3.eot?#iefix') format('embedded-opentype'),
       url('../assets/uptech/fonts/iconeNeo-v1.0/fonts/iconeNeoc1a3.woff') format('woff'),
       url('../assets/uptech/fonts/iconeNeo-v1.0/fonts/iconeNeoc1a3.ttf') format('truetype'),
       url('../assets/uptech/fonts/iconeNeo-v1.0/fonts/iconeNeoc1a3.svg#iconeNeoc1a3') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Icon classes */
[class^="iconeNeo-"], [class*=" iconeNeo-"] {
  font-family: 'iconeNeo' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconeNeo-close:before { content: "\e907"; }
.iconeNeo-linkin:before { content: "\e906"; }
.iconeNeo-zalo:before { content: "\e90f"; }
.iconeNeo-youtube:before { content: "\e90e"; }
.iconeNeo-arrow-down:before { content: "\e900"; }
.iconeNeo-arrow-left:before { content: "\e901"; }
.iconeNeo-arrow-right:before { content: "\e902"; }
.iconeNeo-link:before { content: "\e903"; }
.iconeNeo-facebook:before { content: "\e904"; }

/* UPTECH Color Variables */
:root {
  --uptech-primary: #19212F;
  --uptech-secondary: #00ACAD;
  --uptech-accent: #F5F5F5;
  --uptech-text: #333333;
  --uptech-text-light: #666666;
  --uptech-white: #FFFFFF;
  --uptech-black: #000000;
}

/* Base styles */
body {
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--uptech-text);
  background-color: var(--uptech-white);
  margin: 0;
  padding: 0;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header--transparent {
  background: transparent;
  backdrop-filter: none;
}

.header__wrap {
  padding: 0 20px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo svg {
  height: 40px;
  width: auto;
}

.header__menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.menu-list li {
  position: relative;
}

.menu-list a {
  text-decoration: none;
  color: var(--uptech-primary);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.menu-list a:hover {
  color: var(--uptech-secondary);
}

/* Megamenu */
.menu-has-children .megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--uptech-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 30px;
  min-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-has-children:hover .megamenu {
  opacity: 1;
  visibility: visible;
}

.item-cta {
  display: block;
  text-decoration: none;
  color: var(--uptech-primary);
  transition: transform 0.3s ease;
}

.item-cta:hover {
  transform: translateY(-5px);
}

.item-cta img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.item-cta h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Language Switcher */
.header__lang {
  margin-right: 20px;
}

.select-lang {
  position: relative;
  cursor: pointer;
}

.select-lang__label {
  padding: 8px 16px;
  background: var(--uptech-accent);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Contact Button */
.header__contact {
  background: var(--uptech-secondary);
  color: var(--uptech-white);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header__contact:hover {
  background: var(--uptech-primary);
  transform: translateY(-2px);
}

/* Mobile Menu */
.header__humberger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.header__humberger span {
  width: 25px;
  height: 3px;
  background: var(--uptech-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.sec-hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.item-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--uptech-white);
}

.item-title {
  font-family: "TT Hoves Pro Variable Unspecified", sans-serif;
  font-size: 4rem;
  font-weight: 100;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* About Section */
.sec-homeAbout {
  padding: 100px 0;
  background: var(--uptech-white);
}

.titlebox__title {
  font-family: "TT Hoves Pro Variable Unspecified", sans-serif;
  font-size: 2.5rem;
  font-weight: 100;
  color: var(--uptech-primary);
  margin-bottom: 30px;
}

.titlebox__text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--uptech-text-light);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--uptech-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  color: var(--uptech-primary);
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header__menu {
    display: none;
  }
  
  .header__humberger {
    display: flex;
  }
  
  .item-title {
    font-size: 2.5rem;
  }
  
  .titlebox__title {
    font-size: 2rem;
  }
  
  .menu-list {
    flex-direction: column;
    gap: 20px;
  }
  
  .megamenu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 20px 0;
  }
}
