/* CSS from tervisekuld-static/assets/style.css */
/* TerviseKuld - Static Website Styles */
/* Using Inter font and orange-gold branding */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #C97F28;
  --primary-light: #F39C12;
  --primary-dark: #A66822;
  --primary-foreground: #FFF9F0;
  --background: #FFFFFF;
  --foreground: #171717;
  --card: #FAFAFA;
  --card-foreground: #171717;
  --muted: #F5F5F5;
  --muted-foreground: #595959;
  --border: #E8E8E8;
  --radius: 0.5rem;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 0.9375rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { 
  font-size: 2rem; 
  font-weight: 400;
}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

/* Header / Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  box-shadow: var(--shadow);
}

.topbar {
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.topbar-content {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.topbar a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  transition: opacity 0.2s;
}

.topbar a:hover {
  opacity: 0.8;
}

.topbar svg {
  width: 1rem;
  height: 1rem;
}

.topbar .hide-mobile {
  display: none;
}

@media (min-width: 640px) {
  .topbar .hide-mobile {
    display: inline;
  }
}

.navbar {
  border-bottom: 1px solid var(--border);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
}

/* Tagame, et mobiilivaates on logo ja menüü nupp võrdselt kaugusel servadest */
@media (max-width: 1023px) {
  .navbar .container.navbar-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.logo img {
  height: 3rem;
  width: auto;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .logo img {
    height: 4rem;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  /* Make nav-menu a flex container */
  .nav-desktop .nav-menu,
  .nav-desktop ul.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-desktop .nav-menu li,
  .nav-desktop .nav-menu .menu-item {
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-trigger svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  margin-top: 0.25rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background: var(--muted);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: var(--muted);
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

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

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
}

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

.mobile-submenu {
  margin-left: 1rem;
  padding-top: 0.5rem;
  display: none;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mobile-submenu a:hover {
  color: var(--primary);
}

.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 0;
  color: inherit;
}

.mobile-dropdown-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.mobile-dropdown-btn.active svg {
  transform: rotate(180deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 700px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .hero p {
    font-size: 1.25rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Hero button - väiksem */
.hero .btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .hero .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

/* Hero button nool animatsioon hover-il */
.hero .btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero .btn:hover svg {
  transform: translateY(0.25rem);
}

/* Sections */
.section {
  padding: 3rem 0;
  padding-top: 3rem;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 4rem 0;
    padding-top: 4rem;
  }
}

.section-lg {
  padding: 4rem 0;
}

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

.section-muted {
  background: rgba(245, 245, 245, 0.3);
}

.section-card {
  background: var(--card);
}

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

.section-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0.5rem auto 0;
}

@media (min-width: 1024px) {
  .section-header p {
    font-size: 1.125rem;
  }
}

/* Page Headers */
.page-header {
  padding: 3rem 0;
  padding-bottom: 3rem;
  background: rgba(245, 245, 245, 0.5);
  text-align: center;
  margin-bottom: 0;
}

section.page-header {
  background: rgba(245, 245, 245, 0.5);
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .page-header {
    padding: 4rem 0;
    padding-bottom: 4rem;
  }
}

.page-header h1 {
  margin-bottom: 1rem;
  margin-top: 0;
  font-weight: 400;
}

.page-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
  margin-bottom: 0;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* Service card hover - üle kirjutab üldise card hover */
.service-card:hover {
  background-color: var(--muted);
  box-shadow: none;
}

.card-content {
  padding: 1.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

.service-card {
  text-align: center;
  height: 100%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.service-card:hover {
  background-color: var(--muted);
}

.service-card .card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-foreground);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .service-card h3 {
    font-size: 1.375rem;
  }
}

.service-card p {
  color: var(--muted-foreground);
  flex-grow: 1;
  font-size: 0.875rem;
  line-height: 1.5;
}

a.service-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Tagame, et kõik teenuste kaardid on hover-efektiga */
.services-grid .service-card {
  cursor: pointer;
}

.services-grid .service-card:hover {
  background-color: var(--muted);
  box-shadow: none;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

/* Only apply flex to grid-2 children that are not list-items */
.grid-2 > div:not(.list-item) {
  display: flex;
  flex-direction: column;
}

.grid-2 > div:not(.list-item):first-child {
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

/* Order classes for grid items */
.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.grid-2-reverse .order-1 {
  order: 2;
}

.grid-2-reverse .order-2 {
  order: 1;
}

@media (min-width: 1024px) {
  .grid-2-reverse .order-1 {
    order: 1;
  }
  .grid-2-reverse .order-2 {
    order: 2;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

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

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

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

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

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

/* Image containers */
.image-rounded {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0;
  align-self: start;
}

.image-shadow {
  box-shadow: var(--shadow-lg);
}

/* Introduction Section */
.intro-content {
  space-y: 1rem;
}

.intro-content p {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

/* Grid-2 section text (projektid lehekülg) */
.grid-2 h2 {
  font-weight: 400;
  font-size: 1.75rem;
}

@media (min-width: 1024px) {
  .grid-2 h2 {
    font-size: 2rem;
  }
}

.grid-2 .text-muted,
.grid-2 .space-y-4 {
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .grid-2 .text-muted,
  .grid-2 .space-y-4 {
    font-size: 1rem;
  }
}

/* Feature Cards */
.feature-card {
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.feature-card:hover {
  background-color: var(--muted);
  box-shadow: none;
}

.feature-card .card-content {
  padding: 1.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* List Items */
.list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.list-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}

.accordion-trigger:hover {
  background-color: var(--muted);
}

.accordion-trigger[aria-expanded="true"] {
  background-color: var(--muted);
  font-weight: 600;
}

.accordion-trigger svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  padding: 0 1.5rem;
  color: var(--muted-foreground);
  overflow: hidden;
  opacity: 0;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 0 1.5rem 1rem;
  opacity: 1;
}

.accordion-trigger {
  color: var(--foreground);
}

.accordion-trigger:hover {
  background-color: var(--muted);
}

.accordion-trigger[aria-expanded="true"] {
  background-color: var(--muted);
  font-weight: 600;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(201, 127, 40, 0.08), rgba(201, 127, 40, 0.03));
  border-top: 1px solid rgba(201, 127, 40, 0.1);
  border-bottom: 1px solid rgba(201, 127, 40, 0.1);
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 4rem 0;
  }
}

.cta-section h2 {
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: 2rem;
}

@media (min-width: 1024px) {
  .cta-section h2 {
    font-size: 2.5rem;
  }
}

.cta-section p {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .cta-section p {
    font-size: 1.125rem;
  }
}

/* Training Topics */
.training-card {
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.training-card:hover {
  background-color: var(--muted);
  box-shadow: none;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.training-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 1.5rem 1.25rem;
  gap: 0.875rem;
}

.training-icon {
  width: 3rem;
  height: 3rem;
  margin: 0;
  background: linear-gradient(135deg, rgba(201, 127, 40, 0.15), rgba(201, 127, 40, 0.08));
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid rgba(201, 127, 40, 0.2);
}

.training-card:hover .training-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(201, 127, 40, 0.2), rgba(201, 127, 40, 0.12));
  border-color: var(--primary);
}

.training-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.training-card:hover .training-icon svg {
  transform: scale(1.1);
}

.training-card h3 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  color: var(--foreground);
}

.training-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
  text-align: center;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .training-card .card-content {
    padding: 1.75rem 1.5rem;
    gap: 1rem;
  }
  
  .training-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .training-icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .training-card h3 {
    font-size: 1.125rem;
  }
  
  .training-card p {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .training-card .card-content {
    padding: 2rem 1.75rem;
    gap: 1.125rem;
  }
  
  .training-icon {
    width: 4rem;
    height: 4rem;
  }
  
  .training-icon svg {
    width: 2rem;
    height: 2rem;
  }
  
  .training-card h3 {
    font-size: 1.25rem;
  }
  
  .training-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Project Highlight */
.highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.highlight-box svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.highlight-box h4 {
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.highlight-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Check List */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.check-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.check-item p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Project Values */
.value-card {
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.value-card:hover {
  background-color: var(--muted);
}

.value-card .card-content {
  padding: 2rem;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted-foreground);
}

/* Contact Cards */
.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card .card-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-grow: 1;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.contact-card .role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Team Members */
.team-member {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .team-member {
    flex-direction: row;
  }
  
  .team-member:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.team-photo {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .team-photo {
    width: 16rem;
  }
}

.team-photo-inner {
  aspect-ratio: 3/4;
  background: var(--muted);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  flex: 1;
}

.team-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .team-info h2 {
    font-size: 1.75rem;
  }
}

.team-info .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-info p {
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Contact Section Titles - väiksemad */
.contact-section-title {
  font-size: 1.5rem;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .contact-section-title {
    font-size: 1.75rem;
  }
}

.contact-section-text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .contact-section-text {
    font-size: 1rem;
  }
}

.contact-section-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .contact-section-subtitle {
    font-size: 1.25rem;
  }
}

/* Contact Page */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.contact-info-item svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-info-item h4 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--primary);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 127, 40, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Form 7 Styles */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpcf7-form-control-wrap label {
  font-size: 0.875rem;
  font-weight: 500;
}

.wpcf7-form-control {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 127, 40, 0.1);
}

.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-submit {
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.wpcf7-submit:hover {
  background: var(--primary-dark);
}

.wpcf7-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 127, 40, 0.2);
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.wpcf7-mail-sent-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.wpcf7-not-valid {
  border-color: #dc2626 !important;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 100%;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table td {
  padding: 0.75rem 1.25rem;
  vertical-align: middle;
}

.pricing-service {
  font-weight: 400;
  color: var(--foreground);
  text-align: left;
  width: 70%;
  font-size: 0.9375rem;
}

.pricing-price {
  font-weight: 400;
  color: var(--foreground);
  white-space: nowrap;
  text-align: right;
  width: 30%;
  font-size: 0.9375rem;
}

@media (max-width: 768px) {
  .pricing-table {
    font-size: 0.875rem;
  }
  
  .pricing-table td {
    padding: 0.625rem 1rem;
  }
  
  .pricing-service,
  .pricing-price {
    font-size: 0.875rem;
  }
}

/* Process Steps */
.process-step {
  text-align: center;
}

.process-number {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: rgba(201, 127, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.process-step h3 {
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--muted);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

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

.footer a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: var(--muted-foreground);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Clickable Image */
.clickable-image {
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.clickable-image:hover {
  box-shadow: var(--shadow-lg);
}

.image-hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* WordPress Menu Styles */
.nav-desktop .nav-menu, .nav-desktop ul.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop .nav-menu li, .nav-desktop .nav-menu .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-desktop .nav-menu li a, .nav-desktop .nav-menu .menu-item a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color 0.2s;
  text-decoration: none;
  color: var(--foreground);
  display: block;
}

.nav-desktop .nav-menu li a:hover, .nav-desktop .nav-menu .menu-item a:hover {
  color: var(--primary);
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu .menu-item a {
  padding: 1rem;
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
}

/* WordPress Submenu/Dropdown Styles */
.nav-desktop .nav-menu .menu-item-has-children > a {
  padding-right: 1.75rem;
  position: relative;
}

.nav-desktop .nav-menu .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}

.nav-desktop .nav-menu .menu-item-has-children:hover > a::after {
  transform: translateY(-50%) rotate(180deg);
}

.nav-desktop .nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s;
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  z-index: 1000;
}

.nav-desktop .nav-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-desktop .nav-menu .sub-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
  color: var(--foreground);
}

.nav-desktop .nav-menu .sub-menu a:hover {
  background: var(--muted);
  color: var(--primary);
}

.mobile-nav-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 3rem;
}

.mobile-nav-menu .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.2s;
}

.mobile-nav-menu .menu-item-has-children.active > a::after {
  transform: translateY(-50%) rotate(180deg);
}

.mobile-nav-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  background-color: var(--muted);
}

.mobile-nav-menu .sub-menu.active {
  display: block;
}

.mobile-nav-menu .sub-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mobile-nav-menu .sub-menu a:hover {
  color: var(--primary);
  background-color: transparent;
}
