    header {
      background-color: #ff6f61;
      color: white;
      padding: 20px;
      text-align: center;
    }

     .topnav {
      display: flex;
      justify-content: flex-end;
      background: linear-gradient(to right, #3dcfd3, #7b2ff7, #f53b57);
      padding: 10px 20px;
      flex-wrap: wrap;
      position: relative;
      z-index: 5;
    }

    .topnav a {
      color: white;
      padding: 10px 15px;
      text-decoration: none;
      font-weight: bold;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 30px;
      margin: 5px;
      transition: background-color 0.3s ease;
    }

    .topnav a:hover {
      background-color: rgba(255, 255, 255, 0.3);
      color: white;
    }


    .login-form {
      display: none;
      max-width: 300px;
      margin: 20px auto;
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .login-form input,
    .login-form select,
    .login-form button {
      width: 100%;
      padding: 8px;
      margin: 8px 0;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    #kayit-modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
    }

    .modal-content {
      background-color: #fefefe;
      margin: 10% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 90%;
      max-width: 350px;
      border-radius: 10px;
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover {
      color: black;
    }

    .error {
      color: red;
      font-size: 0.9em;
    }

    
         {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Quicksand', sans-serif;
            background: #fff8f0;
            color: #333;
        }

        header {
            background: linear-gradient(to right, #fcb045, #fd1d1d, #833ab4);
            color: white;
            padding: 60px 20px 20px;
            text-align: center;
            position: relative;
        }

        .alt-yazi {
            margin-top: 10px;
            font-size: 1.4rem;
            font-weight: 600;
            animation: fadeInOut 4s infinite;
            color: #ffe1c6;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        }

        @keyframes fadeInOut {
            0% {
                opacity: 0;
            }

            50% {
                opacity: 1;
            }

            100% {
                opacity: 0;
            }
        }

        header img.logo {
            width: 60px;
            position: absolute;
            top: 20px;
            left: 20px;
        }

        header img.cat-logo {
            width: 60px;
            position: absolute;
            top: 20px;
            right: 20px;
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: bold;
        }

        nav {
            background: linear-gradient(to right, #3dcfd3, #7b2ff7, #f53b57);
            padding: 10px 0;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        nav ul li {
            margin: 5px 10px;
        }

        nav ul li a {
            text-decoration: none;
            color: white;
            font-weight: bold;
            background-color: rgba(255, 255, 255, 0.1);
            padding: 10px 18px;
            border-radius: 30px;
            transition: 0.3s;
        }

        nav ul li a:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

        .altbaslik {
            text-align: center;
            margin-top: 10px;
            color: #666;
            font-weight: 600;
        }

        .container {
            max-width: 1100px;
            margin: 20px auto;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
            text-align: center;
            width: 90%;
        }

        .container h2 {
            color: #ff6b6b;
            margin-bottom: 15px;
        }

        .button {
            display: inline-block;
            background: linear-gradient(to right, #36d1dc, #5b86e5);
            color: white;
            padding: 12px 24px;
            border-radius: 30px;
            text-decoration: none;
            margin: 10px;
            font-weight: bold;
            transition: 0.3s;
        }

        .button:hover {
            background: linear-gradient(to right, #ff758c, #ff7eb3);
        }

        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
        }

        .card {
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: transform 0.2s ease;
        }

        .card:hover {
            transform: translateY(-4px);
        }

        .card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .card-content {
            padding: 15px;
        }

        .card-content h3 {
            color: #ff6b6b;
            margin-bottom: 10px;
        }

        form {
            margin-top: 30px;
            text-align: left;
        }

        select,
        button {
            padding: 10px 15px;
            margin: 10px 0;
            border-radius: 10px;
            border: 1px solid #ccc;
            font-size: 16px;
            width: 100%;
        }

        button {
            background: linear-gradient(to right, #3ec6e0, #4f80e1);
            color: white;
            border: none;
            cursor: pointer;
        }

        button:hover {
            background: linear-gradient(to right, #ff758c, #ff7eb3);
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 1.8rem;
            }

            header img.logo,
            header img.cat-logo {
                width: 50px;
                top: 15px;
            }

            nav ul {
                flex-direction: column;
                align-items: center;
            }

            .card img {
                height: 180px;
            }
        }
        .form-container {
        max-width: 900px;
        margin: 30px auto;
        background: #fff7f0;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .form-row {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }
    input, select, textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        width: 100%;
    }
    label {
        font-weight: bold;
    }
    button {
        background: linear-gradient(to right, #36d1dc, #5b86e5);
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 20px;
        font-weight: bold;
        cursor: pointer;
        margin-top: 10px;
    }
    .mesaj { margin-top: 15px; font-weight: bold; }
    .basari { color: green; }
    .hata { color: red; }