:root {
  --primary: #2563EB;
  --secondary: #9f22c5;
  --background: #F9FAFB;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --accent: #3bfa15;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s ease;
  
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
  font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: var(--space-sm); }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logo:hover {
  color: var(--secondary);
}

.nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: var(--primary);
  color: white;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.25rem;
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-xl) 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  text-shadow: 3px 3px 3px black;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 3px 3px 3px black;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.section {
  padding: var(--space-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.card h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.footer {
  background: var(--text-primary);
  color: white;
  padding: var(--space-md) 0;
  margin-top: var(--space-xl);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
}

.footer-menu a {
  color: white;
  opacity: 0.8;
  font-size: 0.85rem;
}

.footer-menu a:hover {
  opacity: 1;
  color: var(--accent);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--text-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: 400;
  margin-bottom: 0;
  font-size: 0.85rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup.active {
  display: flex;
}

.popup-content {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--text-secondary);
  color: white;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--primary);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: var(--space-md);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content {
  max-width: 600px;
  padding: var(--space-md);
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.section-image-duo {
  background: linear-gradient(180deg, var(--background) 0%, #eef1f7 100%);
}

.image-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.image-duo-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-duo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2);
}

.image-duo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.image-duo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-duo-card:hover .image-duo-frame img {
  transform: scale(1.08);
}

.image-duo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.4), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.image-duo-card:hover .image-duo-overlay {
  opacity: 1;
}

.image-duo-body {
  padding: var(--space-md);
}

.image-duo-body h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  transition: color 0.3s ease;
}

.image-duo-card:hover .image-duo-body h3 {
  color: var(--secondary);
}

.image-duo-body p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.single-image-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-md);
}

.single-image-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.single-image-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.95);
  pointer-events: none;
}

.single-image-visual:hover::after {
  opacity: 0.6;
  transform: scale(1);
}

.single-image-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.single-image-visual:hover img {
  transform: scale(1.05);
}

.single-image-content {
  padding: var(--space-sm) 0;
}

.single-image-title {
  color: var(--primary);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.single-image-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

@media (max-width: 900px) {
  .image-duo-grid {
    grid-template-columns: 1fr;
  }

  .single-image-wrap {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .single-image-visual {
    order: 1;
  }

  .single-image-content {
    order: 2;
  }
}

@media (max-width: 967px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-sm);
    box-shadow: var(--shadow-lg);
    gap: var(--space-xs);
  }

  .nav.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .magazine-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-menu {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo{
    font-size: 1rem;
  }
  .section .container{
    padding: 0;
  }
  :root {
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .error-code {
    font-size: 4rem;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 0.85rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }

  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.85rem;
  }
}
