/* ========================================
   AtlanTech Resellers - Static Site Styles
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Roboto+Slab:wght@300;400;500;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hind', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

a {
  color: #365597;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #1a3a6e;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 97px;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: 76px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo img {
  height: 50px;
  transition: height 0.3s;
}

.site-header.scrolled .site-logo img {
  height: 40px;
}

/* ---- Navigation ---- */
.main-nav ul {
  display: flex;
  gap: 5px;
}

.main-nav a {
  display: block;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #333;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #365597;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  height: 600px;
  margin-top: 97px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-slide .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 85, 151, 0.84);
}

.hero-slide .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 800px;
}

.hero-slide .slide-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-slide .slide-content p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

/* Slider Nav */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-nav button.active {
  background: #fff;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  position: relative;
  margin-top: 97px;
  padding: 70px 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(54, 85, 151, 0.84);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
}

.page-header .breadcrumb {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}

.page-header .breadcrumb a {
  color: #fff;
}

.page-header .breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f8f8f8;
}

.section-dark {
  background: #222;
  color: #fff;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.section-subtitle {
  font-family: 'Roboto Slab', serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #365597;
  margin-bottom: 10px;
}

.section-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #454545;
  max-width: 800px;
}

.section-text p + p {
  margin-top: 15px;
}

.text-center {
  text-align: center;
}

.text-center .section-text {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Values Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
}

.value-card .value-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #365597;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ---- Brand Feature ---- */
.brand-feature {
  display: flex;
  align-items: center;
  gap: 60px;
}

.brand-feature .brand-image {
  flex: 0 0 300px;
  text-align: center;
}

.brand-feature .brand-info {
  flex: 1;
}

.brand-feature .brand-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 31px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.brand-feature .brand-info p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #454545;
  margin-bottom: 15px;
}

.brand-feature .brand-info ul {
  margin-bottom: 20px;
}

.brand-feature .brand-info ul li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: #454545;
}

.brand-feature .brand-info ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #365597;
  font-weight: 700;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #365597;
  color: #fff;
}

.btn-primary:hover {
  background: #1a3a6e;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #365597;
  border: 2px solid #365597;
}

.btn-outline:hover {
  background: #365597;
  color: #fff;
}

/* ---- Acquisition Section ---- */
.acquisition-section {
  background: #365597;
  color: #fff;
  padding: 80px 0;
}

.acquisition-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.acquisition-section p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 15px;
}

.acquisition-section a {
  color: #fff;
  text-decoration: underline;
}

/* ---- Brand Cards Grid ---- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.brand-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.brand-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.brand-card .card-image {
  padding: 40px;
  text-align: center;
  background: #f8f8f8;
}

.brand-card .card-image img {
  max-height: 80px;
}

.brand-card .card-body {
  padding: 25px;
}

.brand-card .card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.brand-card .card-category {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- About Page ---- */
.values-list {
  margin-top: 30px;
}

.values-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  color: #454545;
  border-bottom: 1px solid #eee;
}

.values-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #365597;
  font-weight: 700;
  font-size: 18px;
}

.statement-block {
  margin-top: 40px;
  padding: 30px;
  background: #f8f8f8;
  border-left: 4px solid #365597;
}

.statement-block h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #365597;
  margin-bottom: 10px;
}

.statement-block p {
  font-size: 16px;
  color: #454545;
  line-height: 1.6;
}

/* ---- CablesAndKits Detail ---- */
.achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.achievement-item {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 5px;
}

.achievement-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.achievement-item p {
  font-size: 14px;
  color: #666;
}

/* ---- Contact Page ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  text-align: center;
  padding: 40px 30px;
  background: #f8f8f8;
  border-radius: 5px;
}

.contact-card .contact-icon {
  font-size: 36px;
  color: #365597;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 15px;
  color: #454545;
  line-height: 1.6;
}

.contact-card a {
  color: #365597;
}

/* ---- Footer ---- */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col a {
  color: #ccc;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col ul li {
  padding: 5px 0;
}

.footer-col ul li a {
  font-size: 14px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #222;
    transition: right 0.3s;
    z-index: 2000;
    padding-top: 60px;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    color: #fff;
    padding: 15px 25px;
    border-bottom: 1px solid #333;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #7b9fe0;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
  }

  .nav-overlay.active {
    display: block;
  }

  .hero-slide .slide-content h1 {
    font-size: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-feature {
    flex-direction: column;
    gap: 30px;
  }

  .brand-feature .brand-image {
    flex: none;
  }

  .achievements {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 450px;
  }

  .hero-slide .slide-content h1 {
    font-size: 30px;
  }

  .hero-slide .slide-content p {
    font-size: 15px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .acquisition-section h2 {
    font-size: 28px;
  }
}
