/* Global styles and font-family */
body {
    font-family: 'Inter', sans-serif;
    margin: 0; /* Ensure no default body margin */
    padding: 0;
    box-sizing: border-box;
  }

  /* Animation for hero section */
  .animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
  }
  .animate-fade-in-up.delay-100 {
    animation-delay: 0.1s;
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Dropdown menu styles for slide animation */
  .dropdown-menu {
    transform: translateY(-10px); /* Initial state for slide-up */
    opacity: 0;
    visibility: hidden; /* Hide to prevent interaction when closed */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s;
  }
  .dropdown-menu.open {
    transform: translateY(0); /* Final state for slide-down */
    opacity: 1;
    visibility: visible;
  }

  /* styles/main.css - Premium Header Tasarımı */
  header {
    background: #1c1f26;
    background: linear-gradient(90deg, #1f1f2e, #2c3e50);
    color: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  header .logo {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }

  header .logo:hover {
    color: #00bcd4;
  }

  nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
  }

  nav ul li a {
    color: #eeeeee;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
  }

  nav ul li a i {
    font-size: 1.1rem;
  }

  nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00bcd4;
    transition: width 0.3s ease;
  }

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

  nav ul li a:hover {
    color: #00bcd4;
  }

  /* styles/home.css */

  /* Hero Bölümü Stilleri */
  .hero {
      background: linear-gradient(to right bottom, #3498db, #2980b9); /* Mavi gradyan */
      color: white;
      text-align: center;
      padding: 8rem 2rem; /* Daha fazla padding */
      border-radius: 0 0 20px 20px; /* Alt köşeleri yuvarla */
      box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Hafif gölge */
      margin-bottom: 3rem;
      animation: fadeInDown 1s ease-out; /* Hafif giriş animasyonu */
  }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero h1 {
    font-size: 3.8rem; /* Daha büyük başlık */
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.3rem; /* Daha büyük paragraf */
    max-width: 800px;
    margin: 0 auto 2.5rem auto; /* Butondan boşluk bırak */
    line-height: 1.6;
  }

  /* CTA Butonu için ek stil */
  .cta-button {
    background-color: #e67e22; /* Turuncu vurgu rengi */
    color: white;
    padding: 1rem 2.5rem; /* Daha fazla padding */
    border-radius: 8px;
    font-size: 1.3rem; /* Daha büyük font */
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
  }

  .cta-button:hover {
    background-color: #d35400;
    transform: translateY(-5px); /* Daha belirgin kalkma */
  }

  /* Kategoriler Bölümü Stilleri */
  .section {
    max-width: 1200px;
    margin: 4rem auto; /* Üstten ve alttan boşluk */
    padding: 0 2rem;
    text-align: center;
  }

  .section h2 {
    font-size: 2.8rem; /* Daha büyük başlık */
    color: #2C3E50;
    margin-bottom: 2.5rem;
    position: relative;
  }

  .section h2::after { /* Başlığın altına dekoratif çizgi */
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: #e67e22; /* Turuncu çizgi */
    margin: 15px auto 0;
    border-radius: 3px;
  }

  .categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Esnek kolonlar */
    gap: 1.5rem; /* Boşluk */
    margin-top: 2rem;
  }

  .category-box {
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #2C3E50;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid #e0e0e0;
  }

  .category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background-color: #f8fbfd; /* Hafif bir arkaplan değişimi */
  }

  .category-box i {
    font-size: 3.5rem; /* Daha büyük ikonlar */
    color: #3498db; /* Ana renk ikonlar için */
  }

  /* Özellikler Bölümü Stilleri */
  .features-section {
    background-color: #f8fbfd; /* Hafif arka plan rengi */
    padding: 5rem 0; /* Üstten alttan daha fazla boşluk */
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px; /* Centering for grid content */
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
  }

  .feature-item {
    background-color: #ffffff;
    padding: 2.5rem; /* Daha fazla padding */
    border-radius: 12px; /* Daha yuvarlak köşeler */
    box-shadow: 0 6px 18px rgba(0,0,0,0.1); /* Belirgin gölge */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #dcdcdc; /* Daha yumuşak kenarlık */
  }

  .feature-item:hover {
    transform: translateY(-10px); /* Daha belirgin kalkma */
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  }

  .feature-item i {
    color: #3498db; /* Ana renk ikonlar için */
    margin-bottom: 1.8rem; /* Daha fazla boşluk */
    font-size: 4rem; /* Daha büyük ikonlar */
  }

  .feature-item h3 {
    font-size: 1.6rem;
    color: #2C3E50;
    margin-bottom: 1rem;
  }

  .feature-item p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
  }

  /* Sidebar styles */
  .sidebar {
    height: 100%;
    width: 0; /* Closed by default */
    position: fixed;
    z-index: 1001; /* Above header */
    top: 0;
    left: 0;
    background-color: #1c1f26;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    color: #ffffff;
  }

  .sidebar.open {
    width: 350px; /* Open width */
  }

  .sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 1.1rem;
    color: #eeeeee;
    display: block;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .sidebar a:hover {
    color: #00bcd4;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: #ffffff;
  }

  .sidebar .closebtn:hover {
    color: #e67e22;
  }

  .sidebar-user-info {
    padding: 20px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
  }

  .sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #00bcd4;
    margin: 0 auto 15px auto;
    display: block;
  }

  .sidebar-user-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #ffffff;
  }

  .sidebar-user-info p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 3px;
  }

  #main-content {
    transition: margin-left .5s;
    padding-top: 80px; /* To account for fixed header */
  }

  /* Responsive Navbar */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      padding: 1.2rem 1rem;
      gap: 1rem;
    }

    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 1.2rem;
    }

    /* Adjust user avatar toggle for small screens */
    #user-avatar-toggle {
      padding: 0.5rem; /* Smaller padding */
    }
    #company-name-display {
      display: none; /* Hide name on small screens */
    }

    .sidebar.open {
      width: 100%; /* Full width sidebar on small screens */
    }

    .hero {
      padding: 6rem 1rem;
    }
    .hero h1 {
      font-size: 2.8rem;
    }
    .hero p {
      font-size: 1.1rem;
    }
    .cta-button {
      font-size: 1.1rem;
      padding: 0.8rem 1.8rem;
    }
    .section h2 {
      font-size: 2.2rem;
    }
    .categories {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .category-box {
      padding: 1.5rem 1rem;
      font-size: 1rem;
    }
    .category-box i {
      font-size: 2.8rem;
    }
    .features-grid {
      grid-template-columns: 1fr; /* Tek sütun */
      padding: 0 1rem;
    }
    .feature-item {
      padding: 1.8rem;
    }
    .feature-item i {
      font-size: 3.5rem;
    }
    .feature-item h3 {
      font-size: 1.4rem;
    }
    .feature-item p {
      font-size: 0.95rem;
    }
  }