/* svetlanadubkova.com - ultra sleek design */

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

:root {
  --red: #ff0000;
  --red-light: rgba(255, 0, 0, 0.2);
  --white: #fff;
  --black: #000;
}

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  background: var(--white);
  font-family: "Times New Roman", Times, serif;
  color: var(--red);
  font-size: 16px;
  line-height: 1.6;
}

.container {
  max-width: 1800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HEADER - MAXIMUM SPREAD */
header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 6rem;
  padding: 1.5rem 0 3rem;
  position: relative;
}

.site-title {
  font-size: 1rem;
  font-style: italic;
  position: absolute;
  left: 0;
  letter-spacing: 0.5px;
}

.tagline {
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.7;
  position: absolute;
  right: 0;
  letter-spacing: 0.3px;
  color: var(--black) !important;
}

/* MAIN CONTENT */
.content {
  flex: 1;
  padding-left: 0;
}

/* DIRECTORY LAYOUT */
.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem;
  text-align: left;
  width: 100%;
  max-width: none;
}

.category {
  position: relative;
}

.category a {
  display: block;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--red);
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0;
  margin: 0 0 2rem 0;
  letter-spacing: 0.3px;
  border-bottom: 1px solid var(--red-light);
  padding-bottom: 0.5rem;
}

.category a:hover {
  opacity: 0.7;
}

/* ALWAYS VISIBLE CONTENT */
.category-content {
  position: static;
  width: 100%;
  background: var(--white);
  padding: 0;
  opacity: 1;
  visibility: visible;
  font-size: 0.85rem;
  text-align: left;
}

.category-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-content li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.category-content .service {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.category-content .service:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.category-content h3 {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  font-weight: normal;
  color: var(--red);
}

.category-content p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.category-content .tagline-small {
  font-style: italic;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-bottom: 0;
}

.category-content a {
  color: var(--red);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.category-content a:hover {
  border-bottom-color: var(--red-light);
  opacity: 0.8;
}

/* FOOTER */
footer {
  text-align: left;
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.6;
  margin-top: 5rem;
  padding-top: 2rem;
  letter-spacing: 0.3px;
  color: var(--black) !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container {
    padding: 2rem 2rem;
  }

  header {
    margin-bottom: 6rem;
  }

  .category a {
    font-size: 1.8rem;
  }

  .categories {
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 2rem 1.5rem;
  }

  header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
  }

  .site-title,
  .tagline {
    font-size: 1rem;
  }

  .category a {
    font-size: 1.5rem;
  }

  .categories {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .category-content {
    width: 320px;
    padding: 1.5rem 0;
  }

  footer {
    font-size: 1rem;
    margin-top: 4rem;
  }
}