:root {
  --color-primary: #a52424;
  --color-background: #F3F4F6;
  --color-accent: #000000;
  --color-gray: #E5E7EB;
  --color-text: #381515;
  --color-white: #FFFFFF;
  --color-black: #000000;
  
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-text);
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  color: var(--color-text);
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
}

.nav-menu a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.nav-menu a:hover {
  background-color: var(--color-gray);
}

.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-background) 0%, var(--color-white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.hero-text p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  shape-outside: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  object-fit: cover;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-xl);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.broken-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.broken-grid-item {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.broken-grid-item:nth-child(odd) {
  transform: translateY(-10px);
}

.broken-grid-item:nth-child(even) {
  transform: translateY(10px);
}

.broken-grid-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.broken-grid-item h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.broken-grid-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.card {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--color-gray);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: var(--font-size-xs);
  margin-bottom: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--color-white);
  font-size: var(--font-size-xs);
}

.footer-menu a:hover {
  color: var(--color-accent);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.thank-you-content h1 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.thank-you-content p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.error-page p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background-color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.popup-content h2 {
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.popup-content p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
}

.popup-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-2xl);
  }
  
  .broken-grid {
    grid-template-columns: 1fr;
  }
  
  .broken-grid-item:nth-child(odd),
  .broken-grid-item:nth-child(even) {
    transform: none;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-menu {
    justify-content: center;
  }
  
  h1 {
    font-size: var(--font-size-2xl);
  }
  
  h2 {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 480px) {
.hero-image img{
clip-path: none;}
  .container {
    padding: 0 var(--space-sm);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-xl);
  }
  
  .btn {
    padding: var(--space-xs) var(--space-lg);
    font-size: var(--font-size-sm);
  }
  
  .popup-content {
    padding: var(--space-md);
  }
}

.custom-section-1 {
  padding: var(--space-3xl) 0;
  background: linear-gradient(45deg, var(--color-background) 0%, var(--color-white) 50%, var(--color-background) 100%);
}

.custom-section-1-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.custom-section-1-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform var(--transition-base);
}

.custom-section-1-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.custom-section-1-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.custom-section-1-text h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-3xl);
}

.custom-section-1-text p {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.custom-section-2 {
  padding: var(--space-3xl) 0;
  background-color: var(--color-white);
  position: relative;
}

.custom-section-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 50px,
    rgba(165, 36, 36, 0.03) 50px,
    rgba(165, 36, 36, 0.03) 52px
  );
  pointer-events: none;
}

.custom-section-2-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.custom-section-2-text {
  order: 1;
}

.custom-section-2-image {
  order: 2;
  position: relative;
  overflow: hidden;
  border-radius: 50% 20% 50% 20%;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform var(--transition-base);
}

.custom-section-2-image:hover {
  transform: rotate(0deg) scale(1.05);
}

.custom-section-2-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.custom-section-2-text h2 {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-3xl);
  position: relative;
  padding-left: var(--space-lg);
}

.custom-section-2-text h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-sm);
}

.custom-section-2-text p {
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.custom-section-3 {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-text) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.custom-section-3::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.custom-section-3-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.custom-section-3-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-4xl);
}

.custom-section-3-content > p {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.custom-section-3-features {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.custom-section-3-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  padding: var(--space-md) var(--space-lg);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.custom-section-3-feature:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.custom-section-3-feature i {
  font-size: var(--font-size-2xl);
  color: var(--color-white);
}

.custom-section-4 {
  padding: var(--space-3xl) 0;
  background-color: var(--color-background);
  position: relative;
}

.custom-section-4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, transparent 48%, rgba(165, 36, 36, 0.05) 49%, rgba(165, 36, 36, 0.05) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(165, 36, 36, 0.05) 49%, rgba(165, 36, 36, 0.05) 51%, transparent 52%);
  background-size: 40px 40px;
  pointer-events: none;
}

.custom-section-4-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.custom-section-4-left,
.custom-section-4-right {
  padding: var(--space-2xl);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.custom-section-4-left::before,
.custom-section-4-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.custom-section-4-left:hover,
.custom-section-4-right:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.custom-section-4-left h2,
.custom-section-4-right h2 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-2xl);
}

.custom-section-4-left p,
.custom-section-4-right p {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .custom-section-1-content,
  .custom-section-2-content {
    grid-template-columns: 1fr;
  }

  .custom-section-2-text {
    order: 2;
  }

  .custom-section-2-image {
    order: 1;
  }

  .custom-section-1-image,
  .custom-section-2-image {
    transform: none;
  }

  .custom-section-1-image:hover,
  .custom-section-2-image:hover {
    transform: scale(1.02);
  }

  .custom-section-3-features {
    flex-direction: column;
    align-items: center;
  }

  .custom-section-4-wrapper {
    grid-template-columns: 1fr;
  }

  .custom-section-1-text h2,
  .custom-section-2-text h2 {
    font-size: var(--font-size-2xl);
  }

  .custom-section-3-content h2 {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 350px) {
  .logo {
    font-size: var(--font-size-base);
  }
  
  .logo img {
    width: 30px;
    height: 30px;
  }
  
  .hero-text h1 {
    font-size: var(--font-size-lg);
  }
  
  .broken-grid-item {
    padding: var(--space-md);
  }

  .custom-section-1-image img,
  .custom-section-2-image img {
    height: 300px;
  }

  .custom-section-3-content h2 {
    font-size: var(--font-size-2xl);
  }

  .custom-section-4-left,
  .custom-section-4-right {
    padding: var(--space-lg);
  }
}

