/* ========================================
   RPACK PROJECT - Autorius danielius.online
   Design System & Styles
   ======================================== */

:root {
  /* Colors */
  --color-primary-dark: #1a2634;
  --color-primary-darker: #0f1820;
  --color-accent-gold: #c9a962;
  --color-accent-gold-light: #d4bb7c;
  --color-accent-gold-dark: #b8983f;
  --color-light-bg: #f5f0e8;
  --color-light-bg-alt: #ede7dd;
  --color-text-dark: #2c3e50;
  --color-text-muted: #5a6c7d;
  --color-text-light: #ffffff;
  --color-border: rgba(201, 169, 98, 0.2);
  --color-overlay: rgba(26, 38, 52, 0.85);

  /* Typography */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-dark);
  background-color: var(--color-light-bg);
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--color-accent-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-accent-gold);
}

.btn-primary:hover {
  background: var(--color-accent-gold-light);
  border-color: var(--color-accent-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border-color: var(--color-text-light);
}

.btn-secondary:hover {
  background: var(--color-text-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Section Styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(201, 169, 98, 0.15);
  color: var(--color-accent-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-description {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 100px;
  background: transparent;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: var(--color-primary-dark);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 150px;
  width: auto;
  display: block;
  transform: translateY(-40px); 
  transition: all var(--transition-normal);
}

.header.scrolled .logo-img {
  height: 150px;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 80px;
}

.nav-link {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-gold);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-light);
  transition: all var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center center; 
}

/* Overlay gradient virš fono */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(26, 38, 52, 0.82) 0%,
    rgba(26, 38, 52, 0.85) 50%,
    rgba(26, 38, 52, 0.85) 100%
  );
}

/* Content virš visko */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-xl);
}

.hero-title {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.hero-title-accent {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
}

.hero-title-project {
  color: var(--color-accent-gold);
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero-logo {
  margin-bottom: var(--space-lg);
}

.hero-logo-img {
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-title-small {
  display: block;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-xs);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: #ffffff;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-light);
  font-size: 2rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ======================
   MOBILE OPTIMIZATIONS
   ====================== */
@media (max-width: 768px) {
  .hero-bg img {
    object-position: center top; /* fokusas viršuje mobile */
  }

  .hero-title-accent {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: var(--space-3xl) 0;
  background: var(--color-light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text {
  max-width: 600px;
}

.about-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-text-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: var(--space-3xl) 0;
  background: var(--color-primary-dark);
}

.services .section-tag {
  background: rgba(201, 169, 98, 0.2);
  color: var(--color-accent-gold);
}

.services .section-title {
  color: var(--color-text-light);
}

.services .section-description {
  color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent-gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-accent-gold) 0%,
    var(--color-accent-gold-dark) 100%
  );
  border-radius: var(--radius-md);
}

.service-icon i {
  font-size: 2rem;
  color: var(--color-primary-dark);
}

.service-title {
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========================================
   IZOVAT SECTION
   ======================================== */
.izovat {
  padding: var(--space-3xl) 0;
  background: linear-gradient(
    135deg,
    var(--color-light-bg) 0%,
    var(--color-light-bg-alt) 100%
  );
}

.izovat-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.izovat-text .section-tag {
  margin-bottom: var(--space-sm);
}

.izovat-text .section-title {
  text-align: left;
  margin-bottom: var(--space-md);
}

.izovat-description {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.izovat-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.izovat-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.izovat-features li:last-child {
  border-bottom: none;
}

.izovat-features i {
  font-size: 1.5rem;
  color: var(--color-accent-gold);
}

.izovat-features span {
  font-weight: 500;
  color: var(--color-primary-dark);
}

.izovat-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.izovat-image-container {
  width: 100%;
  max-width: 800px;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-accent-gold);
}

.izovat-product-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.izovat-placeholder {
  padding: var(--space-2xl);
  background: var(--color-primary-dark);
  text-align: center;
  color: var(--color-text-light);
}

.izovat-placeholder p {
  margin: var(--space-sm) 0 var(--space-xs);
  font-weight: 500;
}

.izovat-placeholder small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.izovat-badge {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary-darker) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-accent-gold);
  position: relative;
}

.izovat-badge::before {
  content: "";
  position: absolute;
  inset: -15px;
  border: 2px dashed var(--color-accent-gold);
  border-radius: 50%;
  opacity: 0.5;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  letter-spacing: 4px;
}

.badge-subtext {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: var(--space-xs);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: var(--space-3xl) 0;
  background: var(--color-light-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-text-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-gold);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.contact-details h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.contact-details p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Contact Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-text-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-title {
  grid-column: 1 / -1;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.form-title::before,
.form-title::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-gold),
    transparent
  );
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* Custom Select Arrow */
.form-group-select {
  position: relative;
}

.form-group-select::after {
  content: "";
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--color-accent-gold);
  pointer-events: none;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: var(--space-xl);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-dark);
  background: var(--color-light-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  background: var(--color-text-light);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  grid-column: 1 / -1;
  padding: var(--space-md) var(--space-xl);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: linear-gradient(
    180deg,
    var(--color-primary-dark) 0%,
    var(--color-primary-darker) 100%
  );
  padding: var(--space-3xl) 0 var(--space-md);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-gold),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  text-align: left;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: var(--space-md);
}

.footer-logo-img {
  height: 150px;
  width: auto;
  display: block;
  transform: translateX(-35px);
  transition: opacity var(--transition-fast);
}

.footer-brand .logo:hover .footer-logo-img {
  opacity: 0.8;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  max-width: 300px;
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-rekvizitai h4 {
  color: var(--color-accent-gold);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-rekvizitai h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent-gold);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: var(--color-accent-gold);
  transform: translateX(5px);
}

.footer-contact p,
.footer-rekvizitai p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.footer-contact p:hover,
.footer-rekvizitai p:hover {
  color: var(--color-text-light);
}

.footer-contact i,
.footer-rekvizitai i {
  color: var(--color-accent-gold);
  font-size: 1.125rem;
  min-width: 20px;
  margin-top: 2px;
}

.footer-contact a,
.footer-rekvizitai a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact a:hover,
.footer-rekvizitai a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  /* IZOVAT sekcija - mobiliems: PRODUKTAI -> Nuotrauka -> Aprašymas */
  .izovat-content {
    grid-template-columns: 1fr;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .izovat-text {
    display: contents;
  }

  .izovat-text .section-tag {
    order: 1;
    align-self: center;
    margin-bottom: 1px;
  }

  .izovat-visual {
    order: 2;
    margin-bottom: var(--space-md);
  }

  .izovat-text .section-title {
    order: 3;
    text-align: center;
    margin-bottom: var(--space-sm);
  }

  .izovat-text .izovat-description {
    order: 4;
    margin-bottom: var(--space-md);
  }

  .izovat-features {
    order: 5;
    max-width: 280px;
    margin-left: var(--space-lg);
    margin-right: auto;
    margin-bottom: var(--space-md);
    text-align: left;
  }

  .izovat-features li {
    justify-content: flex-start;
  }

  .izovat-text .btn {
    order: 6;
    align-self: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-primary-dark);
    padding: var(--space-3xl) var(--space-lg);
    transition: right var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .logo-img {
    height: 120px;
    width: auto;
    display: block;
    transform: translateY(-29px) translateX(-30px);
    transition: all var(--transition-normal);
  }

  .header.scrolled .logo-img {
    height: 120px;
    transform: translateY(-29px) translateX(-30px);
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .nav-link {
    font-size: 1.125rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    transform: translateY(
      -20px
    ); 
    transition: transform var(--transition-normal);
  }

  .header.scrolled .hamburger {
    transform: translateY(-20px); 
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact Items - kompaktiškesni */
  .contact-item {
    padding: var(--space-sm) var(--space-md);
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-img {
    height: 150px;
    width: auto;
    display: block;
    transform: translateX(0px);
    transition: opacity var(--transition-fast);
  }

  .footer-description {
    max-width: 100%;
    text-align: center;
  }

  .footer-links h4,
  .footer-contact h4,
  .footer-rekvizitai h4 {
    display: inline-block;
    position: relative;
  }

  .footer-links h4::after,
  .footer-contact h4::after,
  .footer-rekvizitai h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-contact,
  .footer-rekvizitai {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact p,
  .footer-rekvizitai p {
    justify-content: flex-start;
    text-align: left;
    width: auto;
  }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  /* About Stats */
  .about-stats {
    grid-template-columns: 1fr;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Form */
  .contact-form {
    grid-template-columns: 1fr;
    padding: var(--space-md);
  }

  /* Contact Items - mažesni mobiliuose */
  .contact-item {
    padding: var(--space-sm);
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 1.25rem;
  }

  .contact-details h4 {
    font-size: 0.9375rem;
  }

  .contact-details p {
    font-size: 0.875rem;
  }

  /* IZOVAT Badge */
  .izovat-badge {
    width: 220px;
    height: 220px;
  }

  .badge-text {
    font-size: 2.25rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
