/*
Theme Name: fixcore
Theme URI: https://fixcore.by
Author: fixcore
Author URI: https://fixcore.by
Description: Минималистичная одностраничная тема для ремонта компьютеров и ноутбуков.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fixcore
Tags: one-page, landing page, repair, minimal, custom-colors
*/

:root {
  --primary: #6a0dad;
  --secondary: #ff7b00;
  --text: #1f2937;
  --light-bg: #f9fafb;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;
}

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

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

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 600;
  margin-left: 2rem;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--primary);
}
.contact-info {
  text-align: right;
}
.phone {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.address {
  color: var(--gray);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, var(--primary), #5b0c9c);
  color: var(--white);
  padding: 5rem 0;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--white);
  color: var(--primary);
}
.btn-primary:hover {
  background: #f0f0f0;
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}
.features {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.feature:last-child {
  margin-bottom: 0;
}
.feature-icon {
  margin-right: 12px;
  margin-top: 4px;
}

/* Sections */
section {
  padding: 5rem 0;
}
.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 768px;
  margin: 0 auto 3rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.service-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-desc {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.price-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.price-desc {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}
.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}
.contact-icon {
  color: var(--primary);
  margin-right: 1rem;
  margin-top: 4px;
}
.contact-label {
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-text {
  color: var(--gray);
  font-size: 0.95rem;
}
.map-placeholder {
  background: #e5e7eb;
  border: 2px dashed #9ca3af;
  border-radius: 12px;
  height: 384px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.map-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #111827;
  color: white;
  padding: 3rem 0;
}
.footer-content {
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-desc {
  color: #9ca3af;
  margin-bottom: 1rem;
}
.footer-contact {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-contact svg {
  margin-right: 8px;
  color: var(--secondary);
}
.copyright {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}