/* ===== ROOT VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #3a7bd5;
  --primary-dark: #2d62ab;
  --primary-light: #6d9eeb;

  /* Complementary Colors */
  --complementary-color: #d5823a;
  --complementary-dark: #ab682d;
  --complementary-light: #eb9f6d;

  /* Neutral Colors */
  --dark-color: #222222;
  --dark-medium: #444444;
  --medium-color: #777777;
  --light-medium: #cccccc;
  --light-color: #f5f5f7;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);

  /* Typography */
  --heading-font: "Space Grotesk", sans-serif;
  --body-font: "DM Sans", sans-serif;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;

  /* Spacing */
  --section-spacing: 5rem;
  --element-spacing: 2rem;
  --small-spacing: 1rem;
}

.container {
  padding-inline: 20px;
}

/* ===== GLOBAL STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

.title,
.subtitle {
  font-family: var(--heading-font);
}

.has-text-white {
  color: #ffffff !important;
}

/* ===== GLASSMORPHISM ELEMENTS ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  padding: 2rem;
  transition: transform var(--transition-fast);
}

.glass-card:hover {
  transform: translateY(-5px);
}

/* ===== CURVED GRID ELEMENTS ===== */
.curved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.curved-grid-item {
  transform: rotateX(5deg);
  transition: transform var(--transition-medium);
}

.curved-grid-item:hover {
  transform: rotateX(0);
}

/* ===== BUTTONS ===== */
.button {
  font-family: var(--heading-font);
  font-weight: 500;
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: height var(--transition-fast);
  z-index: -1;
}

.button:hover::after {
  height: 100%;
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
}

.button.is-light.is-outlined {
  border-color: white;
  color: white;
}

.button.is-light.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-burger {
  height: 4rem;
  width: 4rem;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.7);
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.7)
  );
}

.hero-body {
  padding: 12rem 1.5rem 8rem;
  z-index: 2;
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-description {
  max-width: 600px;
  margin-bottom: 2.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-color);
}

.product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.product-card .card-image {
  overflow: hidden;
}

.product-card .card-image img {
  transition: transform var(--transition-medium);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.product-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card .content {
  flex-grow: 1;
}

.product-card .button {
  margin-top: auto;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology-section {
  padding: var(--section-spacing) 0;
  background-color: #f0f7ff;
  position: relative;
  overflow: hidden;
}

.methodology-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./image/pattern-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.methodology-section .columns {
  position: relative;
  z-index: 1;
}

.methodology-section .image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.methodology-section .image img {
  transition: transform 5s ease;
  width: 100%;
  height: auto;
}

.methodology-section:hover .image img {
  transform: scale(1.05);
}

/* ===== EXTERNAL LINKS SECTION ===== */
.external-links-section {
  padding: var(--section-spacing) 0;
  background-color: var(--light-color);
}

.external-link-card {
  height: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.external-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.external-link-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.external-link-card a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.external-link-card a:hover {
  color: var(--complementary-color);
  text-decoration: underline;
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories-section {
  padding: var(--section-spacing) 0;
  background-color: #f9f9f9;
}

.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

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

.testimonial-card .card-image {
  overflow: hidden;
}

.testimonial-card .card-image img {
  transition: transform var(--transition-medium);
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.testimonial-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ===== VISION SECTION ===== */
.vision-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.vision-section .image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
}

.vision-section .image:hover {
  transform: translateY(-10px);
}

.vision-section .image img {
  width: 100%;
  height: auto;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--section-spacing) 0;
  background-color: #f0f7ff;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  height: 250px;
  transition: transform var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--section-spacing) 0;
  background-color: #fff;
}

.contact-info,
.contact-form {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 15px;
  height: 100%;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.map-container img {
  width: 100%;
  height: auto;
}

.contact-form .input,
.contact-form .textarea {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1rem;
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.contact-form .label {
  color: var(--dark-medium);
  font-weight: 500;
}

.contact-form .button {
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 5rem 0 2rem;
  background-color: var(--dark-color);
  color: white;
}

.footer .title {
  color: white;
}

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

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

.footer-links a,
.social-links a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
  color: white;
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links p {
  margin-bottom: 0.5rem;
}

.copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-medium);
  font-size: 0.9rem;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* ===== PRIVACY & TERMS PAGES ===== */
.content-page {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.content-page .container {
  max-width: 800px;
}

.content-page .title {
  margin-bottom: 2rem;
}

.content-page p,
.content-page ul,
.content-page ol {
  margin-bottom: 1.5rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(34, 34, 34, 0.95);
  color: white;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  padding-right: 2rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .hero-body {
    padding: 10rem 1.5rem 6rem;
  }

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

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

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    margin-bottom: 1rem;
    padding-right: 0;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}

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

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

  .button.is-large {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* ===== UTILITY CLASSES ===== */
.text-shadow {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.has-background-primary {
  background-color: var(--primary-color) !important;
}

.has-background-complementary {
  background-color: var(--complementary-color) !important;
}

.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-complementary {
  color: var(--complementary-color) !important;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--complementary-color);
  transition: width var(--transition-fast);
}

.read-more:hover {
  color: var(--complementary-color);
}

.read-more:hover::after {
  width: 100%;
}
