/* Variables and Reset */
:root {
  /* Corporate Design System Colors - Split-Complementary Scheme */
  --primary-color: #0057b8;
  --primary-dark: #00408a;
  --primary-light: #3e80d1;
  
  --secondary-color: #ffcc00;
  --secondary-dark: #d9a900;
  --secondary-light: #ffda4d;
  
  --accent-color: #ff5c35;
  --accent-dark: #e04121;
  --accent-light: #ff7f5d;
  
  --neutral-dark: #333333;
  --neutral-medium: #666666;
  --neutral-light: #f5f5f5;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Shadows for 3D Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.2);
  
  /* 3D Transform Variables */
  --transform-hover: translateY(-5px);
  --transition-speed: 0.3s;
}

/* Base Styles */
html, body {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--neutral-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Global Button Styles */
.button {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:hover {
  transform: var(--transform-hover);
  box-shadow: var(--shadow-md);
}

.button.is-primary {
  background: var(--gradient-primary);
  color: white;
}

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

.button.is-light {
  background-color: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  background-color: white;
}

.navbar.is-active {
  box-shadow: var(--shadow-md);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--neutral-dark);
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .title, 
.hero .subtitle,
.hero p {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-body {
  position: relative;
  z-index: 2;
}

.animate-button {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animate-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* About Section */
#about .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

#about .image-container:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

#about img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

#about .image-container:hover img {
  transform: scale(1.05);
}

/* Features Section */
#features .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#features .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

#features .card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#features .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

#features .card-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Innovation Section */
#innovation {
  position: relative;
}

#innovation .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

#innovation .image-container:hover {
  transform: translateY(-10px) rotate3d(1, 1, 0, 3deg);
}

#innovation img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

#innovation .image-container:hover img {
  transform: scale(1.05);
}

/* Gallery Section */
#gallery .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#gallery .card:hover {
  transform: translateY(-10px) rotate3d(0, 1, 0, 3deg);
  box-shadow: var(--shadow-lg);
}

#gallery .card-image {
  overflow: hidden;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

#gallery .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: center;
}

.gallery-slider-container {
  position: relative;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery-slide {
  flex: 0 0 100%;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: white;
  box-shadow: var(--shadow-md);
}

.gallery-prev {
  left: 20px;
}

.gallery-next {
  right: 20px;
}

/* Blog Section */
#blog .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#blog .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

#blog .card-image {
  overflow: hidden;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

#blog .subtitle {
  color: var(--neutral-medium);
}

#blog .card-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

#blog .card-content a.button {
  margin-top: auto;
  align-self: flex-start;
}

/* Contact Section */
#contact .box {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

#contact .box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

#contact .info-item {
  display: flex;
  align-items: center;
}

#contact .info-item .icon {
  color: var(--primary-color);
}

#contact form .input,
#contact form .textarea,
#contact form .select select {
  border-radius: 4px;
  border: 2px solid var(--neutral-light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact form .input:focus,
#contact form .textarea:focus,
#contact form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 87, 184, 0.2);
}

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

/* Footer Styles */
.footer {
  padding: 3rem 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

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

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

.footer-links a {
  color: #cccccc;
  transition: color 0.3s ease;
  text-decoration: none;
}

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

.social-links a {
  color: #cccccc;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Modal Styles */
.modal-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-card-head {
  background-color: var(--primary-color);
  color: white;
}

.modal-card-title {
  color: white;
}

/* Success Page Styles */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background-color: var(--neutral-light);
}

.success-container {
  max-width: 600px;
  padding: 3rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.success-container:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

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

/* Privacy & Terms Page Styles */
.privacy-page,
.terms-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.privacy-container,
.terms-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 3rem;
}

/* Cookie Consent Styles */
#cookieConsent {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: var(--shadow-lg);
}

#acceptCookies {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  .column.is-half {
    padding: 1rem;
  }
  
  #gallery .card-image,
  #features .card-image,
  #blog .card-image {
    height: 200px;
  }
  
  .gallery-prev,
  .gallery-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .gallery-prev {
    left: 10px;
  }
  
  .gallery-next {
    right: 10px;
  }
  
  #contact .box {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .subtitle.is-3 {
    font-size: 1.5rem;
  }
  
  .buttons.is-centered {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons.is-centered .button {
    margin: 0.5rem 0;
    width: 100%;
  }
  
  #gallery .card-image,
  #features .card-image,
  #blog .card-image {
    height: 180px;
  }
}