/* Main CSS styles for office cleaning service website */
:root {
  --bg-color: #f9fbf5;
  --accent-1: #3a6351;
  --accent-2: #9fc490;
  --accent-3: #ffffff;
  --text-color: #1e1e1e;
  --hover-color: #f4c430;
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(58, 99, 81, 0.1);
  --shadow-hover: 0 15px 40px rgba(58, 99, 81, 0.2);
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Language control */
[data-en] {
  display: none;
}

html[lang="en"] [data-sk] {
  display: none;
}

html[lang="en"] [data-en] {
  display: block;
}

span[data-sk], span[data-en] {
  display: inline;
}

html[lang="en"] span[data-sk] {
  display: none;
}

html[lang="en"] span[data-en] {
  display: inline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--accent-1);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-2);
  border-radius: 4px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--hover-color);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

button, .btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-1);
  color: var(--accent-3);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

button:hover, .btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--accent-2);
  color: var(--accent-1);
}

.btn-secondary:hover {
  background-color: var(--accent-1);
  color: var(--accent-3);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--accent-3);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  border-radius: 0;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  margin-left: 10px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--hover-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Language switcher */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.language-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 10px;
  opacity: 0.5;
  transition: var(--transition);

  color: grey;
}

.language-btn.active {
  opacity: 1;
  color: var(--accent-1);
}

.language-btn:hover {
  opacity: 1;
  background: none;
  transform: none;
  box-shadow: none;
  color: var(--hover-color);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--accent-1);
}

/* Main content */
main {
  margin-top: 70px;
  padding-top: 50px;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Footer */
footer {
  background-color: var(--accent-1);
  color: var(--accent-3);
  padding: 60px 0 30px;
  position: relative;
}

footer h3 {
  color: var(--accent-3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--accent-3);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--hover-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Organic shapes */
.shape {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 43% 57% 70% 30% / 30% 43% 57% 70%;
  background-color: var(--accent-2);
  animation: morph 15s linear infinite alternate;
}

.shape-2 {
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  border-radius: 57% 43% 30% 70% / 70% 30% 43% 57%;
  background-color: var(--accent-2);
  animation: morph 12s linear infinite alternate;
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
  }
  100% {
    border-radius: 40% 60% 30% 70% / 50% 60% 40% 60%;
  }
}

/* Decorative elements */
.separator {
  position: relative;
  height: 100px;
  margin-top: -50px;
  margin-bottom: -50px;
  z-index: 1;
}

.separator-wave {
  position: absolute;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f9fbf5' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23f9fbf5' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23f9fbf5' opacity='.75'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.separator-wave.flip {
  transform: rotate(180deg);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--accent-3);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 10px;
  }
}