/* ====================
   Kolory - Zmienne root
   ==================== */
   :root {
    --ivory: #fefefe;
    --primary: #686339; 
    --secondary: #A0A775;
    --text: #545450;
    --light-accent: #F1F0E4;
    --beige: #E5E0D5;
  }
  
  /* ================
     Reset i Bazowe
     ================ */
  * {
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: var(--ivory);
    color: var(--text);
    line-height: 1.6;
    font-size: 1.3rem; 
    margin: 0;
    max-width: 1920px; 
    width: 100%;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    letter-spacing: 1px;
  }
  
  /* =============
     Header i Logo
     ============= */
  header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--beige);
    position: sticky; 
    top: 0;
    z-index: 1000;
    background-color: var(--ivory);
  }
  
  .logo {
    display: flex;
    justify-content: flex-end;
    max-height:80px;
  }
  
  .logo img {
    max-height:80px;
    width: auto;
  }
  
  .logo span {
    color: var(--secondary);
  }
  
  /* =====
     Nawigacja
     ===== */
  nav {
    display: flex;
    justify-content: flex-end;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  nav ul li {
    margin: 0 1rem;
  }
  
  nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    transition: color 0.3s;
    padding: 0.5rem 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  
  nav ul li a:hover {
    color: var(--secondary);
  }
  
  .menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
  }
  
  /* ========
     Sekcje i Container
     ======== */
  
  section {
    scroll-margin-top: 100px;
    padding: 3rem;
    text-align: justify;
  }
  .my-content{
    text-align: justify; 
    max-width: 1200px; 
    margin: 0 auto 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary);
    text-align: center;
    font-weight: 300;
  }
  
  /* =======
     Hero Section
     ======= */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 9rem 1.5rem 5rem; */
    background-image: url("Aga3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 520px;
    /*overflow: hidden; height: 100%;
    */
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
  }
  
  .hero > * {
    position: relative;
    z-index: 2;
    color: var(--light-accent);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    padding: 0 5rem ;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2; 
  }
  
  .hero p {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  
  /* =========
     O mnie
     ========= */
  /* .about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
  } */
  
  .about-image {
    flex: 1;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 4px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: block;
  }
  .logo-row {
    display: flex; 
    justify-content: center;
    gap: 2rem; 
    margin: 2rem 0;
    height: 84px;
  }
  /* =========
     Program, FAQ, Opinie
     ========= */
  .for-whom-grid, .how-work-grid, .testimonials-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
   
  }

  .for-whom-item, .how-work-item, .faq-item, .testimonial-card {
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
  }
  
  .for-whom-item h3, .faq-item h3, .how-work-item h3, .faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .for-whom-item ul, .faq-item ul, .how-work-item ul {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1rem;
  }
  
  .for-whom-item ul li, .faq-item ul li, .how-work-item ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .for-whom-item ul li:before, .faq-item ul li:before, .how-work-item ul li:before {
    content: "\2022";
    color: var(--secondary);
    position: absolute;
    left: 0;
  }
  
  
  /* ==========
     Newsletter
     ========== */
  .newsletter-section, .faq-section, .jak-pracuje-section{
    background-color: var(--light-accent);
  }
  
  .newsletter-container {
    margin: 0 auto;
    padding: 0 5rem ;
  }
  
  .newsletter-form {
    display: flex;
    max-width: 800px;
  }
  
  .newsletter-form input, .newsletter-form button {
    font-size: 1rem;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.25rem 0 0 0.25rem;
  }
  
  .newsletter-form button {
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s;
  }
  
  .newsletter-form button:hover {
    background-color: var(--secondary);
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    cursor: pointer;
    border: none;
  }
  
  .btn:hover {
    background-color: var(--secondary);
  }

  .ebook-image img {
    max-width: 80%;
    border-radius: 0.5rem; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  /* ========
     Footer
     ======== */
  footer {
    background-color: var(--primary);
    color: var(--ivory);
    text-align: center;
    padding: 3rem 1.5rem;
  }
  
  footer p, footer a, footer .footer-column ul li {
    font-size: 1.1rem;
  }
  
  footer a {
    color: var(--ivory);
    text-decoration: none;
  }
  
  footer a:hover {
    text-decoration: underline;
  }
  
  footer .footer-column h3 {
    margin-bottom: 1.5rem;
    font-weight: bold;
  }
  
  .phone-link {
    color: var(--primary);
   
  }
  
  /* =================
     Responsive - Mobile
     ================= */
  @media screen and (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav {
      margin-top: 1rem;
      width: 100%;
      justify-content: center;
    }
  
    nav ul {
      flex-direction: column;
      align-items: flex-start;
      width: auto;
    }
  
    nav ul li {
      margin: 0.5rem 0;
    }
    .hero > * {
      padding: 0;
    }
    .hero h1 {
      font-size: 2.5rem;
    }
  
    .newsletter-form, .newsletter-container {
      flex-direction: column;
      align-items: center;
      max-width: 100%;
      padding: 0 1.5rem;
    }
  
    .newsletter-form input, .newsletter-form button {
      width: 100%;
      border-radius: 0.25rem;
      margin-bottom: 1rem;
    }
  
    .menu-toggle {
      display: block;
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      z-index: 1100;
    }
  
    nav ul {
      display: none;
      background-color: var(--ivory);
      padding: 0 6rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
  
    nav ul.active {
      display: flex;
    }
  
    .logo-row {
      display: flex; 
      flex-direction: column;
      align-items: center;
      justify-content: center; 
      gap: 2rem; 
      margin: 2rem 0;
      height:auto;
    }

  }