:root {
  --color-primary: #2a9d8f;
  --color-secondary: #f4a261;
  --color-button: #e76f51;
  --color-background: #ffffff;
  --color-footer-bg: #264653;
  --color-text-dark: #1a1a1a;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --color-success: #27ae60;
  --color-error: #e74c3c;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.875rem;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-background);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text-dark);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-secondary);
}

a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

ul, ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

li {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-light);
}

button, input[type="button"], input[type="submit"] {
  font-family: var(--font-heading);
  cursor: pointer;
}

input, textarea, select {
  font-family: var(--font-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 100%);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-button) 0%, var(--color-button) 100%);
  transition: left var(--transition-base);
  z-index: -1;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  background-color: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-secondary);
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  aspect-ratio: 16 / 9;
}

.card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.card:hover .card-header img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-sm);
}

.card-description {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.card-footer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.card-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  display: flex;
  gap: var(--spacing-md);
}

.input-field {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  line-height: 1.5;
}

.input-field:hover {
  border-color: var(--color-primary);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.1);
}

.input-field::placeholder {
  color: #999999;
}

textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

.input-group {
  margin-bottom: var(--spacing-md);
}

.input-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
}

.input-error {
  color: var(--color-error);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

.section {
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.section-light {
  background-color: #fcfdfb;
}

.section-primary-light {
  background-color: #e9f5f4;
}

.section-primary-lighter {
  background-color: #ebf7f5;
}

.section-secondary-light {
  background-color: #fcf1ec;
}

.section-accent-light {
  background-color: #e0f2f1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: var(--spacing-sm);
}

.gap-md {
  gap: var(--spacing-md);
}

.gap-lg {
  gap: var(--spacing-lg);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-light {
  color: var(--color-text-light);
}

.bg-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.bg-secondary {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.bg-footer {
  background-color: var(--color-footer-bg);
  color: #ffffff;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: var(--color-primary);
  color: #ffffff;
}

.badge-secondary {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.divider {
  height: 1px;
  background-color: var(--color-border);
  margin: var(--spacing-lg) 0;
}

.divider-light {
  background-color: rgba(42, 157, 143, 0.1);
}

.loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fade-in {
  animation: fadeIn var(--transition-base) ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slideUp var(--transition-base) ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown var(--transition-base) ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scale-in {
  animation: scaleIn var(--transition-base) ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.shadow-none {
  box-shadow: none;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: 9999px;
}

.transition-fast {
  transition: all var(--transition-fast);
}

.transition-base {
  transition: all var(--transition-base);
}

.transition-slow {
  transition: all var(--transition-slow);
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-100 {
  opacity: 1;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .card-body {
    padding: var(--spacing-md);
  }

  .card-footer {
    padding: 0 var(--spacing-md) var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #f0f0f0;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
  }

  p {
    color: #d0d0d0;
  }

  .card {
    background-color: #2a2a2a;
  }

  .card-header {
    background: linear-gradient(135deg, #333333 0%, #3a3a3a 100%);
  }

  .card-title {
    color: #ffffff;
  }

  .card-description {
    color: #b0b0b0;
  }

  .input-field {
    background-color: #2a2a2a;
    border-color: #444444;
    color: #f0f0f0;
  }

  .input-field:hover {
    border-color: var(--color-primary);
  }

  .input-field:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2);
  }

  .input-field::placeholder {
    color: #666666;
  }

  .input-label {
    color: #f0f0f0;
  }

  .section-light {
    background-color: #1a1a1a;
  }

  .section-primary-light {
    background-color: rgba(42, 157, 143, 0.1);
  }

  .section-primary-lighter {
    background-color: rgba(42, 157, 143, 0.08);
  }

  .section-secondary-light {
    background-color: rgba(244, 162, 97, 0.1);
  }

  .section-accent-light {
    background-color: rgba(224, 242, 241, 0.05);
  }

  .divider {
    background-color: #444444;
  }

  .divider-light {
    background-color: rgba(42, 157, 143, 0.15);
  }

  .input-field {
    border-color: #444444;
  }

  .card-meta {
    color: #999999;
  }

  .text-light {
    color: #b0b0b0;
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}