/*
Theme Name: NII PEEZ Clean Theme
Version: 1.0
Author: TriBUS
*/

:root {
  --primary-dark: #2C2C2C;
  --secondary-dark: #8B0000;
  --light-beige: #F8F6E8;
  --white: #FFFFFF;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 16px;
  --font-size-large: 1.125rem;
  --font-size-xl: 1.375rem;
  --font-size-xxl: 2rem;
  --spacing-unit: 1rem;
  --border-radius: 4px;
  --shadow: 0 2px 8px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-unit);
}

h1 { font-size: var(--font-size-xxl); }
h2 { font-size: calc(var(--font-size-xl) * 1.1); }
h3 { font-size: var(--font-size-xl); }

p {
  margin-bottom: var(--spacing-unit);
}

a {
  color: var(--secondary-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-dark);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-main);
  font-size: var(--font-size-large);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: #a60000;
  transform: translateY(-2px);
}

#header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.logo p {
  font-size: 0.9rem;
  color: var(--primary-dark);
  margin-top: 0.25rem;
}

.primary-menu ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.primary-menu a {
  color: var(--primary-dark);
  font-size: var(--font-size-large);
  font-weight: 500;
  position: relative;
}

.primary-menu a:hover {
  color: var(--secondary-dark);
}

.primary-menu a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-dark);
}

#hero {
  background-color: var(--light-beige);
  padding: 5rem 0;
  text-align: center;
}

#hero h1 {
  margin-bottom: 1.5rem;
}

#hero p {
  font-size: var(--font-size-large);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: #555;
}

.services-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--primary-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  text-align: center;
  transition: var(--shadow);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--secondary-dark);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

#colophon {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-contacts,
.footer-social {
  color: var(--white);
}

.footer-contacts a,
.footer-social a {
  color: var(--white);
  margin-right: 1.5rem;
}

.footer-contacts a:hover,
.footer-social a:hover {
  color: #ccc;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .primary-menu ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

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