/* --------------------------------------------
🌸 Lucie_Jirakova_CSS.css — Unified stylesheet for index.html & blog.html
-------------------------------------------- */

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

/* ----------------------------- NAVIGATION ----------------------------- */
nav {
  letter-spacing: 0.9px;
  font-size: 1rem;
  background: #fff;
  color: #000;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #f78fa7;
  transform: scale(1.1);
}

.nav-links a img {
  width: 30px;
  height: auto;
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-links a:hover img {
  filter: brightness(0) saturate(100%) invert(85%) sepia(20%) saturate(500%) hue-rotate(300deg) brightness(95%) contrast(90%);
  transform: scale(1.1);
}

#menu-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ----------------------------- BLOG PAGE ----------------------------- */
.blog-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

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

.featured img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.featured .text {
  margin-top: 1rem;
}

.featured h2 {
  font-size: 2rem;
  color: #630036;
}

.older-articles {
  display: none;
  flex-direction: column;
  gap: 2rem;
}

.article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.article img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.article .text h3 {
  margin: 0;
  color: #630036;
}

.article .text p {
  margin: 0.5rem 0 0;
  line-height: 1.4;
}

.article .text a {
  color: #F6B3B9;
  text-decoration: none;
  font-weight: 600;
}

.article .text a:hover {
  text-decoration: underline;
}

.fade-in {
  animation: fadeIn 1.5s ease-in forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ----------------------------- HOME PAGE ----------------------------- */
main {
  background: #fff;
  font-weight: 200;
  letter-spacing: 0.2rem;
  margin: auto;
}

#heropage {
  display: flex;
  width: 100%;
  max-width: 100vw;
  height: calc(100vh - 4rem);
  position: relative;
  overflow: hidden;
}

.right-side {
  flex: 1;
  background: url('./My portrait.jpg') right center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.left-side {
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, #fff 0%, #fff 50%, rgba(255, 225, 225, 0) 75%, rgba(255, 225, 225, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
}

.hero-text {
  position: relative;
  left: -100px;
  text-align: left;
  line-height: 1;
}

.hero-text h1 {
  color: #f78fa7;
  font-size: 9rem;
  font-weight: 300;
  margin-bottom: 10px;
  font-family: 'The Suavity', sans-serif;
}

.hero-text h2 {
  color: #000;
  font-size: 3rem;
  text-align: right;
  letter-spacing: -0.8px;
  line-height: 0.8;
  margin-top: -50px;
}

/* ----------------------------- EXPERTISE & ABOUT ----------------------------- */
#myexpertise {
  background-color: #fff;
  color: #000;
  padding: 150px 0px;
}

.expertise-content {
  background-color: #000;
  color: #fff;
  padding: 20px 250px 30px 0px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.expertise-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-container img {
  width: 40%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.expertise-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expertise-text h2,
.expertise-text h4 {
  text-align: right;
  align-self: flex-end;
}

.expertise-text h2 {
  font-family: 'The Suavity', sans-serif;
  font-size: 7rem;
  color: #f78fa7;
  text-align: left;
  font-weight: 600;
}

.expertise-text h4 {
  font-size: 1.5rem;
  letter-spacing: -1px;
  font-weight: 200;
  line-height: 1.4;
  max-width: 750px;
}

.expertise-content h4 {
  font-size: 1.3rem;
  letter-spacing: -1px;
  font-weight: 200;
  line-height: 1.4;
  max-width: 750px;
  padding-top: 70px;
}

.highlight {
  font-weight: bold;
  color: #fff;
  background-color: #f78fa7;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-circle {
  display: inline-flex;
  align-self: flex-end;
  background-color: #fff;
  border: solid #000;
  color: #000;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 50px;
  border-radius: 6px;
  padding: 5px 10px;
}

.btn-circle:hover {
  background-color: #f78fa7;
  transform: scale(1.05);
}

.btn-circle:active {
  transform: scale(0.98);
}

#expertise-details {
  background-color: #f78fa7;
  color: white;
  padding: 120px 10%;
  text-align: left;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 80px;
}

.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.expertise-text h3 {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.expertise-text p {
  letter-spacing: 0.1px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 100;
  max-width: 400px;
}

.expertise-item img {
  width: 80px;
  height: auto;
}

.about-section {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
}

.about-section h2 {
  font-size: 3rem;
  letter-spacing: -0.8px;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.about-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 40px;
}

.about-section p {
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 1.5rem;
  letter-spacing: -1px;
  font-weight: 200;
}

/* ----------------------------- FOOTER ----------------------------- */
.footer {
  background-color: #000;
  color: #f3f3f3;
  display: flex;
  justify-content: center;
  gap: 220px;
  padding: 60px 20px;
  text-align: center;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-family: 'The Suavity', sans-serif;
  font-weight: 300;
  font-size: 5rem;
}

.footer-text {
  color: #ccc;
}

/* ----------------------------- MEDIA QUERIES ----------------------------- */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  nav a {
    font-size: 1.2rem;
    padding: 8px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #F2E1E1;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
    padding: 10px;
  }

  .footer {
    gap: 60px;
    padding: 40px 10px;
  }

  .footer-title {
    font-size: 3rem;
  }

  .right-side {
    display: none;
  }

  #heropage {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .left-side {
    width: 100%;
    height: 100vh;
    background: #f78fa7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    left: 0;
    top: 0;
  }

  .hero-text {
    position: static;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-text h2 {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-text h4 {
    font-size: 1.2rem;
    padding-top: 20px;
    text-align: center;
  }

  .expertise-content,
  .expertise-text {
    text-align: center;
    align-items: center;
    padding: 20px;
  }

  .btn-circle {
    display: block;
    margin: 20px auto 0 auto;
  }

  .expertise-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .expertise-container img {
    width: 100%;
    height: auto;
  }

  .expertise-text h2 {
    text-align: center;
    font-size: 3.5rem;
  }

  .expertise-text h4,
  .expertise-content h4 {
    font-size: 1.2rem;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .expertise-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .expertise-item img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
  }

  .expertise-text h3 {
    font-size: 1.2rem;
  }

  .expertise-text p {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 769px) {
  .menu-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text h2 {
    font-size: 2.3rem;
  }

  .hero-text h4 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .expertise-bar {
    display: none;
  }
}
