
:root {
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --text-primary: #F5F5F5;
  --text-secondary: #AAAAAA;
  --accent: #FF5E3A;
  --border: #333333;
  --form-bg: #2A2A2A;
  --success: #4CAF50;
  --error: #F44336;
  --hover: #FF7D5D;
}


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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--accent);
}

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

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--text-primary);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
}

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


header {
  background-color: var(--bg-secondary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  height: 50px;
}

.logo svg {
  height: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}


.hero {
  display: grid;
  grid-template-columns: 1fr;
  padding: 5rem 0;
  min-height: 90vh;
  background: linear-gradient(to bottom right, var(--bg-primary), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100" stroke="%23333333" stroke-width="0.5"/></svg>');
  opacity: 0.05;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  transform: skewY(-3deg);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title span {
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  color: var(--text-secondary);
}


.accordion {
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.5rem;
  background-color: var(--bg-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: rgba(255, 94, 58, 0.1);
}

.accordion-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.accordion-header i {
  color: var(--accent);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: var(--bg-primary);
}

.accordion-content-inner {
  padding: 1.5rem;
}

.accordion-active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-active .accordion-content {
  max-height: 1000px;
}


.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50%;
  height: 5px;
  background-color: var(--accent);
}


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

.service-card {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.service-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}


.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  padding: 3rem;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--form-bg);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check input {
  margin-top: 0.3rem;
  margin-right: 0.5rem;
}

.iti {
  width: 100%;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  background-color: var(--bg-secondary);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal.active .modal-content {
  transform: translateY(0);
}


footer {
  background-color: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-contact h4, .footer-links h4 {
  margin-bottom: 1.5rem;
}

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

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}


.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  border: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(150%);
  transition: transform 0.5s ease;
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-settings {
  background-color: var(--bg-secondary);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--form-bg);
  transition: .4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-toggle-slider {
  background-color: var(--accent);
}

input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--bg-secondary);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}


.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.article-date {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2, .article-content h3 {
  margin-top: 2.5rem;
}

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

.article-content li {
  margin-bottom: 0.5rem;
}


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

.contact-info {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--border);
  height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-menu {
  display: none;
}


@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: var(--bg-secondary);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    padding: 5rem 2rem 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero-content {
    text-align: center;
  }

  .section-title {
    font-size: 2.5rem;
  }

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

  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .cookie-settings {
    padding: 1.5rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

  .article {
    padding: 2rem 0;
  }
}