/*
 * Stylesheet for the KazWear Central Asia distribution website.
 *
 * This custom CSS defines a modern, responsive layout inspired by
 * professional wholesale distributors across Europe. Colour variables
 * are defined at the root to make it easy to adjust the look in
 * WordPress. The design emphasises clarity, reliability and
 * accessibility so that the site feels trustworthy and approachable.
 */

/* Colour palette and global variables */
:root {
  --primary: #0a2540;        /* dark blue for headers and nav */
  --secondary: #0e6fc1;      /* vibrant blue accent */
  --highlight: #2e8bdb;      /* lighter accent for hover states */
  --light: #f5faff;         /* very light background */
  --text-dark: #24344d;      /* primary text colour */
  --text-light: #555;        /* secondary text colour */
  --border-radius: 8px;
}

/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--light);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: var(--highlight);
  text-decoration: underline;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation */
header {
  background-color: var(--primary);
  color: #fff;
  padding: 16px 0;
}

header .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav li a:hover {
  color: var(--highlight);
}

/* Hero section */
.hero {
  position: relative;
  background-image: linear-gradient(180deg, rgba(10,37,64,0.15) 0%, rgba(10,37,64,0.15) 100%), url('../images/Almaty.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 0;
}

.hero::after {
  content: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--highlight);
}

/* Generic section */
section {
  padding: 60px 0;
}

section h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--primary);
  text-align: center;
}

section .section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--text-light);
}

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

.feature {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.feature h4 {
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 1.2rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  margin-top: 20px;
}

.stat {
  text-align: center;
}

.stat h4 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.stat p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Services list */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.service h4 {
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service p {
  color: var(--text-light);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Image row */
.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.image-row img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .stats {
    flex-direction: column;
    gap: 20px;
  }
}