
:root {
  --primary: #3A506B;
  --secondary: #6FB3B8;
  --accent: #F67280;
  --highlight: #FFD447;
  --dark: #1B2A41;
  --light: #F5F5F5;
  --background: #FFFFFF;
  --text: #2A2B2A;
  --success: #4CAF50;
  --error: #F44336;
  --gradient: linear-gradient(135deg, var(--secondary), var(--accent), var(--highlight));
  --transition: all 0.3s ease;
  --diagonal-angle: 15deg;
}

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

html {
  scroll-behavior: smooth;
}

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

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


.glitch-effect {
  position: relative;
  display: inline-block;
}

.glitch-effect:hover::before,
.glitch-effect:hover::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-effect:hover::before {
  color: var(--accent);
  transform: translate(-2px, 2px);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch-effect:hover::after {
  color: var(--secondary);
  transform: translate(2px, -2px);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.holographic-bg {
  background-image: var(--gradient);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.diagonal-top {
  position: relative;
  padding: 100px 0;
  margin-top: -50px;
  z-index: 1;
}

.diagonal-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: inherit;
  transform-origin: top left;
  transform: skewY(var(--diagonal-angle));
  z-index: -1;
}

.diagonal-bottom {
  position: relative;
  padding: 100px 0;
  margin-bottom: -50px;
  z-index: 1;
}

.diagonal-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: inherit;
  transform-origin: bottom right;
  transform: skewY(calc(-1 * var(--diagonal-angle)));
  z-index: -1;
}

.diagonal-container {
  position: relative;
  overflow: hidden;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.text-right {
  text-align: right;
}


.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--dark);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-accent:hover {
  background-color: #e5636f;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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


.navbar {
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.navbar-logo {
  height: 50px;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-item {
  margin-left: 1.5rem;
  position: relative;
}

.navbar-link {
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
  display: block;
}

.navbar-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 0.7em;
  margin-left: 5px;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 10;
  display: block;
}

.iti {
  width: 100%;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--light);
  color: var(--accent);
  text-decoration: none;
}


.hero {
  position: relative;
  padding: 8rem 0 6rem;
  background-color: var(--light);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--light);
  transform-origin: bottom right;
  transform: skewY(calc(-1 * var(--diagonal-angle)));
}

.hero-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.services {
  position: relative;
  padding: 6rem 0;
  background-color: var(--background);
}

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

.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-content {
  padding: 1.5rem;
}

.service-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-text {
  margin-bottom: 1.5rem;
  color: var(--text);
}


.gallery {
  position: relative;
  padding: 6rem 0;
  background-color: var(--light);
}

.gallery-container {
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: white;
  margin-bottom: 0;
  font-size: 1.1rem;
}


.about {
  position: relative;
  padding: 6rem 0;
  background-color: var(--background);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  flex: 1;
}

.about-title {
  margin-bottom: 1.5rem;
}

.about-text {
  margin-bottom: 1.5rem;
}


.contact {
  position: relative;
  padding: 6rem 0;
  background-color: var(--light);
}

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

.contact-info {
  margin-bottom: 2rem;
}

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

.contact-icon {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.contact-text {
  flex: 1;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(111, 179, 184, 0.2);
}

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

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}


.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 3rem;
}

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


.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

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

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-text {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link a:hover {
  color: white;
  text-decoration: none;
}

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


.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
  animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

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

.cookie-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.cookie-text {
  color: var(--text);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-settings {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

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

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

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

.cookie-category-title {
  font-weight: 500;
  margin-bottom: 0;
}

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

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

.cookie-category-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

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

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

input:focus + .cookie-category-slider {
  box-shadow: 0 0 1px var(--success);
}

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

.cookie-category-description {
  font-size: 0.9rem;
  color: #666;
}


.thanks-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thanks-title {
  margin-bottom: 1.5rem;
}

.thanks-text {
  margin-bottom: 2rem;
}


.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-title {
  margin-bottom: 1.5rem;
}

.legal-subtitle {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-text {
  margin-bottom: 1.5rem;
}


.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }


@media (max-width: 991px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: -1;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 100;
  }
  
  .navbar-item {
    margin: 0;
  }
  
  .navbar-link {
    padding: 0.75rem 1.5rem;
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }
  
  .dropdown-toggle::after {
    float: right;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}