/* =========================================
   ARBORISTRA RIKI d.o.o. — Main Stylesheet
   Mobile-First Responsive Design
   ========================================= */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --primary-green: #2E7D32;
  --primary-green-light: #4CAF50;
  --primary-green-dark: #1B5E20;
  --accent-yellow: #FFD700;
  --accent-yellow-dark: #F9A825;
  --dark-bg: #0F1A0F;
  --dark-surface: #1A2E1A;
  --dark-card: #1E331E;
  --text-light: #F5F5F5;
  --text-muted: #B0BEC5;
  --text-dark: #1A1A1A;
  --white: #FFFFFF;
  --border-color: rgba(76, 175, 80, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(76, 175, 80, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  --header-height: 72px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background-color: var(--dark-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(46, 125, 50, 0.5);
  background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green));
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(15, 26, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.header__logo-img {
  height: 120px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

.header__logo:hover .header__logo-img {
  opacity: 0.85;
}

/* Nav — Mobile */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: var(--dark-surface);
  padding: 100px 32px 32px;
  transition: right var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.nav--open {
  right: 0;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--white);
  background: rgba(76, 175, 80, 0.1);
}

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.nav-overlay--visible {
  display: block;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--active span:nth-child(2) {
  opacity: 0;
}

.hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(15, 26, 15, 0.82) 0%, rgba(30, 51, 30, 0.65) 50%, rgba(15, 26, 15, 0.88) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=3840&q=80&fit=crop') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(46, 125, 50, 0.15), transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 120px 0 80px;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-green-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  transition: all var(--transition);
}

.hero__scroll a:hover {
  border-color: var(--primary-green-light);
  color: var(--primary-green-light);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==========================================
   SERVICES
   ========================================== */
.services {
  padding: 80px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-yellow));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--primary-green-light);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card__number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(76, 175, 80, 0.06);
  line-height: 1;
}

/* ==========================================
   METHODS
   ========================================== */
.methods {
  padding: 80px 0;
  background: var(--dark-surface);
}

.methods__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.methods__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.methods__image-placeholder {
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.05);
  border-radius: 50%;
  border: 2px dashed rgba(76, 175, 80, 0.15);
}

.methods__image-placeholder svg {
  width: 160px;
  height: 160px;
}

.methods__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.method-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.method-item:hover {
  border-color: rgba(76, 175, 80, 0.3);
  box-shadow: var(--shadow-glow);
}

.method-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary-green-light);
}

.method-item__icon svg {
  width: 22px;
  height: 22px;
}

.method-item__text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.method-item__text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  padding: 80px 0;
}

.testimonials__slider {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 32px 24px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin: 0 10px;
}

.testimonial-card__stars {
  color: var(--accent-yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  border: none;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonials__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.testimonials__btn:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.testimonials__dot--active {
  background: var(--primary-green-light);
  width: 28px;
  border-radius: 5px;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  padding: 80px 0;
  background: var(--dark-surface);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.contact-form__group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form__group input,
.contact-form__group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--white);
  transition: all var(--transition);
  outline: none;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: rgba(176, 190, 197, 0.5);
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
  border-color: var(--primary-green-light);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.contact-form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__status {
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 24px;
}

.contact-form__status--success {
  color: var(--primary-green-light);
}

.contact-form__status--error {
  color: #ef5350;
}

/* Contact info */
.contact__info-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(76, 175, 80, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green-light);
}

.contact__info-icon svg {
  width: 20px;
  height: 20px;
}

.contact__info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 4px;
}

.contact__info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact__info-item a {
  color: var(--primary-green-light);
}

.contact__info-item a:hover {
  color: var(--accent-yellow);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 60px 0 0;
  background: var(--dark-bg);
  border-top: 1px solid var(--border-color);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 320px;
}

.footer__links h4,
.footer__legal h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--primary-green-light);
  padding-left: 4px;
}

.footer__legal p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer__bottom {
  grid-column: 1 / -1;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 16px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================
   ANIMATIONS (Scroll Reveal)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==========================================
   RESPONSIVE — Tablet (min-width: 600px)
   ========================================== */
@media (min-width: 600px) {
  .container {
    padding: 0 32px;
  }

  .hero__cta {
    flex-direction: row;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form__group--full {
    grid-column: 1 / -1;
  }

  .contact-form__submit {
    grid-column: 1 / -1;
  }

  .contact-form__status {
    grid-column: 1 / -1;
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   RESPONSIVE — Desktop (min-width: 900px)
   ========================================== */
@media (min-width: 900px) {
  .container {
    padding: 0 40px;
  }

  .services,
  .methods,
  .testimonials,
  .contact {
    padding: 100px 0;
  }

  /* Nav — Desktop */
  .nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 4px;
  }

  .nav__link {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hamburger {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .service-card {
    padding: 36px 28px;
  }

  /* Methods */
  .methods__content {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
  }

  .methods__image-placeholder {
    width: 340px;
    height: 340px;
  }

  .methods__image-placeholder svg {
    width: 220px;
    height: 220px;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer {
    padding: 80px 0 0;
  }
}

/* ==========================================
   RESPONSIVE — Large Desktop (min-width: 1200px)
   ========================================== */
@media (min-width: 1200px) {
  .hero__title {
    letter-spacing: -2px;
  }

  .hero__stats {
    gap: 60px;
  }

  .hero__stat-number {
    font-size: 2.25rem;
  }

  .section-header {
    margin-bottom: 64px;
  }
}
