/* Основные стили для сайта Trakzovortex */

/* Импорт шрифта */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;700&display=swap');

/* Базовые стили */
:root {
  --primary: #1F4D8A;
  --primary-light: #3D7DDA;
  --accent: #FF8C42;
  --light-gray: #F8F9FA;
  --gray: #E9ECEF;
  --dark-gray: #495057;
  --text: #212529;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

/* Стили для заголовков */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* Кнопки */
.btn {
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #e67a36;
  border-color: #e67a36;
  color: var(--white);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .navbar-brand img {
  max-height: 40px;
}

.site-header .nav-link {
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--primary);
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(rgba(31, 77, 138, 0.8), rgba(31, 77, 138, 0.8)), url('../images/hero-image.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Calculator Section */
.calculator-section {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.calculator-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.calculator-card h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.calculator-card label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.calculator-card .form-control, 
.calculator-card .form-select {
  margin-bottom: 1rem;
}

.results-card {
  background-color: rgba(31, 77, 138, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}

/* Product Grid */
.product-grid {
  padding: 4rem 0;
}

.product-card {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.product-card .card-img-top {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  height: 200px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 1.5rem;
}

.product-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Steps Section */
.steps-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.step-card {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.step-card .step-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Highlights Section */
.highlights-section {
  padding: 4rem 0;
}

.highlight-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  height: 100%;
}

.highlight-card .highlight-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.contact-form-card {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.contact-form-card h2 {
  margin-bottom: 2rem;
}

.contact-form-card .form-control {
  margin-bottom: 1.5rem;
}

.contact-form-card textarea.form-control {
  min-height: 120px;
}

.contact-form-card .btn {
  width: 100%;
  padding: 0.75rem 0;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
}

.site-footer .footer-links li {
  margin-bottom: 0.75rem;
}

.site-footer .footer-contact p {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* About Page */
.page-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(rgba(31, 77, 138, 0.8), rgba(31, 77, 138, 0.8)), url('../images/about-ecommerce-header.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-bottom: 3rem;
}

.page-header h1 {
  color: var(--white);
}

.about-section {
  padding: 3rem 0;
}

.about-section h2 {
  margin-bottom: 2rem;
}

.about-card {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  height: 100%;
}

/* Payment Solutions Page */
.payment-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(rgba(31, 77, 138, 0.8), rgba(31, 77, 138, 0.8)), url('../images/payment-solutions-header.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-bottom: 3rem;
}

.payment-header h1 {
  color: var(--white);
}

.payment-solutions-section {
  padding: 3rem 0;
}

.comparison-table {
  box-shadow: var(--box-shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.fee-estimator {
  background-color: var(--light-gray);
  padding: 3rem 0;
  margin: 3rem 0;
}

/* Shopping Tips Page */
.tips-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(rgba(31, 77, 138, 0.8), rgba(31, 77, 138, 0.8)), url('../images/shopping-tips-header.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  margin-bottom: 3rem;
}

.tips-header h1 {
  color: var(--white);
}

.tips-section {
  padding: 3rem 0;
}

.tip-card {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.tip-card .card-img-top {
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  height: 200px;
  object-fit: cover;
}

.tip-card .card-body {
  padding: 1.5rem;
}

.tip-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Single Tip Page */
.tip-content {
  padding: 3rem 0;
}

.tip-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
}

/* Contacts Page */
.contact-header {
  padding: 5rem 0 3rem;
  background-color: var(--primary);
  color: var(--white);
  margin-bottom: 3rem;
}

.contact-header h1 {
  color: var(--white);
}

.contact-info-section {
  padding: 3rem 0;
}

.contact-info-card {
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

/* Thank You Page */
.thank-you-section {
  padding: 6rem 0;
  text-align: center;
}

.thank-you-section img {
  max-width: 200px;
  margin-bottom: 2rem;
}

.thank-you-section h1 {
  margin-bottom: 1.5rem;
}

.thank-you-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-settings-modal .modal-content {
  border-radius: var(--radius);
}

.cookie-settings-modal .modal-header {
  background-color: var(--primary);
  color: var(--white);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.cookie-settings-modal .modal-header h5 {
  color: var(--white);
}

.cookie-settings-modal .btn-close {
  color: var(--white);
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category h5 {
  display: flex;
  align-items: center;
}

.cookie-category .form-check-input {
  margin-right: 0.5rem;
}

.necessary-cookies .form-check-input {
  opacity: 0.7;
}

/* Modal */
.modal-content {
  border-radius: var(--radius);
  border: none;
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 0.5rem 1.5rem 1.5rem;
}

/* Интерактивные элементы */
.interactive-element {
  transition: var(--transition);
}

.interactive-element:hover {
  transform: scale(1.02);
}

/* Policy Pages */
.policy-content {
  padding: 3rem 0;
}

.policy-content h2 {
  margin-top: 2.5rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-content .update-date {
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 5rem 0 2rem;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 4rem 0 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .calculator-card,
  .contact-form-card,
  .about-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  .hero {
    padding: 3.5rem 0 1.5rem;
  }
  
  .btn {
    padding: 0.4rem 1.2rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* intl-tel-input styles */
.iti {
  width: 100%;
}