/* GL Dynamic Web Solutions - Main Stylesheet */

:root {
  --primary-color: #2563eb;
  --secondary-color: #475569;
  --dark-grey: #1e293b;
  --light-grey: #f8fafc;
  --accent-blue: #3b82f6;
  --text-dark: #0f172a;
  --text-light: #64748b;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fafbfc;
  background-image:
    linear-gradient(
      to bottom,
      rgba(250, 251, 252, 0.85) 0%,
      rgba(250, 251, 252, 0.75) 50%,
      rgba(250, 251, 252, 0.85) 100%
    ),
    url("../images/backgrounds/hexagon-bg.jpg");
  background-size: auto, 400px;
  background-repeat: repeat;
  background-attachment: scroll, fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 0%,
    rgba(250, 251, 252, 0.5) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
  padding: 0;
}

.navbar-logo {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
  height: 38px;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: url("../images/backgrounds/workspace-bg.jpg") center center / cover no-repeat;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.92) 0%,
    rgba(51, 65, 85, 0.88) 100%
  );
  z-index: 1;
}

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

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn-primary-custom {
  background: var(--primary-color);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-custom:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary-custom {
  background: transparent;
  border: 2px solid #fff;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-custom:hover {
  background: #fff;
  color: var(--primary-color);
}

/* Section Styling */
section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-grey);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light-custom {
  background: rgba(248, 250, 252, 0.6);
  backdrop-filter: blur(5px);
}

/* Services Cards */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color);
  transition: height 0.3s ease;
}

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

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-grey);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.8rem 0;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.3rem;
}

/* Why Choose Us */
.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

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

.why-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Portfolio Simple Grid */
.portfolio-thumb {
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Technologies Section */
.tech-category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-grey);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.tech-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.tech-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.tech-card:hover img {
  transform: scale(1.1);
}

.tech-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-grey);
  margin: 0;
}

/* Process Steps */
.process-step {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark-grey);
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-control,
.form-select {
  padding: 0.9rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info-card {
  background: linear-gradient(135deg, var(--dark-grey), var(--secondary-color));
  border-radius: 12px;
  padding: 3rem;
  color: #fff;
  height: 100%;
}

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

.contact-info-item i {
  font-size: 1.8rem;
  margin-right: 1.2rem;
  color: var(--accent-blue);
}

.contact-info-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  margin: 0;
  opacity: 0.9;
}

/* Footer */
footer {
  background: #1e293b;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  position: relative;
  z-index: 1;
}

footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

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

  section {
    padding: 50px 0;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float i {
  margin-top: 3px;
}

/* WhatsApp tooltip */
.whatsapp-float::before {
  content: "Chat met ons";
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.whatsapp-float:hover::before {
  opacity: 1;
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }

  .whatsapp-float::before {
    display: none;
  }
}

/* ---- Client Logos Section ---- */
.client-logo-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #bfdbfe;
}

.client-logo-card img {
  max-width: 100%;
  max-height: 55px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Placeholder when logo not yet uploaded */
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 55px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 8px;
  padding: 8px;
}

.logo-placeholder span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9800;
  background: #1e293b;
  color: #f8fafc;
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  animation: slideUpCookie 0.4s ease;
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #bfdbfe;
}

.cookie-actions {
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

