/*
Theme Name: CMY.nl
Description: Modern WordPress theme built with Tailwind CSS and shadcn/ui
Author: CMY Team
Version: 4.0.0
Text Domain: cmy
*/

/* Base styles that work with Tailwind */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Using Tailwind classes but ensuring it works */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(229, 231, 235);
  z-index: 50;
  transition: all 0.2s;
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(15, 23, 42);
  text-decoration: none;
  transition: color 0.2s;
}

.logo:hover {
  color: hsl(221.2, 83.2%, 53.3%);
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu li {
  margin: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(215.4, 16.3%, 46.9%);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(222.2, 84%, 4.9%);
}

.nav-cta {
  background: hsl(221.2, 83.2%, 53.3%);
  color: hsl(210, 40%, 98%);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav-cta:hover {
  background: hsl(221.2, 83.2%, 48%);
  color: hsl(210, 40%, 98%);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  width: 1.25rem;
  height: 0.125rem;
  background: hsl(222.2, 84%, 4.9%);
  transition: all 0.2s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

/* Mobile menu */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgb(255, 255, 255);
  border-top: 1px solid rgb(229, 231, 235);
  padding: 1rem;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  max-width: 1024px;
  padding: 0 1rem;
  color: white;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

/* Buttons - Tailwind compatible */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  height: 2.5rem;
  padding: 0 1rem;
}

.btn:focus-visible {
  outline: 2px solid hsl(221.2, 83.2%, 53.3%);
  outline-offset: 2px;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-primary {
  background: hsl(221.2, 83.2%, 53.3%);
  color: hsl(210, 40%, 98%);
}

.btn-primary:hover {
  background: hsl(221.2, 83.2%, 48%);
  color: hsl(210, 40%, 98%);
}

.btn-outline {
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background: hsl(0, 0%, 100%);
  color: hsl(222.2, 84%, 4.9%);
}

.btn-outline:hover {
  background: hsl(210, 40%, 96%);
  color: hsl(222.2, 84%, 4.9%);
}

.btn-ghost {
  background: transparent;
  color: hsl(222.2, 84%, 4.9%);
}

.btn-ghost:hover {
  background: hsl(210, 40%, 96%);
  color: hsl(222.2, 84%, 4.9%);
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  border-radius: 0.5rem;
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background: hsl(0, 0%, 100%);
  color: hsl(222.2, 84%, 4.9%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
}

.case-study-card {
  border-radius: 0.5rem;
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background: hsl(0, 0%, 100%);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.case-study-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.case-study-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.3s;
}

.case-study-card:hover .case-study-image {
  transform: scale(1.05);
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(222.2, 84%, 4.9%);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: hsl(215.4, 16.3%, 46.9%);
  max-width: 48rem;
  margin: 0 auto;
}

/* Gradient section */
.gradient-section {
  background: linear-gradient(135deg, hsl(221.2, 83.2%, 53.3%) 0%, hsl(221.2, 83.2%, 45%) 100%);
  color: hsl(210, 40%, 98%);
}

.gradient-section .section-title {
  color: hsl(210, 40%, 98%);
}

/* Grids */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Industry and solution cards */
.industry-card {
  background: hsl(221.2, 83.2%, 53.3%);
  color: hsl(210, 40%, 98%);
  padding: 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.industry-card:hover {
  background: hsl(221.2, 83.2%, 48%);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  color: hsl(210, 40%, 98%);
}

.solution-card {
  background: hsl(0, 0%, 100%);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  width: 3rem;
  height: 3rem;
  background: hsl(221.2, 83.2%, 53.3%);
  border-radius: 0.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(210, 40%, 98%);
}

/* Form inputs */
.form-input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid hsl(214.3, 31.8%, 91.4%);
  background: hsl(0, 0%, 100%);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: hsl(221.2, 83.2%, 53.3%);
  box-shadow: 0 0 0 2px hsla(221.2, 83.2%, 53.3%, 0.2);
}

.form-input::placeholder {
  color: hsl(215.4, 16.3%, 46.9%);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Client logos */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.client-logo {
  height: 2rem;
  width: auto;
  transition: opacity 0.2s;
}

.client-logo:hover {
  opacity: 1;
}

/* Line clamp utility */
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgb(15, 23, 42) 0%, rgb(30, 41, 59) 100%);
  color: white;
}

.newsletter-section {
  background: hsl(210, 40%, 96%);
}

.newsletter-card {
  background: hsl(0, 0%, 100%);
  border-radius: 0.5rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

/* Trust indicators */
.trust-indicators {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 32rem;
  margin: 3rem auto 0;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .trust-indicators {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.trust-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(96, 165, 250);
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* WordPress specific */
.alignleft {
  float: left;
  margin: 0 1rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1rem;
}

.aligncenter {
  display: block;
  margin: 0 auto 1rem;
}

.wp-caption {
  max-width: 100%;
  background: hsl(210, 40%, 96%);
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(215.4, 16.3%, 46.9%);
  margin-top: 0.5rem;
}